Shell Tutorials

  • By
    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...

  • By
    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...

  • By
    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...

  • By
    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...

  • By
    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. ...

  • By
    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

  • By
    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...

  • By
    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...

  • By
    Search Git Commits Between Dates

    One of my weaknesses as a developer is relying on UIs to provide me the data I need.  It's not a fatal weakness but it does hamper me a bit.  One prime example is relying on GitHub's interface to review changes; git's command line provides the...

  • By
    How to Hide Information in Images

    If you've followed this blog, you know that I'm obsessed with figuring out every way to interact with, abuse, and convert different types of media.  Whether it's images, video, or audio, if something can be changed or exploited, I want to figure out how to do...