Geoffrey Grosenbach has created Gruff for easily plotting graphs. It is written in pure Ruby and integrates with Rails applications...
Consider the following HTML & CSS: ^ img { background-color: red; } div { border: 1px solid black; } This will leave a margin of...
You might have notices this behavior when you cut a selection or use the rubber tool. The behavior depends on...
Localizing a non-trivial application can be a huge undertaking. This card will give you an overview over the many...
Embedding bitmap images within PDF sometimes results in large files because the bitmaps are not compressed. If you don't...
Say you want to vertically align a div box inside a div container. This is how you do it:
When you add a linear gradient to an element, IE9 removes all border-radius and inset box-shadows. This is...
Though the W3C even gives it as an example, no browser actually supports this CSS: img:before { content: "something"; }
The result is a .ico file with multiple versions of your logo at different resolutions. Now, depending on the context...
CodeMirror is a JavaScript component that provides a code editor in the browser. When a mode is available for the...
xterm by default uses black text on white background. To change that to something like "light gray on black", do...
Make sure you call the methods in the following order and not vice versa: has_attached_file :image validates_attachment...
Pour color on your Rails console with awesome_print. Turn confusing long strings into formatted output. Have objects and classes...
This article shows how to create a Sass mixin for a colored button. The button's foreground color is dynamically...
This card shows you how to format a card's content using Markdown. We use the Commonmarker interpreter, so here...
The .ova file format is a tar file with a .ovf file inside. tar xvf virtualboximage.ova
You can change the color for text selection via CSS, using the ::selection and ::-moz-selection pseudo-elements.
Most of the JavaScript snippets have code that manipulates the DOM. For that reason dom manipulating javascript code should have...
You want Photoshop to always open files with "full" (100%) zoom and not try to fit them to your screen...
When you print out a HTML pages, all raster images (like PNGs) will appear aliased. This is because a printer...
Note: capistrano_colors was merged into Capistrano starting from v2.13.5. However, this requires Ruby 1.9+. If you cannot upgrade Capistrano...
If you're using Paperclip to store and convert images attached to your models, processing a lot of images will...
The unix command line tool less is a good choice for browsing logfiles. In the standard configuration, though, it does...
List of non-standard CSS attributes that change how the browser resamples scaled images. Only use them if you know...