Monitoring a network connection from a remote host
Network failures between a host and a single target can be isolated with ping checks and an automatic mtr report by email.
GlyphSearch: search for icons from Font Awesome, Glyphicons, and Ionicons
Finding the right icon across Font Awesome, Glyphicons, and Ionicons can be slow; GlyphSearch centralizes icon lookup for faster selection.
Don't use PDFKit v0.5.4 – it breaks on dead urls
PDFKit 0.5.4 can deadlock or crash on broken image links that raise ApplicationController::RouteError, preventing PDF generation and missing-image fallback.
Fix „command failed: /usr/bin/wkhtmltopdf ...“ using PDFKit middleware
PDF generation via wkhtmltopdf can fail on Passenger when the wrong binary is used or routing errors trigger deadlocks. Pointing PDFKit to a working local executable avoids the command failure.
How to set git user and email per directory
Separate Git identity by folder so commits use different author and committer names and emails in work, university, or home directories.
moger777/missingly
A DSL for handling method_missing hooks in Ruby, making dynamic method behavior easier to define and manage.
Mysql collate, searching case sensitive
MySQL string matching is usually case-insensitive; COLLATE can force case-sensitive comparisons with binary or case-sensitive collations like utf8_bin.
Ruby: The & operator
& changes meaning by context in Ruby, making runners.each(&:run) work through block conversion and to_proc handling.
Legacy docs for Font Awesome 3.2.1
Font Awesome 4 renamed every icon, making older icon- names hard to map during upgrades. A 3.2.1 icon list helps preserve compatibility with vendored fonts.
Texture Mixin for Sass
Sass plugin for creating tintable textures from Subtle Patterns by stripping the base color and supporting inverted variants.
weighttp - a lightweight and simple webserver benchmarking tool
Threaded web server benchmark can exhaust application resources more effectively than ApacheBench or httperf; libev is required for installation.
The top responsive web design problems ... and how to avoid them
Common responsive design failures can make layouts break across screen sizes; practical fixes help prevent issues on future projects.
HubSpot/mixen · GitHub
CoffeeScript mixins for classes that preserve super calls, avoiding the limits of common homegrown mixin patterns.
Carrierwave – Recreate versions
Retroactively rebuilding CarrierWave versions can update changed or newly added derivatives from the base file, but recreate_versions! only accepts symbols and may require save for dynamic filenames.
Allow setting the #id attribute when creating an ActiveRecord
ActiveRecord creation forbids assigning id and type by default, which blocks custom primary keys during new, create, or create!. A module can whitelist id for selected models.
Installation of therubyracer fails with "undefined method `include_path'"
therubyracer installation on Ruby 1.8 can fail when extconf.rb loads an incompatible libv8 version, causing a missing include_path method.
What you need to know about Angular SEO
JavaScript-heavy Angular apps are hard for search engines to index because crawlers often ignore client-side rendering. Server-side rendering or prerendering improves crawlability and SEO.
safe_cookies is now in public beta
safe_cookies makes application cookies secure and HttpOnly, rewrites client cookies once, and flags unregistered or external cookies.
Get Moving With Angular 1.2 Animation and Animate.css
Motion improves web user experience, and Angular 1.2 adds a redesigned animation system that makes interface transitions easy to implement.
International Address Fields in Web Forms :: UXmatters
Address forms often fail across countries because address structures, field order, and required parts vary. Flexible field design reduces user errors and incomplete submissions.
Stubbing out external services with an embedded Sinatra application
Test suites that depend on remote APIs can become brittle and slow; an embedded Sinatra app provides a lightweight stub server for isolated integration tests.
Enable NewRelic monitoring [for Rails] on specific hosts only
NewRelic monitoring can be restricted to selected Rails hosts by checking the current machine name before enabling monitor_mode.