git: How to forget a recorded resolution
A mistaken conflict resolution can be removed from Git's rerere cache so the file returns with conflict markers for a fresh, correct merge.
orgsync/active_interaction
An alternative to form models for organizing interactive business logic around an operation instead of a persistent record.
ActiveRecord's where.not
Rails 4.0 adds where.not for cleaner ActiveRecord queries, making negative conditions easier to read and write.
Trailer, a faster and easier way to deal with pull requests
A menu bar app streamlines GitHub pull request management and fills a missing gap in team workflows.
rbenv: How to switch to another Ruby version
Switching Ruby versions in rbenv depends on whether the change should apply only to one shell, one project, or all sessions.
Code Colorizer Formatter — LibreOffice Extensions
Colors source code in LibreOffice Writer for more readable snippets; a _code paragraph style is required for the extension to work.
krisleech/wisper
Publish/subscribe messaging for Ruby classes with event names created on demand, reducing boilerplate in class-based notification systems.
Bash: Setting the title of your terminal tab
Keep terminal tabs organized by setting their title from the prompt or current directory, with optional automatic updates on directory changes.
Pure CSS Timeline | CSSDeck
Interactive timeline effects without JavaScript, using CSS state and radio buttons to switch visible content.
How to load only a subset of a massive MySQL dump
Large MySQL dumps can take days to import when only a development subset is needed. Filtering INSERT rows during import loads structure and selected data without editing the dump file.
Installing therubyracer and libv8 with Ruby 1.8 on OSX Mavericks
Ruby 1.8 on OS X Mavericks can fail to build therubyracer and libv8 native extensions; updating the gems or linking a Homebrew V8 build can restore bundling.
pngquant — lossy PNG compressor
pngquant compresses PNG images by converting 24/32-bit files to paletted 8-bit output, often cutting size dramatically while preserving full alpha transparency.
MySQL 5.6 slightly changes DECIMAL data type
MySQL 5.6 changed DECIMAL storage and removed the old extra-digit behavior, so columns that relied on it may now need higher precision.
How to install older versions of REE with rbenv on Ubuntu 12.04
rbenv on Ubuntu 12.04 fails to build older REE releases because of tcmalloc.cc and SSL compilation issues.
Workflows of Refactoring
Refactoring keeps code maintainable by improving structure without changing behavior, reducing technical debt and making future changes easier.
Don't use "self" as a Javascript variable
Using self as a JavaScript variable can collide with the global window alias and cause confusing bugs when capturing this in callbacks.
Support for Ruby version 1.9.3 will end on February 23, 2015
Support for Ruby 1.9.3 ends on February 23, 2015, leaving applications on that version without further maintenance or security fixes.
The new Modularity 2 syntax
Modularity 2 replaces does with include-based traits and new naming rules, with automatic migration support for existing Ruby projects.
Linux: Disable Bluetooth on startup
Bluetooth starts automatically at boot and can be stopped by disabling the service in startup scripts.
Cucumber / Selenium: Access and test document title
Verify that page titles contain expected text during browser tests with Selenium and Cucumber, avoiding mismatches in document title assertions.
Careful with '||=' - it's not 'memoize'
||= does not memoize nil values, so expensive lookups or database queries may run repeatedly when the result is absent. Use defined-instance-variable caching when nil must be cached.
Choosing the Right Size and Format for Icons
Icon sizing and file formats vary across Windows, macOS, iOS, Android, and Linux, making asset preparation inconsistent.
Prevent long strings from stretching your <table> with CSS
Long unbroken strings can stretch table columns and break layout. table-layout: fixed with set widths keeps column sizes consistent across rows.