Vasudeva Server header image 3

Entries Tagged as 'Documentation'

Configuring private keys for ssh access

January 22nd, 2010 · No Comments · Servers

(On Mac OS X) – This assumes you have already downloaded your priviate keys to your desktop There are 2 keys, one private and one public (this one has a .pub extension). Using Terminal, move your downloaded keys to your .ssh folder: for each file, type mv Desktop/{name of key file} ~/.ssh/ Give your keys [...]

[Read more →]

Tags:

Using git to develop sites (developers only)

January 14th, 2010 · No Comments · Repository

We have recently moved our Drupal and WordPress repositories to git. We will also be putting our databases and static site filesystems there too, so we can generate test sites locally with a simple script. Here’s how to get started with developing sites: Installing and configuring Git Mac OS X: Go to download page and [...]

[Read more →]

Tags:

Use cases for the JW Media Player

June 17th, 2008 · No Comments · Documentation

Playing an album list <embed src=”http://www.srichinmoy.tv/c_/player/mediaplayer.swf” width=”300″ height=”380″ allowscriptaccess=”always” allowfullscreen=”true” flashvars=”height=380&width=300&displayheight=0&showstop=true &showicons=false&repeat=list&backcolor=0xCCCCFF &frontcolor=0×000066&lightcolor=0x3333FF&screencolor=0x6666FF&thumbsinplaylist=false &file=http://www.radiosrichinmoy.org/c_/audio/radio/102/playlist-102.xml” > gives you As you can see, the playlist is stored in the same filesystem location as the music files (see sample playlist here). The flashvars set all the tweakable aspects – color, positioning ect. You can view all available flashvars [...]

[Read more →]

Tags:

Embedding Quicktime videos with preview picture

April 21st, 2008 · No Comments · Documentation

To embed a quicktime video, use the following code: <object width="400" height="274"> <embed src="video.mp4" type="application/quicktime" wmode="transparent" width="400" height="274" autoplay="true"> </embed></object> The autoplay argument determines whether the video plays or not immediately the page is loaded. There are also other arguments you can add just like autoplay: loop="true"/"false"— the movie plays once or continuously. controller="true"/"false" — [...]

[Read more →]

Tags:

Migrating Blogger blogs to WordPress, and setting up 301 redirects to ensure no links are broken

September 7th, 2007 · No Comments · Documentation, blogging

Ok, basically if your blog is a new Blogger blog (after it was acquited by Google and Google usernames introduced) first step is to be sure have WordPress 2.2. If you have an old version of WP, you can always upgrade: http://codex.wordpress.org/Upgrading_WordPress_Extended WordPress 2.1 allows you to upgrade from Old Blogger blogs, but not New [...]

[Read more →]

Tags:

Archetypes and ATContentTypes, part 1: The Archetype Schema

January 2nd, 2007 · No Comments · Documentation, plone, programming

All the default types in Plone – file, image, folder – are part of the ATContentTypes product, and are examples of archetypes. Archetypes were integrated into Plone 2.1, and allow you to create content types easily by providing a range of readymade tools so you can generate edit forms without using any HTML. An example [...]

[Read more →]

Tags:

Good Documentation – some musings

October 19th, 2006 · No Comments · Documentation

A ‘speed is better than perfection’ philosophy might be applied to many areas of life, but documentation is not one of them. Unfortunately the standard of documentation needed so that 90% of people can follow it is, well, 90% perfect. It actually doesnt take all that much longer to write good documentation once you sit [...]

[Read more →]

Tags:

Error reporting and screenshots

October 11th, 2006 · No Comments · Documentation

Here is a very good article on bug reporting, discovered by Atmasamarpan: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html It certainly helped me sympathise with poor developers and curb my linguistic excesses when reporting problems. Whenever possible, screenshots really help to pinpoint the problem by making the developer or Plone admin see what you’re seeing. Below are some instructions for screenshots [...]

[Read more →]

Tags:

ReStructured Text Guide

October 6th, 2006 · No Comments · Documentation, restructuredtext

Another Guide to reStructured text which consists of the 7 functions I find most useful (plus three others which Shane found useful but was too lazy to write his own article). Not comprehensive but good to make a start. Also, for a listing of links to other articles and guides on restructured text, see our [...]

[Read more →]

Tags:

Creating proper internal links

September 22nd, 2006 · No Comments · Documentation, help, plone

Internal Links Plone has been standardising internal links without a trailing slash "/" at the end. It is good to follow that standard, for both SEO reasons and data collection. Links to pages and images should be like this: /plone_basics/adding_internal_links, and NOT like this: /plone_basics/adding_internal_links/ (in the first case, the terminating "/" is not there) [...]

[Read more →]

Tags: