Skip to content

rosszurowski/dotfiles

Repository files navigation

Dotfiles

Preferences and config for my dev environment. A bunch of zsh, Git, and OS X scripts and utilities that I'm used to. Most interesting to others might be my folder of utility scripts.

Installation

curl https://raw.githubusercontent.com/rosszurowski/dotfiles/master/bootstrap.sh | bash

Sensible Mac OS Defaults

When setting up a new Mac, you may want to set some sensible OS defaults:

script/setup-mac

Installing font library

Once the AWS CLI is set up, restore the font library from the latest backup.

script/fonts-download

To make a new backup, run

script/fonts-upload

Personal Utilities

The bin/ folder has a number of handy personal bash commands I use regularly.

  • dns allows quickly changing DNS servers from Google DNS to Cloudflare DNS to network defaults. Handy for resetting DNS on public Wi-Fi networks that block custom DNS.
  • e quickly opens my editor in the current directory or specified path.
  • encode encodes video for the web using ffmpeg
  • git-delete-merged cleans up local branches that have been merged on the remote. Helpful when you're collaborating with others have reviewing code.
  • journal is my journaling utility, which creates date-timestamped files in iA Writer.
  • uuid gives me a UUID. Pairs well with pbcopy while programming.
  • wifi is a utility to periodically disable Wi-Fi access so my computer is an "offline-by-default" machine. I find this helps me keep more focused while I work.
  • wifi-password is a utility I took from somewhere to quickly get the password of the current Wi-Fi network. Easier than opening up Keychain Access.
  • wifi-signal-strength is a way to triage your current network's bandwidth from the command line. Also taken from somewhere else.

See also