LibreOffice / Excel: Use tables like a hash map in formulas with VLOOKUP
VLOOKUP turns a two-column range into a lookup table for matching keys to returned values in LibreOffice and Excel.
Clusterize.js
Small JavaScript library for rendering huge tables and lists by keeping only visible rows in the DOM, reducing browser load for data-heavy views.
Testing setTimeout and setInterval with Jasmine
jasmine.clock() lets tests fast-forward timers and trigger setTimeout or setInterval callbacks without waiting in real time.
Why you see a GET "/__identify__" request in Capybara tests
Unexpected GET /__identify__ requests in Capybara test logs come from server readiness checks for Selenium-style drivers; Capybara answers them with middleware when no route exists.
The Ruby Toolbox – a collection of good gems
Curated gem rankings help you discover active Ruby libraries by category when you need a package for a specific task.
TrackDuck: Visual feedback for web design and development
Collect visual user feedback on web pages with one embedded button; users can capture screenshots and leave comments for designers and developers.
A solid and unobtrusive plugin for form field placeholders
jQuery plugin for placeholder text in browsers without native HTML5 support, including IE6. Skips elements that already support the placeholder attribute.
Ruby bug: Symbolized Strings Break Keyword Arguments in Ruby 2.2
Dynamically created symbols can make keyword arguments turn nil in Ruby 2.2 when a method uses several keywords and **options.
Make timestamp of dmesg in Ubuntu human readable
dmesg timestamps are hard to read in uptime-based form; dmesg -T converts them to human-readable date and time.
Using mime types with send_file
Rails file downloads need correct MIME mappings so browsers can open attachments directly instead of forcing a save dialog.
Unfreeze a frozen ActiveRecord
Frozen ActiveRecord instances raise can't modify frozen hash when attributes change; dup usually creates an unfrozen shallow copy, though Rails 2.3.x has a bug.
Make "rake notes" learn about Haml, Sass, CoffeeScript, and other file types
rake notes can miss TODOs in Haml, Sass, and CoffeeScript files unless Rails is taught their comment syntax and extensions.
Ruby: How to grow or shrink an array to a given size
Ruby arrays often need a fixed length when incoming data is too short or too long. A small helper can pad missing slots or truncate excess elements.
Rubymine: Code folding
Code folding gives a quick overview of large files and reduces scrolling when working in Cucumber features or huge Ruby classes.
Using form models (aka decorators) with Devise
Use a form model or decorator with Devise by overriding resource_class in a controller, enabling sign-up-specific fields without changing the underlying user model.
free-for-dev
Cloud services and SaaS with free tiers help developers and open source projects start without upfront cost.
Fontawesome 4 helper classes
Font Awesome 4 helper classes control icon size, width, lists, borders, animation, rotation, flipping, and stacked icons.
Fontawesome 4+ icon naming conventions
Font Awesome 4 uses structured class names to request icon variants by shape, outline, or direction. Not every tag combination exists.
Browse Amazon S3 buckets with Ubuntu Linux
Command-line access to Amazon S3 buckets on Ubuntu is easier than browser frontends; s3cmd handles uploads, downloads, sync, ACLs, and bucket administration.
rspec_candy 0.4.0 released
rspec_candy 0.4.0 adds support for RSpec 3 and Rails 4, while dropping the unmaintained state_machine integration.
Add an alternative image source for broken images
Broken image links can leave empty gaps in HTML pages. Using onerror to swap in a fallback source keeps images visible when the original file fails to load.
ActiveRecord: Order a scope by descending value without writing SQL
Image.order(created_at: :desc) sorts records descending without raw SQL and automatically qualifies column names; multiple order criteria fit in a hash.
PostgreSQL: How to change attributes of a timestamp
Adjusting timestamp parts in PostgreSQL is awkward; TO_CHAR can format changed values, and TO_TIMESTAMP converts them back for further date operations.
Rails has a built-in slug generator
Ruby on Rails includes parameterize for turning text into URL-friendly slugs, normalizing spaces, punctuation, and accented characters.