Archive for the ‘Computing’ Category

github

Wednesday, December 8th, 2010 Posted in *, Computing | No Comments »

getting a local copy of a project....

Overtone IDE

Friday, November 19th, 2010 Posted in *, Computing | No Comments »

ConnectTeach site

Thursday, June 18th, 2009 Posted in *, RoR | No Comments »

Rails on Jaguarpc

Saturday, February 21st, 2009 Posted in *, RoR | No Comments »

Setting up the redirects to point to the mongrel instance

Commandline bulk filename change

Thursday, February 5th, 2009 Posted in *, Computing | No Comments »

This command removes VLX09-Banners from the beginning of the name of a series of numbered files.

Extracting exif data

Thursday, November 15th, 2007 Posted in *, Computing | No Comments »

Exiftool. A set of perl scripts from http://www.sno.phy.queensu.ca/~phil/exiftool/

CSS for HTML Header bar

Thursday, October 25th, 2007 Posted in Computing | No Comments »

Ridiculous problems with header text not appearing in the header bar + different behaviour with firefox and safari. Seems to be fixable by setting line-height to 1 and margins to 0..... Note that this is only a problem when specifying large ...

Flac to mp3

Wednesday, September 19th, 2007 Posted in *, Computing | No Comments »

Use Max! http://sbooth.org/Max/

Rails documentation

Monday, March 12th, 2007 Posted in *, RoR | No Comments »

[code] gem_server [/code] Then go to localhost:8808

Test Driven Development

Thursday, January 4th, 2007 Posted in *, RoR | No Comments »

Notes for intro to TDD demonstration for Ncl Rug

Blog bundle behind a proxy

Wednesday, January 3rd, 2007 Posted in *, RoR | No Comments »

In textmate preferences create the shell variable TM_HTTP_PROXY wwwcache.ncl.ac.uk:8080 Note that there must be no http:// at the beginning

Views

Sunday, December 31st, 2006 Posted in *, RoR | No Comments »

Different places views are stored...

Photo site creation

Thursday, December 28th, 2006 Posted in *, RoR | 1 Comment »

Photo site creation...

Mail from macOSX

Wednesday, December 27th, 2006 Posted in *, RoR | No Comments »

Things I have changed so far. Works at this point, but headers on delivered messages need cleaning up. [code] sudo launchctl start org.postfix.master [/code] Think this just tells it to start on bootup. Did this to get it going : [code]sudo ...

Rails Observers

Tuesday, December 26th, 2006 Posted in *, RoR | No Comments »

Classes that monitor the lifecycle of ActiveRecord objects and run callback methods:

Useful rails plugin: file_column

Sunday, December 24th, 2006 Posted in *, Plugins, RoR | No Comments »

file_column Does file upload.

Useful Rails plugin: acts_as_authenticated

Sunday, December 24th, 2006 Posted in *, Plugins, RoR | No Comments »

acts_as_authenticated

Local gem documentation

Friday, December 22nd, 2006 Posted in *, RoR | No Comments »

run gem_server then point your web browser at localhost:8808

Gems and plugins

Friday, December 22nd, 2006 Posted in *, Gems, Plugins | No Comments »

Currently using several different extensions in my rails projects. These seem to work in 3 different ways:

Gem install as plugin

Friday, December 22nd, 2006 Posted in *, Gems, Plugins | No Comments »

Haven't tried this yet.... From Ruby on rails e-commerce pg 199: Change current directory to the vendor/plugin directory of your project and run gem unpack acts_as_taggable. Then create a file containing the line require 'taggable' called init.rb in the acts_as_taggable folder. I ...

Rails Tests

Wednesday, December 20th, 2006 Posted in *, RoR | No Comments »

There are 3 types, unit, functional and integration....

Rails assigns helper

Wednesday, December 20th, 2006 Posted in *, RoR | No Comments »

Very hard to find documentation on this. RoR E-Commerce pg 51 says: Assigns is a test helper method that can be used to access all the instance variables set in the last requested action. Makes a lot more sense if I ...

Rubygems when you are behind a proxy

Tuesday, December 12th, 2006 Posted in *, Gems | No Comments »

Set HTTP_PROXY [code] HTTP_PROXY=wwwcache.ncl.ac.uk:8080 export HTTP_PROXY [/code]

Rubygems when you aren’t root

Tuesday, December 12th, 2006 Posted in *, Gems | No Comments »

This gives the procedure

Database Access optimization with ActiveRecord find

Sunday, December 10th, 2006 Posted in *, Computing, RoR | No Comments »

add the include parameter....

File Upload in Rails

Sunday, December 10th, 2006 Posted in *, Computing, RoR | No Comments »

The file_column plugin is an easy way to add file uploading.

L-Systems

Monday, October 2nd, 2006 Posted in *, Computing | No Comments »

An l system is defined by a triplet G = (v,w,P) where: