Minidusen: Low-tech record filtering with LIKE queries
Lightweight record filtering for Rails replaces FULLTEXT indexing with LIKE queries and keeps search compatible with MySQL and PostgreSQL.
We are no longer maintaining Dusen
Dusen is no longer maintained; users needing query parsing and LIKE queries can migrate to Minidusen, while full-text indexing is better handled with PostgreSQL and pg_search.
How to tidy up your Git mess
Git mistakes are easy to make and hard to recover from when the right command name is unknown. Common recovery paths help undo bad commits, merges, and branch states.
Geordi 1.5.1 released
Geordi 1.5.1 adds smarter command handling for test selection, stage lookup, server ports, and LAN access, plus a firefox --setup version check fix.
Capistrano: exclude custom bundle groups for production deploy
Custom Bundler groups can still be downloaded during Capistrano deploys, slowing production and staging releases. Exclude unnecessary groups with bundle_without to avoid installing unused gems.
ClockPicker: Android-style time picker for Bootstrap
Android-style time selection for Bootstrap projects with a polished clock interface, but the ClockPicker library is no longer maintained.
Using Spring and parallel_tests in your Rails application
Spring keeps bin/rails and bin/rspec fast, while parallel_tests can break shared test runs unless Spring is disabled in parallel contexts.
Git: how to work with submodules
Nested Git projects require submodules to track separate repositories and keep parent links in sync. They simplify cloning shared code while needing manual updates for new commits.
Quill - Your powerful, rich text editor
Open source WYSIWYG editing with strong rendering fidelity and deep customization for rich text apps, positioned as a possible alternative to Redaktor.
When Internet Explorer does not render webfonts on customer machines
IE11 may fail to load webfonts on one customer machine because security settings block remote font downloads, even when the same files work elsewhere.
An intro to Javascript promises
Promises provide a chainable way to handle asynchronous work and separate control flow from callbacks, with built-in support in modern browsers and polyfills for older ones.
MySQL: How to dump single tables instead of a complete database
Need production or staging data for migration tests without a full database export; mysqldump can dump only selected tables when a complete dump is too large.
Angular directive scope binding with = (equals)
Isolate-scope bindings with = evaluate parent expressions and can mirror writable parent properties back and forth.
How to type brackets, braces, pipe, backslash, or at sign on OSX
Mac keyboard shortcuts for brackets, braces, pipe, backslash, and at sign differ from Linux and Windows, especially on OSX and BrowserStack.
Incredibly fast web apps // Speaker Deck
Performance tuning for Ruby on Rails web apps reduces slow page loads and sluggish interactions by improving frontend and backend efficiency.
Angular isolate scopes: Calling a parent scope function with externally defined arguments
Angular isolate scopes can proxy a parent function while supplying fixed and runtime arguments through & binding.
Amazon S3: Give a user write-access to selected buckets
AWS IAM users need a custom policy for access to only selected S3 buckets; bucket listing and object actions require separate resource ARNs.
Sass: How to do math with shorthand values inside variables
Adding math to Sass shorthand variables is awkward: whole-value arithmetic concatenates incorrectly, while nth can access individual sides for manual adjustment.
How to human-join an array in JavaScript
Human-friendly list formatting in JavaScript is awkward; joinSentence produces an Oxford-comma sentence from array items, similar to Rails to_sentence.
Puppet 3.x: Convert a float to an integer
Puppet 3.x lacks a built-in float-to-integer conversion; inline_template with to_i can render the numeric value as an integer.
Browsers have built-in pretty printing for JSON
Format a JSON object with built-in pretty printing by passing an indentation value to JSON.stringify.
Detect the language of a string
Ruby strings can be language-detected with whatlanguage, but short texts are unreliable and restricting the candidate languages improves accuracy.
Rails: How to get PostgreSQL version being used
Get the PostgreSQL server version from a Rails app or console using ActiveRecord::Base.connection.select_value('SELECT version()') when you need database details at runtime.
Middleman does not fingerprint asset paths by default
Middleman static sites serve stable asset URLs by default, so cached JavaScript and CSS can stay outdated. :asset_hash adds fingerprinted paths to force cache refreshes.