Faster 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 to their fork and copying the fork address […]
The post Faster PR Pulls with Git Aliases appeared first on David Walsh Blog.

Link: https://davidwalsh.name/pull-down-pr

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 so via the following command: # zip -er […]
The post Create a Password Protected ZIP appeared first on David Walsh Blog.

Link: https://davidwalsh.name/password-protected-zip

Convert JPG, PNG, and Animated GIF to WEBP

New image formats like WEP and MOZJPEG will be a major boost to load time on the web.  The majority of page load and render time is usually attributed to unoptimized images, so these new formats will make both mobile and desktop load times faster.  I’ve taught you how to detect WEBP support but we’ve […]
The post Convert JPG, PNG, and Animated GIF to WEBP appeared first on David Walsh Blog.

Link: https://davidwalsh.name/convert-webp

Create Context Menu Items in Mac Finder

As much as I like exercising my command line skills, for many tasks I’d rather click a time or two.  The problem is that yarn install, brew install, and other package managers don’t come with UI extending capabilities…so knowledgable people like us need to find a way to shoehorn those functionality into a UI.  That […]
The post Create Context Menu Items in Mac Finder appeared first on David Walsh Blog.

Link: https://davidwalsh.name/mac-context-menu

How to checksum on Mac

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 recover my Bitcoin Cash, however, I wasn’t willing to […]
The post How to checksum on Mac appeared first on David Walsh Blog.

Link: https://davidwalsh.name/mac-checksum

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 add support for Xbox controllers. One important configuration detail developers […]
The post Show Hidden Files in Mac Finder appeared first on David Walsh Blog.

Link: https://davidwalsh.name/show-hidden-files

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 following, leading to the process not starting from that […]
The post Node EADDRINUSE (Address Already in Use) Error appeared first on David Walsh Blog.

Link: https://davidwalsh.name/node-eaddrinuse

Split Files Into Smaller Files

As fast as internet connections have gotten over the years, it seems the size of files we want to share has grown faster.  Whether it’s archive (ZIP), video, or any other host of potentially large file types, it’s still tricky to put these large files somewhere to download since many storage providers have file size […]
The post Split Files Into Smaller Files appeared first on David Walsh Blog.

Link: https://davidwalsh.name/split-files

Show git Branch from Command Line

Whether it’s simply submitting pull requests or being snobby enough to use vim as a text editor, web developers and designers spend an awful lot of time working from command line.  If you do work with git, you know it’s important to keep track of your branches, especially when it comes to knowing which branch you’re […]
The post Show git Branch from Command Line appeared first on David Walsh Blog.

Link: https://davidwalsh.name/show-git-branch-command-line

Create a Waveform Image with ffmpeg

Waveform images have a variety of uses and I’ve started seeing waveform images overlaying at the bottom of videos.  That type of feature seems useful if you want to see identify music in a video or specific spaces in a video which feature action.  If you’re creating an audio-centric app, you may have a dozen […]
The post Create a Waveform Image with ffmpeg appeared first on David Walsh Blog.

Link: https://davidwalsh.name/waveform