How to make Cucumber run faster

Speed up the startup time of cucumber for TDD/BDD tests Getting started with Behaviour Driven Development with Cucumber and noticed that it takes more time to startup than actually run the scenarios. Compare this: 2 scenarios (2 passed) 4 steps (4 passed) 0m2.252s real 0m16.013s user 0m14.850s sys 0m0.814s Cucumber reports 0m2.252s but time says…… Continue reading How to make Cucumber run faster

Syntax hightlight theme for Ruby/Rails/Haml in Aptana

I have a thing for code and colours. Let it be lolcode, lpsolve syntax for whatever the editor i’m using at the time, i have to tweak it. This time i’m learning Ruby/Rails/Haml and whatnot. My favorite editor for WebDev has been Aptana with the Clouds theme, (a bit edited already) but it didn’t support…… Continue reading Syntax hightlight theme for Ruby/Rails/Haml in Aptana

Lpsolve Syntax Highlight for Geany IDE

Add Lp Solve extension First, we need to add the extension file, so geany knows what file it can associate to lp solve files. Either go to:  Tools -> Configuration Files -> filetype_extensions.conf or:  edit directly the file in Linux: ~/.config/geany/filetype_extensions.conf Windows 7 :  c:\Users\username\AppData\Roaming\geany\filetype_extensions.conf and add a new line with Lpsolve=*.lp; Download Lp Solve…… Continue reading Lpsolve Syntax Highlight for Geany IDE

Make Emacs pretty with beautiful fonts

Over the years i’ve been trying to make emacs more readable, harmonizing it with the desktop themes. i dislike long lines and scrolling up and down so a small readable font is very important. So here’s the evolution emacs had today: left-top: default emacs 23 right-top : old left-bottom : default with –font “Bitstream Vera…… Continue reading Make Emacs pretty with beautiful fonts

Nano – Shortcuts, syntax highlight and nanorc config file – pt1

I have been using nano as my favourite console editor (i use emacs/kate for the rest) for some time now. It’s simplicity, the speed and usefulness of it made it what it is. But recently, i’ve been trying to find out more features that i might been missing. One of those were the shortcuts. The…… Continue reading Nano – Shortcuts, syntax highlight and nanorc config file – pt1

Nano – Shortcuts, syntax highlight and .nanorc config file – pt2

And now, let’s look at the .nanorc file. Here, i’ll go through the .nanorc config file, try to explain parts of it and set the syntax highlight on. See the first part for shortcuts . You can use the sample nanorc from /usr/share/nano/ , a copy from /etc/nanorc, or even from the sample nanorc in…… Continue reading Nano – Shortcuts, syntax highlight and .nanorc config file – pt2