The most obvious way to use spring is to call it explicitly: spring rails console spring rake db:migrate...

Styling button tags across all major browsers is not easy. Many times you should be fine by using the native...

web.archive.org

wrap the text with a span use line-height for the spacing between lines ("margin")

makandra dev

This describes how to migrate an existing cucumber test suite to Spreewald. Add the gem Include spreewald into your cucumber...

If you use Angular 1.4+ together with Angular Animate, all ng-show, ng-hide, ng-class etc. are animated on...

...two elements with display: inline-block are sitting next to each other, whitespace between becomes a space character. Solutions, in decreasing order of awesomeness: Don't have whitespace between two...

...you will never be able to negate the space exactly, leading to weird hairlines betwen elements (especially on high-DPI displays, where a pixel is not a pixel).

This trick might be useful to implement more complicated directives in AngularJS. I needed it to do drag'n'drop...

You can use record.send(:update_without_callbacks) or record.send(:create_without_callbacks) This can be used as a...

If you're using the Capybara webdriver, steps sometimes fail because the browser hasn't finished loading the next page...

...verschönert jedes noch so kahle \n Speisezimmer".gsub(/\W+/, " ") => "Eine l ngliche Kristall Lampe ber dem Esstisch versch nert jedes noch so kahle Speisezimmer" You need to use "[^[:word:]]", which...

When testing with Cucumber / Caypbara, iframes are ignored, so you can't interact with them. To interact with your iframe...

...full trace an no longer be able to filter out any lines from gems. Better errors is not affected...

Rarely, you might want to rebuild all gems with native extensions, because they might be compiled against outdated system libraries...

Calling Time#utc, Time#gmt or Time#localtime will not create a converted copy. Instead these methods modify the receiving...

Restangular can make use of $http's built-in response cache. # Cache response for single request Restangular.one('accounts', 123).withHttpConfig...

For some reason you want to define a find condition in array form. And in that condition both column name...

Defining a custom to_json method for your classes can be useful. Do it properly or you will "randomly" get...

Thunderbird 5 brings a custom chrome on Windows Vista/7 that uses translucent Aero decorations on toolbars and menubars. Here is...

This is called "cherry-picking". git cherry-pick commit-sha1 Note that since branches are nothing but commit pointers, cherry...

Trying to open a vnc window with geordi geordi vnc ended up with this error: > VNC viewer could not be...

I prefer using Opera's "User mode" to toggle an outlining of HTML elements quickly. This helps greatly when you...

If you type a command in your bash that doesn't exist you get this: bash: foo: command not found...

AWstats is build to regularly run on webservers. If you want it to build a report once, here is the...

Make your custom web font available Add to ckeditor/config.js CKEDITOR.editorConfig = function(config) { config.contentsCss = [ '/assets/myCkeditorStyles.css', // any other file to encapsulate custom...