demosthenes.info

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...

makandra dev
developer.mozilla.org

Basic box shadow support is available in all browsers today, but you need to check to which extend they are...

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:

steamdev.com

zClip is a lightweight jQuery "copy to clipboard" plugin built using the popular Zero Clipboard library. This plugin uses an...

makandra dev
github.com

A small library to provide the Rails I18n translations in Javascript clients.

An association defined with has_many :through will return the same record multiple times if multiple join models for the...

bbs.archlinux.org

xterm by default uses black text on white background. To change that to something like "light gray on black", do...

stackoverflow.com

This is for you if Passenger gives you the following useless error message. Passenger encountered the following error:\ The application...

You can change which branches will be pushed when saying git push. Our recommendation is to set it to current...

The default behavior of Calc is that when you paste cells from the clipboard, it overwrites whatever cells occupy the...

wholemeal.co.nz

If you cannot install the gem 'RedCloth' via bundle install you might want to try the following. Specifying extra build...

Geordi, our collection of command line tools, has been extended by another command deploy-to-production. This script encapsulates the...

You can define what will be printed by checking View -> Preview Page Breaks and then moving around the blue borders...

This is a way to run multiple redis server on one ubuntu server. These steps you have to do only...

After installing Bundler 1.1 you will get the following warning when running tests: WARNING: Cucumber-rails required outside of env.rb...

weblog.jamisbuck.org

How to get a backtrace from a running Ruby process: Ruby 2.6 # First, find out the PID of your Ruby...

todotxt.com

Solution to share a todo.txt file over Dropbox and make it editable on Android und iOS devices. Also comes with...