If you need the initial user which you used to login to your Linux system or the time when you...

To change a commit message of the most recent (unpushed) commit, you can simply use git commit --amend -m 'new...

If you want to inspect the compiled code of your erb (or haml) templates, you can run the following code...

This may be hard to find in the docs, but if you want CoffeeScript classes that instantiate their properties from...

api.jquery.com

The $.cssHooks object provides a way to define functions for getting and setting particular CSS values. It can also be...

Put the attached file into config/initializers/ to be able to say created_within on any ActiveRecord or its scope chain...

Sometimes you want to see what data you get through a TCP or UDP connection. For example, you want to...

You might get the above error message when cloning certain git repositories (for example the rails repository). It indicates that...

Note: The behaviour of Spreewald's within step is as described below for version < 1.9.0; For Spreewald >= 1.9.0 it is as described in Solution 1. When doing integration testing with...

...retries in the most deeply nested patiently-block, but it may lead to unexpected behaviour, especially if the outermost patiently is "hidden". For example consider the following step, which wants...

chartjs.org

Chart.js seems to be a good alternative to Google's Chart API and other commercial chart drawing libraries.

medium.com

...Why, oh why, is this built with Rails when Node.js would be so much better?” or “how could the previous developer not have forseen that the database would need referential...

makandra dev
piwik.org

...Analytics. Since it is open-source, it can be self-hosted and thus offers better data protection and privacy. Notes Actuality Piwik does not show live reports, but updates its...

Put the following into config.ru in your Rails root folder: # Require your environment file to bootstrap Rails require ::File.dirname(__FILE...

You can change the color for text selection via CSS, using the ::selection and ::-moz-selection pseudo-elements.

makandra dev

When you're getting this error, one possibility is that you've created a select field for an association instead...

In Rails, you can very easily send emails with HTML and plaintext bodies. However, if you're trying to debug...

Open up your "Base File.sublime-settings" (Preferences Menu → File Settings – User) in Sublime Text 2. Add entries for font_face...

wiki.qemu.org

When you want to quickly boot from a drive or image in a virtual machine you do not need to...

web.archive.org

The speed searching for makandra notes in Firefox can be improved by following these steps: Download the Firefox-Add-on...

Haml 3.1.2 displays single quotes in FormBuilder#text_ field html escaped. You may see something like that:

stackoverflow.com

...each key to whatever you like (by returning old_value you'd get the behavior of Rails' reverse_merge!, by returning new_value you'd get the behavior of standard...

Note that there are better solutions performance-wise...

There will probably be better solutions as we become more experienced with using Bundler, and more command line tools become Bundler-aware. b will use bundle exec if there is...

RVM needs to be updated regularly to know of Ruby versions released since installation (or last update).

This will tunnel HTTP requests to one given domain and port through an intermediary SSH server: ssh -L 8080:targethost...