GNOME3 Notifications For Skype ~ Web Upd8: Ubuntu / Linux blog

GNOME desktop integration improves Skype pop-up alerts with better visibility and a cleaner look, including support for GNOME 2.

Do not use "find" on Capybara nodes from an array

Capybara find can return incorrect matches when called on nodes from all, especially with text filters. Use a full selector on the page to scope the search reliably.

Use Nokogiri to convert CSS to XPath

Nokogiri can turn readable CSS selectors into XPath expressions, avoiding hand-written XPath for simple queries while keeping access to more powerful matching when needed.

LibreOffice won't embed most fonts into PDFs (with fix)

LibreOffice often omits font embedding in exported PDFs, making shared documents and slide decks unreadable on other systems. Reprinting through a PDF printer is a workaround.

Rails 2's CookieStore produces invalid cookie data, causing tests to break

Recent Rails 2 CookieStore versions can emit malformed Set-Cookie headers with blank lines, breaking Cucumber integration tests when cookies are written more than once.

How much should I refactor?

Balancing refactoring with complexity is difficult when new patterns promise cleaner, more testable Rails code. Choosing when to apply them keeps code maintainable without overengineering.

LibreOffice Impress: Distorted text letters in presentation mode

Text letters appear distorted in presentation mode in LibreOffice Impress; upgrading to 3.5.3+ or disabling hardware acceleration can fix rendering issues.

CSS3 Media Queries have reached recommendation status

Media Queries became a W3C Recommendation on June 19, 2012, marking CSS3 responsive design support as a stable web standard.

Using ENUMs with Rails - See John Code

Rails can swap a varchar column for an ENUM without changing application code, reducing risk when tightening database constraints.

Show hint in HTML 5 text fields

Placeholder text in HTML5 text fields gives users a hint that disappears on focus, but support depends on modern browsers.

Updated: Puppet 2.6.x on Ubuntu lucid 10.04

Installing a specific Puppet release on Ubuntu Lucid avoids distro package drift and keeps configuration management behavior predictable.

Calendar quarter calculations in Ruby and MySQL

Quarter boundaries and quarter numbers in Ruby and MySQL can be derived from a date with beginning_of_quarter, end_of_quarter, QUARTER(), or simple month division.

Preloaders.net - AJAX loading GIF and APNG spinners, bars and 3D animations generator

Free generator for AJAX loading animations: GIF and APNG spinners, bars, and 3D indicators for web interfaces.

Trouble changing filename casing in git

Case-insensitive file systems can hide filename casing changes from git, especially on macOS HFS+; git mv -f forces the rename.

Mysql/Mysql2 agnostic database.yml

Upgrading to the mysql2 gem can require a deploy-time database.yml change; one adapter line can keep the same config working with both MySQL libraries.

Security fixes for Rails 2.3

A security issue in Rails 2.3 required a patch after the branch stopped being maintained, so a minimal fork keeps legacy apps on a fixed version.

Skype 4.0 for Linux

Unified chat window and improved call quality in Skype 4.0 for Linux; upgrading from the Ubuntu repository package requires removing the old skype package first.

archan937/ruby-mass

Inspect Ruby heap objects by index, count, and reference tracing, then detach objects to release memory.

The asset pipeline does not like files that look like fingerprints

Rails asset precompilation can ignore files whose names resemble fingerprints, causing fonts or other assets to vanish from the pipeline.

Updated: Helpers to render (money) amounts

amount now uses the locale’s decimal separator from I18n, and money_amount passes options through with a new :zero_as_dash setting.

Responsive Inspiration

Curated examples of websites using media queries and responsive design for adaptable layouts across screen sizes.

Solve Flash performance issues in Ubuntu

Flash video playback in Ubuntu can be choppy or fail in fullscreen HD. Using Flash-Aid to install an improved Flash build and apply optimizations helps smooth playback.

Geordi: Use load-dump script to source a database dump into your database

Load a database dump into a development database with load-dump, either by passing a dump path or choosing from files in ~/dumps/.

Why you should never use hash functions for message authentication

Hash functions do not provide message authentication and can be misused in custom crypto protocols, leading to forgery and other security failures.