This is a very general introduction to MV* Javascript frameworks. This card won't tell you anything new if you...
In order to save the original value of a constant, set the new value and restore the old value after...
Imagine you have a piece of code that tries to send a request to a remote server. Now the server...
Sometimes you need to restart the Gnome panel, e.g. when you installed a new Gnome panel widget but the widget...
If Sunspot does not work and fails with a backtrace similar to this: /project/shared/bundle/ruby/1.8/gems/rsolr-1.0.6/lib/rsolr/client.rb:227:in `adapt_response' /project/shared/bundle/ruby/1.8/gems/rsolr-1.0.6/lib/rsolr/client.rb:164...
Most of the JavaScript snippets have code that manipulates the DOM. For that reason dom manipulating javascript code should have...
If you want to move a complete commit from one repository to another (and you don't want to add...
This describes all the steps you'll need to get Solr up and running for your project using the Sunspot...
A short tutorial for XPath. It's the first XPath introduction that ever stuck with me. Also see XPath in...
Removing features and merging those changes back can be painful. Here is how it worked for me.\
If you're using Paperclip to store and convert images attached to your models, processing a lot of images will...
One of the most common production errors are ActionController::MethodNotAllowed errors. They usually happen when someone reloads a form by...
For university I have to stay up-to-date with lecture documents. Since my university doesn't offer RSS feeds...
If you turn on stylesheet caching, it might happen that stylesheets from different locations with different relative pathes will be...
How to ignore new files Globally Add the path(s) to your file(s) which you would like to ignore...
You have to specify the environment with -e env_name or RAILS_ENV=env_name if you want to run...
If you would like to use language specific layout (e.g. background-images) in your applications stylesheets you can achieve this...
tig path_to_file_or_files_or_path_with_wildcard
require 'open-uri' File.open('/target/path/to/downloaded.file', "wb") do |file| file.write open('http://example.com/your.file').read end Basic Authentication
If you embedded web fonts in the past years (e.g. by copying CSS from a Font Squirrel @font-face kit...
Look here for informations how you can show the MySQL default character set. At first you need the Amazon RDS...
Web fonts are awesome. After being restricted to Arial for two decades there is finally a cross-browser way to...
You must reconfigure the guest so it will get its own IP address: Shutdown the guest In the guest's...
When you install Type 1 fonts (like makandra's corporate typeface), they won't show up in OpenOffice. OpenOffice requires...