Shell Tutorials
How to Send an iMessage From Command Line
As somewhat of a recluse, believe me when I say that text messages, instant messenger, and iMessage have relieved me of loads of anxiety and wasted time with short, meaningless voice chat. It's been a decade since these communication types have become popular so we've moved...
Replace Last Command in Shell
Whether I fat-finger a command or my MacBook Pro keyboard's keys don't want to respond like they should, I'm frequently misspelling commands. What's more frustrating is that many of these commands are long, taking making fixing theme time-consuming. Luckily a Twitter follower is looking out for...
Download a YouTube Channel’s Videos
YouTube is an endless source of entertainment, be it stuff you're proud to share you like or stuff you would rather others not know about (see: David's history of watching old WWE Royal Rumbles). I watch a lot of YouTube in hotels and on flights when...
Turn Bluetooth On and Off from Command Line on macOS
Bluetooth has been a revelation in wireless technology: wireless mice, headphones, streaming devices, and a variety of home and office environments. It goes without saying that wireless peripherals are so much easier to manage than wired counterparts, especially mice, that I usually have my MacBook's bluetooth...
Mercurial: Mass Add and Remove All Files
While I much prefer git and the GitHub workflow, Firefox's codebase (mozilla-central) is store in a mercurial repository. There are tools that wrap mercurial so you can use a git-like interface, like git-cinnabar, but my philosophy is to learn the root tool so that I...
Change Mac Brightness from Command Line
Earlier this week I posted about how you can modify your Mac's volume from command line. Little command line scripts make me smile because I spend so much of my day in command line, and automation can be the key to productivity. I next thought about...
Find and Change Default App for File Type from Command Line
There are few things more frustrating to any computer user than files opening in an unwanted application. Sure you can use the
Open
menu item in the desired application but we all just want to double-click a file and see it open in the application we expect. ...Change System Volume from Command Line on Mac OS
Oftentimes the awesome GUI applications we love are simply gloss over a command line functionality. While I do love a visual app, it's always good to know how to do things from command line, if only for the sake of automation. I've covered loads of
Repeat Bash Prompts
I'm sure you wont be surprised when I tell you it's my job to automate things in our my household. My wife is tech savvy but she relies on me to make tech matters easy for everyone; I guess it's flattering that she trusts me to do...
Create gists from Command Line
One of the best ways to gain contributors for your open source project is by providing a rough patch for the contributor to start from. One of the best ways to ask for help is by providing what you have so far and letting a mentor...