yujinakayama/transpec: The RSpec syntax converter

Script to migrate test suites from RSpec 2 to RSpec 3, including syntax beyond should and expect.

find out which processes using swap

Identify processes with pages in swap and rank them by VmSwap; swap usage reflects page activity, not total memory pressure.

PostgreSQL: Show size of all databases

List PostgreSQL database sizes in megabytes with pg_database_size, useful for spotting large databases and planning storage.

How to render an html_safe string escaped

Rails treats html_safe strings as already escaped, which can block escaping when safe HTML must be passed through JSON or shown as text. Converting to a plain String restores escaping.

Top 10 Email Developments of 2015

HTML email layout remains fragile, and several 2015 email changes made rendering problems worse rather than better.

rack-mini-profiler - the Secret Weapon of Ruby and Rails Speed

rack-mini-profiler helps spot slow Rack and Rails requests by measuring SQL queries, memory allocation, and CPU time.

Puppet: Delete certificate request

Remove a Puppet certificate request from the certificate authority on the puppetmaster when a node needs to be re-enrolled or cleaned up.

AllThingsSmitty/css-protips

Handy CSS tricks solve common layout and styling problems with concise expressions and modern browser features.

Use jQuery's selector engine on vanilla DOM nodes

Use Sizzle via $.find to select descendants from plain DOM nodes when jQuery collections are unavailable, too slow, or awkward for whole-document work.

WTF Opera Mini?!

Opera Mini leaves many modern front-end features unusable on mobile, especially in markets where it dominates. Practical workarounds help keep sites functional.

Geordi 1.2 released

Geordi 1.2 adds more flexible deploys, better Cucumber reruns and debugging, and reorganized Firefox and VNC command handling.

MySQL/MariaDB: Hide all sleeping processes in processlist

Many MySQL or MariaDB connections can make SHOW PROCESSLIST hard to scan; sleeping sessions can be hidden with a pager filter or by querying metadata directly.

Unindent HEREDOCs in Ruby 2.3

Ruby 2.3 adds <<~ to strip leading indentation from HEREDOCs, making multiline strings easier to read without changing their output.

Git: Keep your repository tidy

Feature branches accumulate after merges and stale local references remain after remote deletions; git branch --merged, git branch -d, and git fetch --prune keep repositories clean.

How to open a new tab with Selenium

Browser popup blocking prevents window.open from Selenium; injecting a clickable temporary link opens a new tab reliably in Chrome.

We have an Angular 1 styleguide for CoffeeScript

A beta style guide sets conventions for new AngularJS code written in CoffeeScript, with the overall structure intended to stay stable.

CSS: Select elements that contain another selector

:has enables parent-style selection in CSS, matching elements that contain a given descendant. jQuery already supports the selector as a custom extension.

How to encode or decode quoted-printable strings

Quoted-printable mail encoding turns characters like = into escape sequences and may wrap long lines. Ruby can decode and encode it with unpack('M') and pack('M').

Stop using bundle exec

Running Ruby commands without bundle exec becomes simpler by installing a gem that makes b and direct execution work smoothly.

A collection of SVG Logos for developers

700+ optimized SVG vector logos for developers, with many recreated from raster images and cleaned for lighter, reusable assets.

RSpec & Devise: How to sign in users in request specs

Devise controller helpers do not work in request specs; Warden test helpers provide sign_in and sign_out for authenticating users in integration-style tests.

Geordi: Running Selenium tests in a VNC buffer

Selenium browser windows can run inside a VNC buffer instead of appearing on the desktop, while still allowing inspection when needed.

Asset pipeline: Precompile non-standard manifests

Non-standard asset manifests are not precompiled by default, so custom config.assets.precompile entries are needed for additional CSS and JS bundles.

Beware ruby's var1 = var2 = "value" multiple assignment

Chained assignment can make two Ruby variables reference the same mutable string object, so << changes both names while = creates a new object.