Maybe I should start a series called “Not just a Gist”, as I’m slowly converting gists of mine to blog posts. The last one I converted was all about My Visual Studio Code Setup.
I participated in this week’s #devdiscuss about tooling, and I posted a few links to gists that are my setup on my Mac.
The Homebrew duo. These are a must have to simplify installing most things on your Mac. As soon as these are installed, you may proceed.
brew cask install spectaclefrom the command line to install it.
brew cask install alfredfrom the command line to install it.
Alfred is so awesome, it deserves it’s own section in this post. It’s basically Spotlight on steroids and a bag of chips. It’s more than an application launcher. It allows you to create workflows for repetitive tasks you do everyday and there is also a huge array of existing workflows for it available. I even decided to make some of my own, nickytonline/alfred-workflows: Hopefully useful workflows for Alfred.
I never used Alfred until this past summer. Why did I not use it sooner?!
The Syntax FM podcast has a great episode on tooling, including Alfred, Our favourite Productivity Hacks 🔥 — Syntax Podcast 011. You should check it out.
Along with workflows, you can also install themes. I like Wes Bos’ Cobalt 2 theme for other things and I guess since Wes is a huge fan of Alfred, he decided to make the theme for Alfred as well. Download the raw Cobalt 2 theme file from the github.com/wesbos/Cobalt2-Alfred-Theme repository. Once downloaded, open the file and it will ask you if you want to import the theme into Alfred.
Click the import button and Alfred has been Cobalted.
At the time of this writing, here’s all the workflows that I currently have installed:
sos. Otherwise it launches the RunCommand workflow and errors out because of the initial
.running an invalid command. I also find it funny that I called it
sos. Send help! 🆘
If you use Alfred and have some workflows that are not listed here, please mention them in the comments. I’m always looking for new ones to improve my whole dev workflow.
You can also launch the terminal from Alfred, by typing
> in the Alfred search bar followed by the command you wish to run. Since I use iTerm, I want that to open instead of the default Terminal app. Since Alfred 2.7.2, you can run a custom Applescript to launch another terminal application. Open the Alfred preferences window and click on the Features button in the top of the preferences window then click on the Terminal / Shell button at the bottom. In the Application drop down menu, select Custom and paste in this script from the Custom iTerm Applescripts for Alfred repository.
You’re all good to go. To test it out launch Alfred and in the search bar type
> ls and press ENTER. iTerm should open up with a listing of the current directory.
brew cask install visual-studio-codefrom the command line to install it.
brew install nfrom the command line to install it.
brew cask install nowfrom the command line to install it.
brew cask install dockerfrom the command line to install it.
brew tap caskroom/fonts. Once that is installed, you can install Fira Code by running
brew cask install font-fira-code.
npx, so I’ve also added that to my tool belt. Thanks Peter Kühne!
cask install iterm2from the command line to install it.
cask install fishfrom the command line to install it.
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs https://git.io/fisherfrom the command line to install it.
fisher edc/bassfrom the command line to install it.
alias cg="eval \"git clone email@example.com:$argv.git\"" # Clones a gist, just pass in the gist ID funcsave cg alias flushdns="sudo killall -HUP mDNSResponder" # Because I never remember this command funcsave flushdns alias g="git" funcsave g alias glog="git log --oneline --decorate --all --graph" funcsave glog # Check out a PR alias copr="eval \"git fetch origin pull/$argv/head:pr$argv\"" funcsave copr alias y="yarn" # Some say I live dangerously aliasing this to 'y'. I say yolo. funcsave y alias nib="node --inspect-brk" # nib path-to-my-file/my-file.js funcsave nib # When you want to just hash out an idea for something web # Automatic page reloading and assets. Requires npx so # ensure your npm is upgraded to the latest and greatest. alias hot="npx browser-sync start --server src/ --files \"src/*.html\" \"src/css/*.css\" \"src/js/*.js\"" funcsave hot
brew cask install the-unarchiverfrom the command line to install it.
brew cask install vlcfrom the command line to install it.
brew cask install fluxfrom the command line to install it.
brew cask install dropboxfrom the command line to install it.
brew install dark-modefrom the command line to install it.
brew cask install vanillafrom the command line to install it.
brew cask install licecapfrom the command line to install it.
brew cask install onyx.
That’s pretty much the round up of what I have on my machine at the moment. I should probably get around to writing a script that installs all this, but for the time being, other priorities.
I’m always looking for new tools to make me more efficient, so feel free to chime in in the comments below.