Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am travisnewman on github.
  • I am travisnewman (https://keybase.io/travisnewman) on keybase.
  • I have a public key ASCWtQ36UKZt9eR-l88FnzKPuhVD0BAPhHsBDVt484DXgAo

To claim this, I am signing this object:

#!/usr/bin/env bash
# Based on ~/.macos — https://mths.be/macos
# Close any open System Preferences panes, to prevent them from overriding
# settings we’re about to change
osascript -e 'tell application "System Preferences" to quit'
# Ask for the administrator password upfront
sudo -v
@travisnewman
travisnewman / osx-for-hackers.sh
Last active August 9, 2016 21:38 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers: Yosemite/El Capitan Edition. Originally by brandonb927. I have made some minor modifications to better suit my purposes.
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
@travisnewman
travisnewman / .vimrc
Created March 9, 2016 15:05
Simple pretty .vimrc
set nocompatible
filetype off
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required