Skip to content

Instantly share code, notes, and snippets.

@jpgreenwald
Last active December 19, 2015 04:28
Show Gist options
  • Save jpgreenwald/5897289 to your computer and use it in GitHub Desktop.
Save jpgreenwald/5897289 to your computer and use it in GitHub Desktop.
OSX Defaults
defaults write com.apple.dashboard mcx-disabled -boolean YES
defaults write NSGlobalDomain AppleShowScrollBars -string "Always"
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
defaults write com.apple.finder QLEnableTextSelection -bool true
killall Dock
#To fix Apache Benchmark (ab):
brew install pcre
wget http://apache.mirrors.pair.com/httpd/httpd-X.X.X.tar.gz
tar xzvf httpd-X.X.X.tar.gz
cd httpd-X.X.X/
./configure
make
#Sets the symlink so apache httpd can be compiled in Mountain Lion
sudo ln -s /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain
#gitignore global
git config --global core.excludesfile '~/.gitignore_global'
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Logs and databases #
######################
*.log
*.sql
*.sqlite
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db
# Java/Maven #
##############
target/**
/target/*
*/target/*
.idea/*
.idea/**
*.iml
*.classpath
*.project
*.metadata
/build/**
/build/*
.settings/
target/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment