You can unpack a .tar.gz file into the current directory like this: tar -xzvf archive.tar.gz The options used are
I pushed a new version of the Cucumber Factory gem. This new release lets you refer to a previously created...
Choosing the right product to develop is crucial. Great execution is also very important. But if you develop a product...
Attached you can find an example ~/.ssh/config file which makes working with SSH more pleasant. It contains several tweaks:
you should always has_many :join_models, :dependent => :destroy
When you have a hook in your Capistrano file that dumps your remote database, you might not want it to...
When you edit text in Balsamiq Mockups, you can define inline styles like this: | Bold | Some *bold* text | | Italics | Some...
Ubuntu natty introduced new "invisible" scrollbars for GTK programs such as gEdit or Nautilus. If you do not like them...
When using gnome-open (i.e. double-clicking a file, telling to browser to open a download, etc.) on Ubuntu you...
My front audio output would not work even though the front mic input did fine. The Pulse Audio mixer (= Ubuntu...
This will install a printer called "PDF": sudo apt-get install cups-pdf Files will be put into ~/PDF/ without...
(Rails has a method ActiveRecord::Relation#merge that can merge ActiveRecord scopes. However, its behavior has never been clear, and...
When using the resource_controller gem you often hook onto events like this: update.before do do_something end
To check your apache2 config files for syntax errors run sudo apache2ctl configtest or shorter sudo apache2ctl -t
In order to request a SSL certificate from any dealer, you usually need a CSR certificate. As both the CSR...
This snippet makes links that refer to an anchor (like "...
...") scroll softly to it.\ In this example we only do...
If you would like to enrich your website with semantic markup like contact data, places or events you should have...
Note: In Rails 3+ you can use Array.wrap instead of the solution here. In the past you could use Array...
XPath matchers can be combined with CSS-selector matchers. This is really useful if not, for example, the content of...
If you want to enforce soft tabs (spaces instead of tabstops) in Vim put this into your ~/.vimrc (Linux) or...
Very nice font for programming.
Copy the attached Ruby code to config/initializers, or paste it into your IRB console. You can now dump any two...
Update: Staticmatic will not be further developed. They suggest to switch to middleman. If you need to make a static...
Put the attached file into config/initializers/ to be able to say created_within on any ActiveRecord or its scope chain...