Fixing Ruby debugger: *** Unknown command: "something". Try "help".

Ruby debugger breaks on plain expressions at breakpoints unless they are evaluated explicitly; eval or set autoeval lets unknown input run in the breakpoint context.

Manually purge binary logs on MariaDB

Old binary log files consume disk space and can be removed safely after retention needs are met. PURGE BINARY LOGS deletes archived logs older than a chosen cutoff.

6 front-end techniques for Rails developers. Part I: From big ball of mud to separated concerns

Untangling JavaScript spaghetti in Rails front ends by splitting responsibilities into separate layers without a JavaScript framework.

gazay/ids_please

Parses social-network URLs to extract IDs or screen names without confusing child routes. It does not resolve IDs from screen names alone.

Rails 4 drops support for the :assets group in Gemfile

Rails 4 no longer needs the :assets Gemfile group because production no longer triggers unwanted on-demand asset compilation.

RSpec 3 no longer chooses a spec's type based on its directory

RSpec 3 no longer infers spec type from folder names, which can break helpers like routing in existing suites. Set type explicitly or re-enable file-location inference.

Git: Listing branches with their latest author

List every branch with the author of its newest commit, useful for spotting ownership or stale branches. git for-each-ref with sorting outputs branch names and commit authors.

Test if all your favicons exist

Favicon variants can break silently when some image sizes or platform-specific tags point to missing files. An integration check can verify that every icon URL returns 200.

Spreewald 1.1.0 released

Spreewald 1.1.0 removes be_true and be_false to stay compatible with RSpec 3 and Ruby 2, replacing them with == true and == false.

blatyo/page_rankr

Retrieve Google Page Rank, Alexa Rank, backlink counts, and index counts for a site without manual lookup.

jQuery and cross domain AJAX requests

Cross-domain AJAX requests with jQuery suppress X-Requested-With and CSRF headers for security, so servers may not recognize them as AJAX. A prefilter can re-enable headers for trusted hosts.

Howto respond html or json in the same controller action with Rails 2

Rails 2.3 can return either HTML or JSON from one controller action, but render_to_string inside format.json may trigger ActionView::MissingTemplate.

jpillora/xdomain · GitHub

Makes cross-domain XHR work by tunneling communication through an IFRAME on the page, enabling requests that browser same-origin rules would block.

Defining Ruby strings with % (percent) notation

Ruby percent notation offers an alternative way to write strings without escaping quotes, useful for embedded apostrophes or quotation marks.

Ruby lets you redefine backticks

Ruby can override the backtick operator with a method named `, making command execution syntax callable as ordinary object behavior.

Spreewald 1.0.0 released

spreewald now provides a binary that lists available steps and can filter them by a search term.

Use byebug on Ruby 2+

debugger is unreliable on Ruby 2; byebug provides a fast, reliable debugger for Ruby 2.0.0+ using TracePoint and Debug Inspector.

RSpec 1.x matcher for delegations

Custom RSpec matcher for verifying delegated methods in Ruby models, including prefixed delegation like author_name.

Google Material Design with AngularJS

AngularJS-native UI elements implement Google Material Design as a complement to Polymer's paper elements, giving Angular apps a consistent material-style interface.

Google Material Design as Polymer components

Reusable UI components implement Google’s Material Design for web apps, offering prebuilt Paper elements for consistent interfaces.

Sass function to set a color to an absolute hue

Sass lacks a built-in way to assign a color a fixed hue; adjust-hue only shifts hues relatively. A small helper can target an absolute hue value.

Skype 4.3 for Linux fixes group chats

Skype 4.3 on Linux fixes group chat problems with non-Linux clients and may require removing Ubuntu packages before reinstalling.

terminator keyboard shortcuts

Manage many server sessions in terminator with split panes, window focus changes, and quick title editing using keyboard shortcuts.

Rails Assets

Automatically wraps Bower packages as gems for the Rails asset pipeline, but duplicate JavaScript copies can conflict when mixed with other package sources.