Fixing jerky CSS3 animations

Posted About 9 years ago by Dominik Schöler.
stackoverflow.com

When a CSS3 animation makes the animated element flicker, it may well be due to pixel fragments being handled differently...

Carrierwave: Efficiently converting images

Posted About 9 years ago by Thomas Klemm.

When uploading images, adding more than one process to a version can cause MiniMagick to run multiple commands. In order...

An auto-mapper for BEM classes in Cucumber selectors

Posted About 9 years ago by Dominik Schöler.

When you are using the #selector_for helper in Cucumber steps, as e.g. Spreewald does, the following snippet will save...

Ubtuntu: "FATAL: Could not load /lib/modules/...-generic/modules.dep: No such file or directory"

Posted Over 9 years ago by Kim Klotz.

If you get this error (probably because you want to load some modules): # modprobe xt_comment FATAL: Could not load...

Refile: Ruby file uploads, take 3

Posted Over 9 years ago by Thomas Klemm.
github.com

Jonas Nicklas, the author of Carrierwave and Capybara, has released Refile, a gem for handling file uploads in Rails. It...

ImageMagick: Cropping images

Posted Over 9 years ago by Thomas Klemm.

ImageMagick takes a string with several options when cropping an image. See the command line options for how to provide...

Taking screenshots in Capybara

Posted Over 9 years ago by Thomas Klemm.
github.com

Capybara-screenshot can automatically save screenshots and the HTML for failed Capybara tests in Cucumber, RSpec or Minitest. Requires Capybara...

CarrierWave: How to remove GIF animation

Posted Over 9 years ago by Arne Hartherz.

When accepting GIF images, you will also accept animated GIFs. Resizing them can be a time-consuming task and will...

mailru/FileAPI

Posted Over 9 years ago by Arne Hartherz.
mailru.github.io

A set of javascript tools for working with files. It offers different kinds of things: A cross-browser JS API...

Managing vendor libraries with the Rails asset pipeline

Posted Over 9 years ago by Dominik Schöler.

The benefit of the Rails asset pipeline is that it compiles your stylesheets and javascripts to a single file, respectively...

LibreOffice Writer prints text frames as black areas

Posted Over 9 years ago by Henning Koch.

Right-click on the frame Select Frame... Open Background Set As to "Color" Set the background color...

Resolving Angular not updating an image src when ng-src is empty

Posted Over 9 years ago by Dominik Schöler.

The Angular ngSrc directive serves to properly set an image src via Angular. As anything in Angular, it updates the...

RaphaelJS: A Javascript vector graphics library

Posted Over 9 years ago by Dominik Schöler.
dmitrybaranovskiy.github.io

Raphaël is a small JavaScript library that should simplify your work with vector graphics on the web. If you want...

bower-rails can rewrite your relative asset paths

Posted Over 9 years ago by Henning Koch.

The asset pipeline changes the paths of CSS files during precompilation. This opens a world of pain when CSS files...

Eager-loading polymorphic associations

Posted Over 9 years ago by Arne Hartherz.
api.rubyonrails.org

To avoid n+1 queries, you want to eager-load associated records if you know you need to access them...

Git: Diff per word or character

Posted Over 9 years ago by Henning Koch.

By default git diff highlights whole lines as changes. To diff on a word-by-word basis you can say...

Paperdragon: Explicit Image Processing

Posted Over 9 years ago by Henning Koch.
nicksda.apotomo.de

It's like Paperclip or CarrierWave, but without any automagic integration.

Hexbook | A Public Library of Beautiful Hexcodes

Posted Almost 10 years ago by Henning Koch.
matthewkosloski.me

Inspiring collection of color tones.

Do not use transparent PNGs for iOS favicons

Posted Almost 10 years ago by Arne Hartherz.

Safari on iOS accepts an apple-touch-icon favicon that is used for stuff like desktop bookmarks. Always define a...

Sass function to set a color to an absolute hue

Posted Almost 10 years ago by Arne Hartherz.

The adjust-hue function of Sass allows you to change a color's hue, but only relative to its current...

Offtopic: Floppy-disc OS

Posted About 10 years ago by Dominik Schöler.
menuetos.net

MenuetOS is an Operating System in development for the PC written entirely in 32/64 bit assembly language. Menuet64 is released...

Hash any Ruby object into an RGB color

Posted About 10 years ago by Dominik Schöler.

If you want to label things with a color but don't actually care which cholor, you can use the...

How to force a client-side refresh on a new favicon

Posted About 10 years ago by Dominik Schöler.

Browsers usually cache favicons. If you update the favicon of your web site and want all visitors to see the...

faviconit.com: Super-simple favicon generator

Posted About 10 years ago by Dominik Schöler.
faviconit.com

Eduardo Russo was tired of complex favicon creation and created his own favicon generator. It's really easy and allows...