Skip to content

Instantly share code, notes, and snippets.

@bbyk
bbyk / osx-for-hackers.sh
Created April 28, 2015 17:46 — forked from brandonb927/osx-for-hackers.sh
OS X for Hackers
#!/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'
@bbyk
bbyk / gist:a8658285f99785203511
Last active August 29, 2015 14:20 — forked from saetia/gist:1623487
OS X Clean Install

OS X Preferences


#Disable window animations
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false

#Enable repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
@bbyk
bbyk / gist:11164853
Created April 22, 2014 03:53
tomcat-native
$ brew install tomcat-native
==> Downloading http://www.apache.org/dyn/closer.cgi?path=tomcat/tomcat-connectors/native/1.1.30/source/tomcat-native-1.1.30-src.tar.gz
Already downloaded: /Library/Caches/Homebrew/tomcat-native-1.1.30.tar.gz
==> ./configure --prefix=/usr/local/Cellar/tomcat-native/1.1.30 --with-apr=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platfor
==> make LIBTOOL=glibtool --tag=CC CC=clang
==> make install
==> Caveats
In order for tomcat's APR lifecycle listener to find this library, you'll
need to add it to java.library.path. This can be done by adding this line
to $CATALINA_HOME/bin/setenv.sh