When building a form with a file select field, you may want to offer your users a live preview before...
You will need to look here and find your own device. Look for the "bootable CD" download, which will give...
Cucumber's docstrings let you add long strings to a step like this: # foo.feature Given this text: """ First line
Instead of using this hack you might want to use MariaDB 10.x which can work with both old and...
If you want to access top-level constants inside a BasicObject class, you need to prefix them with ::.
You can use JavaScript to get or set cookie values on the client. Using the vanilla JavaScript API
jQuery's deferred objects behave somewhat like standard promises, but not really. One of many subtle differences is that there...
This card existed before, but was outdated due to browser implementation changes. The information below is validated for the current...
While IE9 does support HTML5 tags, it fails to work until you force HTML5 mode. Here are two ways to...
The NestedHash class allows you to read and write hashes of any depth. Examples: hash = {} NestedHash.write hash, 'a', 'b', 'c...
You can find out about disk space usage of all tables within your database by running this: SELECT table_name...
The attached Coffeescript helper will let you create mouse events: $element = $('div') Trigger.mouseover($element) Trigger.mouseenter($element) Trigger.mousedown($element) Trigger.mouseup($element...
Enter any command into explainshell and it will explain it to you: split into separate commands (if present), with each...
Sometimes you might want to check a short link for it's destination before clicking on it. Additional you get...
To upload a file via AJAX (e.g. from an ) you need to wrap your params in a FormData object.
Angular's location provider stalls links to the current URL, i.e. window.location. As soon as the $location service is activated...
If you want to perform a failover on another haproxy backend server this is the way you should do it...
If you try to restart you may encouter the problem that your networking connection gets shutdown but not start again...
When full text search is overkill and like queries do not deliver this might be an approach you could try...
Brendan Gregg is the Linux performance god. Use the information in this link to find out what ways there are...
RSpec provides a nice diff when certain matchers fail. Here is an example where this diff is helpful while comparing...
Stackprof is a sampling call-stack profile for Ruby 2.1+. Instead of tracking all method calls, it will simply collect...
Don't write resources :people, :concerns => :trashable Write resources :people do concerns :trashable end Why Writing a controller...
Chrome has discontinued support for 32-Bit Linux builds and this might break your apt-get update.