Shell Tutorials

  • By
    Prevent Windows from Sleeping

    I have a few processes on my Windows gaming PC that are critical but sometimes get impacted over night as Windows tells my beloved machine to tone it down. My machine has the necessary cooling so I'm happy to let the processes do their work.There...

  • By
    Five Top Quality APIs

    It's easy to think about creating beautiful UIs for presenting data when you don't consider the effort that goes into gathering and serving the data itself. Here's the thing -- thanks to apilayer, you can focus on your UIs and not the pain of API...

  • By
    How to Mine Ethereum

    Note: I expect a large number of people to object to cryptocurrency mining's energy use and I totally understand. Hell, I agree. A few notes to consider: first, this will soon be remedied by Ethereum switching to proof os stake. Second, much...

  • By
    Awesome Git Aliases

    Git is an amazingly powerful tool. It can keep track of all the code you write, let you organize your work into different branches, help you seamlessly work with other developers, and even let you time travel and make changes.But wouldn't it be awesome if Git...

  • By
    Insert Cursor at Any Position at Command Line

    As much as I enjoy writing lengthy pieces of JavaScript APIs, techniques, and other tech brilliance, I very much enjoy providing people quick tips to make their daily dev lives better. This is one such post.Oftentimes I'm working with long command line directives, and as...

  • By
    Use Touch ID for sudo on Mac

    The landscape of security is changing quite a bit. We've gone from basic username and password to 2FA, facial recognition, fingerprint recognition, and so on. Hell, my Mac unlocks simply when I have my Apple Watch near by. In the end, I...

  • By
    How to Install a NPM Module from GitHub Branch

    In my journey to work more quickly with a project containing loads of dependencies, I've come across a few techniques I've not needed to use before. I previously wrote about How to Push to a Git Remote Branch of a Different Name -- this...

  • By
    Open a Browser Tab with DevTools Open by Default

    Using command line flags is a great way to subtly improve productivity. Whether saving yourself keystrokes or enabling specific features, it's very much worth knowing the application flags available to you.To launch a new tab with DevTools in Chrome, you can use the --auto-open-devtools-for-tabs command...

  • By
    git: Remove Untracked Files

    I've always said that I know just enough about git to get the job done, but also do something destructive. Nothing embodies that more than my recent mistake. I somehow found a git repository full of untracked files and git stash wouldn't fix it.

  • By
    Detect Changed Files with git

    There are numerous reasons to want to know which files have been added or modified in a git repository, one of which is your text editor highlighting those files. Another use case is running tasks against only files which are presently changed, like lint or...