Quick Tips Tutorials
Set a Default Push Remote with git
During my early days of git usage, my config allowed me to simply type
git push
instead ofgit push {origin} {branch_name}
which I need to now. Up until recently I needed to type out the long version...(I know)...which was incredibly annoying because I like using detailed branch...How to Delete a git Remote Branch
Keeping a tidy repository is important; not just a tidy codebase, but a tidy repository in as far as not having spare branches rotting around. Generally the main repository doesn't keep multiple branches but sometimes you need to push to a main repository simply to get Travis...
Find Empty Files and Directories from Command Line
If you are anything like me, you like to keep your projects as tight as possible. By "tight" I mean no lingering, useless files or directories, because bloat is an incredible annoyance and distraction. And we don't want distractions, do we? There's a really easy way to...
Better Node.js Console Dumps with console-probe
Writing JavaScript in the Node.js environment has always felt a bit more difficult; probably because browser developer tools have become incredibly powerful, interactive, and visually appealing. Using
console.log
on the client side isn't the best of experiences and obviously isn't interactive. Though not interactive, I've found thatFaster PR Pulls with Git Aliases
I love the traditional GitHub workflow of receive pull request, pull down pull request to test, and merge the pull request. GitHub makes the first and the third steps easy but pulling down pull requests from new contributors requires some boilerplate work that annoys me... ...namely navigating...
Create a Password Protected ZIP
Have you ever wanted to put very basic security (a passphrase) on a file? You can do so if you ZIP the file -- let's have a look at how you can password-protect a ZIP file! Creating a password protected ZIP file from command line is done...
Fix git After High Sierra Upgrade
Every major operating system upgrade is a grand adventure. No matter the vendor or how vanilla you keep your system: stuff is going to break. This was very much the case with git when I upgraded my MacBook Pro to High Sierra. After the upgrade I tried...
How to checksum
Many of us see the term checksum and checksum outputs frequently but don't really take the time to run them -- oftentimes we simply trust the file we've downloaded is in working order and from the original source. This past weekend when I was attempting to...
Show Hidden Files in Mac Finder
Setting up a new machine is a great time for me to write blog posts about configuration settings that I'd forgotten to document. Much of the time I refer back to this post to figure out how I did things like Add Dock Separators and...
Node EADDRINUSE (Address Already in Use) Error
Every once in a while my MacBook Pro freaks out and a process goes rogue. This oftentimes happens when I'm working on the excellent debugger.html project; I attempt to start the server side of the debugger and suddenly I'm hit with an error that resembles the...