Web safe fonts are fonts that are pre-installed by many operating systems. While not all systems have the same...
Table of contents of the linked article: What are Web Fonts? Advantages of Web Fonts Disadvantages of Web Fonts
You can use mail-tester.com to check your application's e-mails for issues that might cause e-mails to be...
A JS library that allows you to embed an iframe that automatically shrinks or expands to match its content.
You can configure a stat socket for haproxy in the global section of the configuration file: global daemon
After restarting an OpenStack host you may encouter problems with missing iptables rules (we're on an quite old release...
With "attaching an event handler once" you possibly mean one of these two things: Register a function for an event...
Note This card does not reflect the current state of lazy loading technologies. The native lazy attribute could be used...
Ag (aka "the silver searcher") is a very fast replacement for grep. It will parse your .gitignore for additional speedup...
Use this snippet by Achu from Ask Ubuntu: ping hostname.tld | while read pong; do echo "$(date): $pong"; done
Lead by a discussion of this issue, I built in a middleware which answers those requests with [400] bad request...
Sometimes you just want to have a small web server that serves files to test something. Serve the current directory...
When you're developing a gem, never list the same dependency as both runtime and development dependency in your .gemspec...
While you can use Apache as a reverse proxy, it tries to be too smart. Try nginx instead, it's...
There are many solutions, but a very concise one is this: hash.merge!(hash) do |key, old_value, new_value|
A list of common computer I/O actions and how long they take. Visual comparison chart: http://i.imgur.com/k0t1e.png
git rebase -i -> mark your commit with edit git reset HEAD~ (remove the marked commit, but keep its...
One useful postgres command I stumbled upon recently was \x. It gives you an expanded display which allows you to...
While you usually do not need a Content-Type on GET request (which have a blank body), an external API...
Nobody needs HTML e-mails. However, you occasionally might have to write an HTML message for some weird reason. Here...
Sometimes you want to know exactly how many objects exist within your running Ruby process. Here is how: stats = {} ObjectSpace.each...
You can configure RSpec 3.3+ to raise an error when attempting to stub or mock a non-existing method. We...
Ruby has a set of methods to convert an object to another representation. Most of them come in explicit and...
When you make a simple TCP connection to a remote server (like telnet), your client won't normally notice when...