How to find out Your Ubuntu / Debian Linux is 32 bit or 64 bit
Checking whether an Ubuntu or Debian system is 32-bit or 64-bit helps match software and troubleshoot compatibility. uname -m reveals the machine architecture.
Fix error: can’t find executable rails
Rails fails to start when the rails executable points at a missing or half-installed gem set, often after an RVM mismatch or interrupted install.
Three quick Rails console tips
Rails console sessions can exercise routes, requests, and helpers without running the full app in a browser.
OCRA
OCRA packages Ruby source into a self-running Windows executable containing the interpreter, code, and dependencies.
How to fix: RubyMine does not remember last used monitor (on Ubuntu)
RubyMine can reopen on the wrong Ubuntu monitor after moving the window. Keeping the main window unmaximized once lets it remember the preferred screen.
salesking/king_dtaus
DTAUS and DTAZV remain common German bank transfer formats despite their obsolete floppy-disk origins. king_dtaus generates the required transfer text for banking software.
rspec_candy is now a gem
rspec_candy packages reusable RSpec helpers as a gem, making setup and updates easier for specs that need shared test utilities.
IE9: Linear gradients remove border-radius and inset box-shadows
IE9 filter-based gradients can wipe out rounded corners and inset shadows; using inset shadows on a solid background can mimic gradients without breaking the box.
You cannot use :before or :after on img in CSS
CSS pseudo-elements :before and :after do not render on img elements in browsers, so generated content cannot be added directly to images.
Use a special version of Chrome for selenium (and another for your everyday work)
Use a separate Chrome build for Selenium tests by pointing Selenium::WebDriver::Chrome.path at a binary from an environment variable, while keeping your normal browser untouched.
Set the accept-language of Chrome in selenium tests
Set browser locale in Selenium tests by configuring intl.accept_languages in a Chrome or Firefox profile, so apps render and negotiate language consistently.
jQuery File Upload
Upload files with a polished interface, progress feedback, previews, multi-file selection, and drag-and-drop support. Bootstrap-based by default, with a jQuery UI variant available.
When I give a button and a link the same styles, why is the link one pixel higher?
Buttons and links can look misaligned even with identical CSS because their default box models differ. Setting display, box-sizing, height, and line-height makes them line up.
Run Chrome in a specific resolution or user agent with Selenium
Testing web apps at mobile-like sizes or with a custom browser identity reveals layout and behavior bugs before release.
Manipulating the browser history - MDN
window.history lets web apps move backward and forward through browsing sessions and update the history stack with HTML5.
Fix error when embedding Bing maps
Embedding Bing maps can fail with p_elSource.attachEvent is not a function; disabling Firebug or using another browser avoids the JavaScript error.
Open Helvetica alternatives
Free Helvetica substitutes with web-font support are scarce; Liberation Sans offers a high-quality, embeddable TrueType alternative with an @font-face kit.
Convert a TrueType (.ttf) font to web font formats
Licensing and browser support make custom web fonts tricky; converting a TrueType font to multiple formats and using @font-face helps.
Navigating through the browser history in a cucumber feature using selenium
Browser history navigation in Cucumber Selenium steps can be automated with window.history.back() through JavaScript when direct back-button control is needed.
Creating a multi-resolution favicon including transparency with the GIMP
A multi-resolution .ico favicon with transparency keeps browser tabs sharp and blends cleanly with different browser chrome.
How to access a dmcrypt-encrypted partition from outside your system
Manual access to an encrypted Linux partition from a live system can expose the contained LVM volumes for mounting or repair.
How to check your file system's integrity with fsck
File system corruption can go unnoticed until boot or data loss; fsck can force a read-only integrity check before changes are made.
Type text into Javascript prompt dialogs in Capybara/Selenium
Automated tests need a way to enter text into JavaScript prompt dialogs in Capybara/Selenium. Browser dialog handling can block workflows unless the prompt input is filled correctly.
Browser support for box-shadow
Cross-browser box-shadow support varies by browser version, with differences for multiple shadows, inset shadows, spread radius, and vendor prefixes.