We're using Middleman for some static sites like our blog. Despite being very similar to Rails, Middleman does not...

Is your application doing something expensive every few seconds? Maybe an animated slider that rotates images? Maybe you are updating...

When building a web application, one is tempted to claim it "done" too early. Make sure you check this list...

The default Google Analytics might not work as expected with your Unpoly app. This is because your app only has...

So you want to use object-fit, but you also need to support Internet Explorer. One option is to use...

As you may know, HAML expands data attributes that are given as a hash: %div{ data: { count: 3 } }

jakearchibald.com

The way that Javascript schedules timeouts and promise callbacks is more complicated than you think. This can be the reason...

to create a Gallery that has a name and has_many :images, which in turn have a...

jqueryui.com

UI sortable helps reordering items with drag 'n drop. It works quite fine. Proven configuration for sorting table rows

thecssninja.com

Sometimes you want to preload images that you will be using later. E.g. if hovering over a an area changes...

Spreewald gives you the within meta step that will constrain page inspection to a given scope. Unfortunately, this does not...

Edit /etc/default/bind9 and change OPTIONS="-u bind" to OPTIONS="-u bind -d 50 -g" Restart BIND and you'll see...

Many of our developers love to use the "awesome" window manager on Linux. However, RubyMine dialogs occasionally defocus while typing...

When you have a localized website, you may want to redirect users to their preferred language when they visit the...

developer.mozilla.org

When building a form with a file select field, you may want to offer your users a live preview before...

You can use JavaScript to get or set cookie values on the client. Using the vanilla JavaScript API

Current webkit browsers like Chrome and Safari have a special variable in their consoles that refers to the selected DOM...

explainshell.com

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

Don't write resources :people, :concerns => :trashable Write resources :people do concerns :trashable end Why Writing a controller...

nginx.org

If you want to configure your nginx to drop connections to a specific location, you can do so by responding...

Let's say you want to find the element with the text hello in the following DOM tree: hello