Understanding Plain Text Story File Hierarchy

Posted by Andrew Premdas Fri, 20 Jun 2008 15:51:51 GMT

Plain text stories have quite alot of infrastructure that allows you to run the story file. I'm being pretty dumb in understanding this, so I'm going to analyse whats going on in detail so I have a better idea of what is being done and why.

I learnt some important lessons from doing this.

  1. If you don't understand a line of code break it down until you do. This will improve your ruby.

  2. irb is your friend, use it and script/console to explore code you don't understand

  3. Even though it takes time, exploring code is far more productive than skipping over it.

Run

Posted by Andrew Premdas Thu, 19 Jun 2008 18:00:01 GMT

Did 21 minutes at an average heart rate of 158 on Tuesday. This is a personal milestone breaking 20 mins - its a long time since I've been able to do that

Installing an Image Processor for attachment_fu

Posted by Andrew Premdas Wed, 04 Jun 2008 20:55:00 GMT

Instructions for both Ubuntu and OSX..

Textmate File Type Detection (RSpec & Rails)

Posted by Andrew Premdas Sun, 01 Jun 2008 04:36:55 GMT

See this Textmate Blog post

Texmate RSpec Bundle

Posted by Andrew Premdas Sun, 01 Jun 2008 04:29:06 GMT

Do following

cd ~/Library/Application\ Support/TextMate/Bundles/
git clone git://github.com/dchelimsky/rspec-tmbundle.git RSpec.tmbundle

Then reload bundles in textmate if its open.

Adding RSpec to Rails Project using Git

Posted by Andrew Premdas Fri, 30 May 2008 15:09:47 GMT

Quick reminder how to do this...

Growl, Autotest and Rspec

Posted by Andrew Premdas Fri, 30 May 2008 14:01:00 GMT

Idea behind this is a working environment that spends more time in the editor, rather than switching to the terminal ...

Git and Sub Modules

Posted by Andrew Premdas Tue, 27 May 2008 17:59:52 GMT

Looking to manage my projects plugins with GIT, however really struggled (again with something so simple). What I couldn't understand was why the contents of the sub-modules wasn't there when I cloned my central repo. Turns out that you have to run a couple of commands when you do this

git submodule init
git submodule update

Now to find out what happens when you add another module, do you have to redo the init or just call the update with your existing repo

Capistrano and database.yml

Posted by Andrew Premdas Tue, 27 May 2008 13:23:00 GMT

Finally have a good way of working with Capistrano and database.yml. Here's what I did ...

Textmate Blogging Bundle Key Binding

Posted by Andrew Premdas Tue, 27 May 2008 12:58:23 GMT

I wanted to make blogging with markdown and textmate as easy as possible. I struggled to do this, though its very easy ...

Older posts: 1 ... 6 7 8 9 10 11