When you want to test how an web-application reacts in a specific resolution, you can set up a specific...

developer.mozilla.org

The DOM window object provides access to the browser's history through the history object. It exposes useful methods and...

makandra dev

The closest is probably Nimbus Sans L, which is released under the GPL, AFPL, LPPL licenses. However, I couldn't...

In order to navigate through the browser history. you can manipulate the window.history object via javascript like follows:

demosthenes.info

The result is a .ico file with multiple versions of your logo at different resolutions. Now, depending on the context...

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

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

So you probably see the following error trace within your Passenger log file if you got here:

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

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

An = is represented by =3D in the log file. I got confused by the leading 3D which is not part...

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

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

When talking to your MySQL server via a mysql shell, you can terminate queries by ; or \G -- the latter gives...

The following two hints are taken from Github's Ruby style guide: If your regular expression mentions a lot of...

teddevito.com

This is a demo of the "Tabby" Javascript jQuery plugin to use tabs in regular textareas to make them suitable...

stackoverflow.com

Usually you don't need to, but when you want to see which queries your MySQL server currently needs to...