The DOM window object provides access to the browser's history through the history object. It exposes useful methods and...
The closest is probably Nimbus Sans L, which is released under the GPL, AFPL, LPPL licenses. However, I couldn't...
Note that you are not allowed to embed any font in a website. You need to check the license first...
In order to navigate through the browser history. you can manipulate the window.history object via javascript like follows:
The result is a .ico file with multiple versions of your logo at different resolutions. Now, depending on the context...
This is for you when you want to mount a dmcrypt encrypted partition manually, e.g. from a live CD.
To force a check on your next reboot (here for your root partition), simply: touch /forcefsck To manually do this...
Spreewald gives you steps like these: When I enter "text" into the browser dialog Also see Accept or deny JavaScript...
Basic box shadow support is available in all browsers today, but you need to check to which extend they are...
I got these warnings while deploying a Rails 3.2 app with asset pipeline enabled: *** [err :: host.tld] find: `/opt/www/hollyapp.com/releases/20120503115342/public/images': No such...
You can use this code: function scrollToLine($textarea, lineNumber) { var lineHeight = parseInt($textarea.css('line-height')); $textarea.scrollTop(lineNumber * lineHeight); }
All our projects have enum-like requirements like this: An attribute value must be included in a given set of...
Controller responses often include Javascript code that contains values from Ruby variables. E.g. you want to call a Javascript function...
By default, Google Analytics tracks the current URL for every request. Sometimes you will want to track another URL instead...
In your ~/.gitconfig: [core] editor=nano
So you probably see the following error trace within your Passenger log file if you got here:
zClip is a lightweight jQuery "copy to clipboard" plugin built using the popular Zero Clipboard library. This plugin uses an...
A small library to provide the Rails I18n translations in Javascript clients.
CodeMirror is a JavaScript component that provides a code editor in the browser. When a mode is available for the...
An association defined with has_many :through will return the same record multiple times if multiple join models for the...
xterm by default uses black text on white background. To change that to something like "light gray on black", do...
This is for you if Passenger gives you the following useless error message. Passenger encountered the following error:\ The application...
Make sure you call the methods in the following order and not vice versa: has_attached_file :image validates_attachment...
You can change which branches will be pushed when saying git push. Our recommendation is to set it to current...