Quick one-liner to read in Redshift’s current transition period value and assign it to a variable. (Redshift adjusts the color temperature of your screen when it gets dark.) Or assign to a variable:
When working on a Laravel project, I needed a quick way to seed in some random (but still coherent) sentences. The ultimate for PHP/Laravel projects is fzaninotto’s Faker, which can generate everything, from addresses to credit cards. If you’re in … Continued
I’ve been looking for this one FOREVER. Love how easy it is to migrate home dirs and config files to a new Mint installation, but one of the things that I could never get right was moving the custom keyboard … Continued
Wanted to listen to past episodes of Laurie Brown’s CBC The Signal, but unfortunately they don’t have (many) past episodes available for download or stream. Here’s how I got around it.. September 2016 Update at bottom. Found a listing of … Continued
Here are some useful easystroke commands (especially for when the built-in ones don’t work). This is really for my own reference.
After much searching, the solution was found by user marcinello at Super User. Why would someone want to downgrade PHP 5.5 to 5.4.9? Primarily it’s because PHP 5.5 is the first to deprecate the MySQL extension (suggesting either MySQLi or … Continued
Getting the error message: Lynx file “/etc/lynx.lss” is not available.
I think it’s a nice feature when browsing, but when developing websites, it’s kind of nice to know when an image isn’t loading properly. Internet Explorer has that big ugly image placeholder box and frankly I miss it sometimes. The … Continued
I needed a bash script to quickly update the ownership of a bunch of files, based on what directoy I’m currently in. The username is pulled from the present working directory (pwd): /home/SOMEUSER/the/rest/of/the/path
I recently discovered that Linux Mint lets you use the Super/Win key plus left, right, up, down to control the current window size (window left, window right, maximize, unmaximize, respectively!), which is awesome. But I also like my windows centred … Continued