40 points · by seanlinehan · 8y ago · 45 comments
What are the tiny tools that you use for your work?
Some of mine:
Skitch -- Little Mac app that makes it easy to take screenshots and draw/write on them
Be Focused -- A simple Pomodoro timer for Mac
"Remove Stickies" -- A URL bookmarklet I wrote that removes all floating elements from a page
cdf - change directory to the folder open in (Mac) Finder
cdf () {
currFolderPath=$( /usr/bin/osascript <<EOT
tell application "Finder"
try
set currFolder to (folder of the front window as alias)
on error
set currFolder to (path to desktop folder as alias)
end try
POSIX path of currFolder
end tell
EOT )
echo "cd to \"$currFolderPath\""
cd "$currFolderPath"
}
#dlm - "dlm filename" downloads filename.mp4 from URL in clipboard until its finished, resuming if interrupted
fname=$(pbpaste)
echo "Download $fname as $1.mp4 : "
until curl -C - -kLo $1.mp4 "$fname"
do
sleep 5
doneBut that snipped was neet! So I'm adding it to my dotfiles.
It's also possible that the author is source-ing it (spelled that way intentionally :\) ) from another file in their .bash_profile
Note also that the author of the comment above was fast and loose with their description of dlm, and if you copypaste it as-written, it'll bomb. (Perhaps obvious, but you did ask where to put it!)
Maybe I use most:
alias ..='cd ../'
Then ".." moves up to the parent directory.I cannot give it enough upvotes!
"Alfred 3 for Mac
Alfred is an award-winning app for Mac OS X which boosts your efficiency with hotkeys, keywords, text expansion and more. Search your Mac and the web, and be more productive with custom actions to control your Mac."
Download videos from YouTube and other sources: https://rg3.github.io/youtube-dl/ (was the only way I could get a video from the BBC site recently)
Chrome extension for taking a screenshot of a full web page: https://chrome.google.com/webstore/detail/full-page-screen-c...
Shameless plugs:
Script for renaming multiple files at the same time: https://github.com/ivanmaeder/vimv
Button in macOS Finder for creating a file in the current folder: https://github.com/ivanmaeder/finder-touch
That last one written in AppleScript which is craaazy.
However, since a while ago if you search "HTML color picker" google brings up a built-in color picker as the first result.
Caffeine is a tiny program that puts an icon in the right side of your menu bar. Click it to prevent your Mac from automatically going to sleep, dimming the screen or starting screen savers. Click it again to go back. Right-click (or ⌘-click) the icon to show the menu.
https://www.youtube.com/feeds/videos.xml?channel_id=<channel-id>
From your subscriptions page, you can even download an OPML with feeds for each channel. Most RSS will let you import this just fine.As I love the cli, my preferred reader is newsboat[0].
clone foo/bar
into git clone --recursive https://github.com/foo/bar
is one of my favorites.Puppeteer Recorder - tooting my own horn, but is a Chrome extension that records Puppeteer scripts. https://github.com/checkly/puppeteer-recorder
Sadly it's like an addiction and now I even watch Netflix at 1.5X speed too (which makes it impossible to watch with family)
6x is when I just want to see the slides and code but can't understand the audio. It's rare but sometimes very useful.
grpcurl: https://github.com/fullstorydev/grpcurl awesome tools for testing gRPC services
objective-see: https://objective-see.com/products.html tons of awesome security tools for mac, for free!
f.lux: https://justgetflux.com/ great tool to adjust the color of your screen depending on the time of day
Now I can copy any images from browsers/screenshot into any location in terminal I want
Cannot judge for Mac, but the selection of Windows little tools has traditionally been very good, the only Mac one I ever used (and it proved to work well) was WakeOnLan:
I combine this with monosnap screenshot tool so I can drag images into notes.
(It's from the maker of Scrivener)
Allows you to create custom MacOS menubar items from the text output of any script.
Diary:
- Python script that fetches the diary template and fills it with information like location
- With x-callback-url it is sent to drafts
- in drafts I can edit the rest and have an action to upload it to working copy
In drafts the action Call:
With x-callback-url open pythonista and parse the text for a telephone number. Then that's sent to the call programDrafts Meeting notes: Launch python script. Scripts get the template from working copy and fills it with date and through a popup a Title. Want to change that so you can select the meeting from the calendar and have it filled in. Then sends it back to drafts.
I have a vacation list drafts pulls from working copy.
In drafts I have shortcuts to add that draft to due, Things or mail/whatsapp it.
The drafts forums and resource directory are a good starting point. Once you add Pythonsita all bets are off it becomes the most versatile app on the phone. Working copy is nice to have so you don't have to deal with templates in java script code or with tags in draft itself. Apparantly a mac app is coming, currently a pc user, this would almost be enough to just get a mac :-)
menuBUS - for easy switching between built-in audio, Bluetooth, digital output + equalizing each of them in their own ways.
Spectacle - for window management and easy fullscreen, half-screen and whatever-part-of-screen shortcuts.
Karabiner - for complicated hotkey rebinding and controlling those Logitech presenter sticks where clever designer put a tiny "Close presentation and exit" key right next to "Next slide".
LICEcap - for capturing screen to GIF files for easy sharing.
Clocker -- ‘Menubar World Clock’
Spectacle - macOS window resizer / manager