Audacious in Ubuntu doesn’t have the “Global Hotkeys” plugin activated per default. If you enable it, the play/pause key on Apple keyboards (probably on others, too) will start the song, but then restart it when tapped again. The solution is to set the XF86AudioPlay button to “Pause/Resume”.
Data backups are important. USB sticks with 256GB or more have become affordable, and are a good way for backups. I wanted mine to be encrypted. Since I usually dump my entire home directory to the backup medium (my new USB drive), indiscreet, or, let’s call it sensitive data like passwords and SSH keys will… Continue reading Hard-drive Backups to USB drives using Encryption, on Ubuntu
Brand-new SD cards sometimes need to be formatted to VFAT to work properly on Linux. sudo fdisk /dev/mmcblk0 > t select “b” for FAT32 > w This will convert the first partition to FAT32 and write the new partition table to the SD card. Make sure to select the top-level disk with fdisk, and not one… Continue reading Formatting an SD Card to VFAT on Linux
For quite a bit I’ve been playing with the idea of “schemaless” models, intrigued by the idea of dumping entire hashes into database fields instead of having to add every little setting as a real database column. Where the latter involves the tiresome process of migrations, hash fields in databases can simply be extended ad-hoc.… Continue reading Schemaless Models With Hash Fields or JSONB
After many weeks of work, I am happy to announce the 4.1 release of Cells, the popular view model gem for Ruby. In this release we are paving the way for the upcoming, super fast Cells 5.0 by tidying up the core, and adding some amazing new features. This all happened without any public API… Continue reading Cells 4.1: Block Support, Better Collections, External Layouts!
Being a long time Nokia feature phone user and fan, I was more than excited to get the new Nokia 230. This phone is priced at EUR 80 which is a reasonable price. I hate the “availability” that smartphones give you, and I love how feature phones take away just that. Nokia (or Microsoft) advertises… Continue reading Nokia 230 Review: Nice looking, but an Engineering Breakdown
The Hamlit gem is a reimplementation of the popular Haml markup language, which unfortunately is based on a quite old, convoluted codebase. Hamlit borrows the syntax, but rewrites the entire engine code leveraging the excellent Temple gem, which is a parser, compiler and optimizer for template languages and is also used in Slim. Wow, that’s… Continue reading Cells-Hamlit: The Fastest View Engine Around.