How to download videos from YouTube
Wondering how to download a video from YouTube, with audio and subtitles intact? Here are a couple of methods I’m documenting in case I ever need to use them.
learnings
Wondering how to download a video from YouTube, with audio and subtitles intact? Here are a couple of methods I’m documenting in case I ever need to use them.
On my MacBook Pro with retina display, when I take a screenshot, the image is saved with a DPI of 144. But, using ImageOptim to compress the image with Strip JPEG/PNG Metadata enabled will remove (or reset) the DPI setting to 72 DPI - resulting in a double sized image when displayed in Preview and Quick Look. Here is how I correct this.
From macOS Catalina 10.5 onwards, zsh
is the default shell, instead of bash
. I have a lot to learn about this shell, and so far, this is how I configured zsh... There is an overload of snippets on-line, but I’ve not seen a post doing what I do, so hopefully this helps someone!
Grrr, to no one’s surprise, my MacBook Pro with butterfly keyboard is experiencing keyboard issues. In my case, a keypress on “j” is often triggered twice, resulting in “jj”. And with the lockdowns, I don’t want to risk a repair! So, here is a quick workaround using Karabiner-Elements v12.9.0.
I previously kept Grab.app on Mojave 10.14 by simply copying it over from High Sierra 10.13. I prefer the simplicity of Grab over the new Screenshot.app, and I hate that Screenshot adds a drop shadow.
Just sharing some Automator scripts I use for Touch Bar Quick Actions showcasing three different methods - using pre-defined Actions, using AppleScripts and using Shell scripts.
Most Mac users would use at least a few keyboard shortcuts (if not, check out Apple’s Mac Keyboard Shortcuts list), but here are a few additional key combinations that I find useful. These are less well-known and many are not in Apple’s list.
Here’s are a few short tips - to toggle Dark Mode on macOS without opening System Preferences. Useful when designing your Dark Mode enabled web site using prefers-color-sheme
Media Query, like I did.
For a while now, I’ve been posting about compiling Wine on macOS, starting with Wine 1.9 in October 2016, then automating the compile for Wine 2.9 32-bit in May 2017. Now it’s July 2019, and this is probably my last post on the subject - a fully automated script to download and compile Wine 4.12.1 (released 7 July 2019) 32-bit and 64-bit on macOS.
If, like me, you use Parallels Desktop Lite, then I have bad news for you. It's no longer free to run macOS or Linux, so DON'T update it if you still want to use it!
Want to remove macOS services (a.k.a. daemons)?
Recently, I posted about my Karabiner-Elements Complex Modification Rule to map a key to Escape. Here, I make a small tweak to use it to launch an application too!
As in my previous guides for enabling Apache and PHP on Sierra 10.12 and El Capitan 10.11 before that, this post will update the instructions for macOS Mojave 10.14.2 which comes with Apache 2.4.34 and PHP 7.1.19.
So you miss the physical Escape key on your brand new MacBook Pro with Touch Bar? Here's my fix to re-map a seldom used key to Escape.
I know this is very late, but I wanted to post two things I noticed with macOS Mojave regarding the new Screenshot.App tool and Dark Mode.
I got macOS Mojave 10.14 / 10.14.1 installed in Parallels very easily! But encountered some graphics issues with certain apps... and managed to find a workaround.
Did you know you can (sometimes) shrink the size PDF files by apply lossy compression to images? This is a built-in capability with macOS - no third party tools required. Read on...
I recently tried Crunch, an open-source tool for PNG image file optimization, currently on version 2.0.2 at the time of writing.
I sometimes need to search a huge CSV file (13 MB), containing 21,000 rows and roundabout 40 columns, which Numbers takes half a minute to open. All I need to do is search and display the results of a few columns only... so I wrote a bash script to do this for me - and I was quite specific in that I wanted the results in color!
I got a new 2 TB external disk - "yay" - and wanted to use it for both on my Windows desktop and for Time Machine backups. Immediately thought to format it as exFAT but quickly came to realize Time Machine does not support exFAT! Fortunately, there is a workaround...