The following Sass will do it: hr color: #ddd background-color: #ddd border: none height: 1px
An alternative to this technique is using VCR. VCR allows you to record and replay real HTTP responses, saving you...
Open the configuration file: gksudo gedit /usr/share/vte/termcap/xterm Find a line like this: :co#80:it#8:li#24:\
In a nutshell: to avoid your shell character set from messing with imports, use -r to export and SOURCE when...
ALTER DATABASE database_name CHARACTER SET "utf8"; ALTER DATABASE database_name COLLATE "utf8_unicode_ci"; After that, for...
Ancestry is a gem/plugin that allows the records of a Ruby on Rails ActiveRecord model to be organised as a...
Compress and obfuscate Javascript code online completely free using this compressor.
This may be awkward to set up, but will work once you're done. Fun facts:
Unless all MySQL server defaults are set to UTF-8, mysqldump encodes UTF-8 characters incorrectly and only outputs correct...
Create a branch: svn copy https://dev.makandra.de/svn/filepanic/trunk https://dev.makandra.de/svn/filepanic/branches/$ticketnumber_shortdesc Don't just copy the folder into your working...
Until May 2011 our gems have been created with Jeweler, which is a helper library to package code into a...
To test concurrent code, you will need to run multiple threads. Unfortunately, when you use blocking system calls (e.g. locks...
Install gem and plugin sudo gem install parallel script/plugin install git://github.com/grosser/parallel_tests.git Adapt config/database.yml test: database: xxx_test<%= ENV...
sudo gem install gettext --no-ri --no-rdoc sudo gem install fast_gettext --no-ri --no-rdoc script/plugin install git://...
See the lemonade descriptions. Unfortunately, the gem has a few problems: it does not work with Sass2...
When you need to patch an existing gem, one way is to "vendor" the gem by copying it into the...
This note shows how to merge an ugly feature branch with multiple dirty WIP commits back into the master as...
Append this to your ~/.bashrc: export PS1='\[\033[01;32m\]\h\[\033[01;34m\] \w\[\033[31m\]$(__git_ps1 "(%s...
Basic configuration Please keep this config simple. It should be a starting point for new developers learning Git. [user]
This is for people recovering from Subversion. Get an existing from the server for the first time git clone git@example.com...
You are getting when connecting via SSH or deploying with Capistrano (which uses SSH): Too many authentication failures for username...
Gem to provide nice looking urls ("/blog/the-greatest-bug-i-never-fixed"). If you don't need anything too special (like i18n for the urls...
With Flash Player 10, the FileReference.browse and FileReference.download operations may be initiated only through ActionScript that originates from user interaction...
JSViz makes it easy to create dynamic 2D views of information. Practical applications include network graphs, navigation, and other dynamic...