Add a macOS-style drop shadow to your "partial" screen captures or plain-bordered images
By default, and like it or hate it, the macOS keystrokes to capture full app screen (⇧- ⌘- 5) will add a subtle drop shadow around your saved image. This can make it more visually appealing when…
Convert SVG to PNG
On MacOS, install inkscape (with brew) and use it like this:
Add spacers to your macOS app dock to make groups
Open term (or equivalent) and paste the following one-liner:
Change system names on macOS
From term (or equivalent), copy and paste:
Chrome tab manipulation
Sometimes I want to go back to the last page I viewed while still keeping the same one open. You can very easily achieve this with shortcuts
Cleanup stale formulas on brew
Use brew cleanup to get some spaces back!
Get the password of the wifi you're on
password: "!forHackers" `
My most used slack shortcuts
⌘-K(or T) to open the channel switcher (I navigate channels solely with this shortcut and have my slack set to hide all channels without new messages)
Reset Postgres table sequence after DELETE
When deleting recent records from a table, you can reset it's sequence counter if auto-increment field continuity is important to you. Consider actions on the following table, users:
Use FFmpeg and Apple Script to compress videos
Build an application you can drag-and-drop videos onto to compress them significantely: