Difference between revisions of "Engine Room"

From AardRock Wiki
Jump to navigation Jump to search
(Added: To publish a presentation online.)
(Added SVN commands)
Line 47: Line 47:
# % <code>mv *.jpg hi</code>
# % <code>mv *.jpg hi</code>
# % <code>cd hi</code>
# % <code>cd hi</code>
# % <code>convert -verbose -crop '1008x768+0+0!' '<i>presentation</i>.*.jpg[504x384]' ../<i>presentation</i>.%03d.jpg
# % <code>convert -verbose -crop '1008x768+0+0!' '<i>presentation</i>.*.jpg[504x384]' ../<i>presentation</i>.%03d.jpg</code>
 
=SVN=
*Alle svn data staat op /var/svn/repositories
=====To list the AardRock repository:=====
*svn ls svn+ssh://martien@aardrock.com/var/svn/repositories/AardRock/
of, wanneer ingelogd op svn server:
*svn list file:///var/svn/repositories/AardRock/trunk/MediaWikiSkin/
=====To check out the AardRock repository:=====
*/usr/local/bin/svn co svn+ssh://martien@aardrock.com/var/svn/repositories/AardRock/trunk/MediaWikiSkin/
=====To check in changed files into the repository:=====
*svn commit
NOTE: you must be in the directory containing the working files, or specify the path.
=====To see differences between revision X and your current working version of main.css:=====
*svn diff -rX  main.css
*svn diff -r2:7 main.css
=====To get an overview of all revisions of upload do:=====
*svn log upload
=====To install:=====
*ARUN=martien ./upload
=====To create a working copy of the complete repository:=====
*svn co file:///var/svn/repositories/AardRock
=====To create a new project in the AardRock repository:=====
Either:
*cd AardRock/trunk/
*mkdir Apache
*svn add Apache
*svn commit
Or import an existing directory into the desired location in the AardRock trunk:
*mkdir Apache
*svn import Apache file:///var/svn/repositories/AardRock/trunk/Apache

Revision as of 09:47, 16 February 2007

Welcome to AardRock's Engine Room—The place where all instruments, tools and infrastructure come to live and evolve.

Mailing Lists

NOTA BENE:

  • Adding and removing mailing lists is done using Plesk.
  • Managing mailing lists (posts, subscription, digests) is done using MailMan directly.

To add a new mailing list:

  1. Login to Plesk as administrator.
  2. Select Domains in the General section of the left navigation bar.
  3. Select the domain to which you want to add a mailing list, e.g. aardrock.
  4. Select Mail under Services.
  5. Select the Mailing lists tab.
  6. Select Add new mailing list.
  7. Enter the mailing list name, password and administrators email and press OK.

To manage mailing lists:

URLs and subdomains

To add a redirection

  1. Login on server
  2. Switch directory to the subdomain's directory.
  3. Create the directory.
  4. Create index.php containing the Location: header instruction.

For example, to have http://cheetah.aardrock.com/faq/ redirect to http://wiki.aardrock.com/Cheetah_FAQ:

# cd /var/www/vhosts/aardrock.com/subdomains/cheetah/httpdocs
# mkdir faq
# echo '<? header("Location: http://wiki.aardrock.com/Cheetah_FAQ"); ?>' > index.php

Publishing presentations online

To publish a presentation online:

  1. In Keynote, choose File > Export.
  2. Select the HTML tab.
  3. Select Format > JPEG (variable quality).
  4. Set Quality > 50%
  5. Click Next; the Save As dialog appears.
  6. Enter a descriptive name for your presentation, as this is used in all subseqent communication.
  7. Click Export. Keynote will start exporting the HTML
    Note that a HTML file with name presentation.html is generated along with a folder called presentation_files containing slide images.

Next, use ImageMagick to convert the high-resolution images into more convenient low resulotion images.

  1. % cd presentation_files
  2. % mkdir hi
  3. % mv *.jpg hi
  4. % cd hi
  5. % convert -verbose -crop '1008x768+0+0!' 'presentation.*.jpg[504x384]' ../presentation.%03d.jpg

SVN

  • Alle svn data staat op /var/svn/repositories
To list the AardRock repository:

of, wanneer ingelogd op svn server:

  • svn list file:///var/svn/repositories/AardRock/trunk/MediaWikiSkin/
To check out the AardRock repository:
To check in changed files into the repository:
  • svn commit

NOTE: you must be in the directory containing the working files, or specify the path.

To see differences between revision X and your current working version of main.css:
  • svn diff -rX main.css
  • svn diff -r2:7 main.css
To get an overview of all revisions of upload do:
  • svn log upload
To install:
  • ARUN=martien ./upload
To create a working copy of the complete repository:
  • svn co file:///var/svn/repositories/AardRock
To create a new project in the AardRock repository:

Either:

  • cd AardRock/trunk/
  • mkdir Apache
  • svn add Apache
  • svn commit

Or import an existing directory into the desired location in the AardRock trunk:

  • mkdir Apache
  • svn import Apache file:///var/svn/repositories/AardRock/trunk/Apache