Performance analysis of MySQL's FULLTEXT indexes and LIKE queries for full text search
MySQL text search performance differs sharply between LIKE and FULLTEXT; LIKE stays surprisingly fast on medium datasets, while FULLTEXT benefits from larger vocabularies.
How to test if an element has scrollbars with JavaScript (Cucumber step inside)
Detecting overflow in an element matters when layout must avoid hidden content and unwanted scroll bars; comparing scrollHeight and offsetHeight reveals whether content exceeds the visible area.
How to find out the currently focused DOM element with JavaScript
document.activeElement returns the currently focused DOM element and is useful for checking focus state in JavaScript or Selenium tests.
Render Sass stylesheets dynamically
Serve CSS at request time from Sass templates while keeping asset_path, imports, and injected theme colors available. Useful when styles need dynamic values without ERB preprocessing.
Cronjobs: "Craken" is dead, long live "Whenever"
Old cronjob management with craken no longer works on Rails 3.2+, so whenever becomes the replacement for deploying rake tasks into cron.
Debugging Apache's mod_rewrite
Troubleshooting broken RewriteRule and .htaccess behavior in Apache is easier with RewriteLog and high rewrite logging.
5 APIs that will transform the Web in 2013
Emerging APIs may reshape how websites and web apps are built and used in 2013, opening new capabilities for developers and users.
Firefox makes an OPTIONS request you don't expect
Unexpected OPTIONS requests in Firefox often signal a cross-origin call or an http to https switch, where browser preflight checks whether the request is allowed.
CSS that lets your alarm bells ring
Code smells in CSS often signal maintainability problems, from brittle selectors to accidental overrides and hard-to-change styles.
Hack: Detect DOM node insertions using plain CSS
Fire custom DOM changed events with CSS instead of polling or deprecated DOM mutation APIs.
navy gem: Hide empty navigation bars
Empty navigation containers get the .navy-empty CSS class in navy 0.5.1+, allowing them to be hidden with display: none.
Convert Syck to Psych YAML format
Legacy Syck YAML files can break compatibility with Psych, especially when escapes make translation files unreadable. A small script can convert them by swapping the parser engine dynamically.
New makandra cards feature: Repeating cards
Cards can be marked as repeating so important items return to the top of the deck each Wednesday and are not forgotten.
SearchableTrait is now a gem: Dusen
SearchableTrait was extracted into the Dusen gem, adding tests, documentation, and a cleaner query syntax for Googlesque searches in models.
How to fix: Unable to read files from a VirtualBox shared host folder
VirtualBox shared folders can fail with read-only or unreadable-file errors when Guest Additions no longer match the VirtualBox version.
How to fix: VirtualBox Guest Additions setup is out of date
Outdated VirtualBox Guest Additions setups can come from an older ISO, causing version mismatches during install or update. Installing virtualbox-guest-additions-iso supplies the matching image.
Xfce: Classic panel layout in the style of Gnome 2 or Windows XP
Xfce panel setup can be tedious, especially with its configuration UI. A classic GNOME 2 or Windows XP-style layout gives a quick, productive desktop start.
Xfce: Configure global keyboard shotcuts
Global keyboard shortcuts in Xfce are split between window management and application launching, which makes them hard to find in one place.
When Nautilus/Thunar file manager sorts case-sensitively
File listings may switch to case-sensitive sorting after a distribution upgrade when locale settings change. Reconfiguring the locale restores case-insensitive ordering in Nautilus and Thunar.
Switch from Compiz to Xfce's native window manager
Compiz can cause problems on Xfce, and xfwm4 --replace switches back to Xfce's native window manager.
Ubuntu: Fix missing sound after a version upgrade
After an Ubuntu version upgrade, sound output or microphone input can stop working because the wrong PulseAudio devices are selected. Reassign the fallback playback and recording devices in pavucontrol.
Xfce: Separate task bars for each monitor
Multiple Xfce monitors can share separate task bars, each showing only local windows. One panel per screen and per-monitor window buttons keep task switching isolated.
Xfce: Configure multiple monitors
Xfce multi-monitor setup can be awkward when displays overlap or cannot be positioned freely. arandr or a proprietary graphics driver can fix the layout.
Xfce: Take a screenshot with the "Print" key
Assign the Print key to xfce4-screenshooter -f in Xfce to capture screenshots quickly; many setups already include this shortcut by default.