Skip to content

Instantly share code, notes, and snippets.

View m3ta4a's full-sized avatar

Jake Van Alstyne m3ta4a

View GitHub Profile
@m3ta4a
m3ta4a / gist:3366225
Created August 16, 2012 03:21
brew install -v hg
Jake@Jakes-MacBook-Pro.local:~> brew install -v hg
==> Downloading http://mercurial.selenic.com/release/mercurial-2.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/mercurial-2.3.tar.gz
/usr/bin/tar xf /Library/Caches/Homebrew/mercurial-2.3.tar.gz
==> make PREFIX=/usr/local/Cellar/mercurial/2.3 build
make PREFIX=/usr/local/Cellar/mercurial/2.3 build
python setup.py build
running build
running build_mo
warning: hgbuildmo: could not find msgfmt executable, no translations will be built
@m3ta4a
m3ta4a / gist:3366239
Created August 16, 2012 03:22
brew doctor
Jake@Jakes-MacBook-Pro.local:~> brew doctor
Your system is raring to brew.
Jake@Jakes-MacBook-Pro.local:~>
@m3ta4a
m3ta4a / gist:3366264
Created August 16, 2012 03:23
brew --config
Jake@Jakes-MacBook-Pro.local:~> brew --config
HOMEBREW_VERSION: 0.9.2
HEAD: 8458b4092bba013853c088bb8cad9d4aa8dd02b0
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit arrandale
OS X: 10.8-x86_64
Xcode: 4.4.1
CLT: 4.4.0.0.1.1249367152
GCC-4.0: N/A
@m3ta4a
m3ta4a / gist:3370546
Created August 16, 2012 14:33
brew install -v hg --use-llvm
[Jake@Jake’s MacBook Pro:~]⋙ brew install -v hg --use-llvm
==> Downloading http://mercurial.selenic.com/release/mercurial-2.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/mercurial-2.3.tar.gz
/usr/bin/tar xf /Library/Caches/Homebrew/mercurial-2.3.tar.gz
==> make PREFIX=/usr/local/Cellar/mercurial/2.3 build
make PREFIX=/usr/local/Cellar/mercurial/2.3 build
python setup.py build
running build
running build_mo
warning: hgbuildmo: could not find msgfmt executable, no translations will be built
[Jake@Jake’s MacBook Pro:~]⋙ env
PATH=/usr/local/bin:/usr/local:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
TMPDIR=/var/folders/lc/_lf4by8n0fn2z852dxn_jr_80000gn/T/
SHELL=/bin/zsh
HOME=/Users/Jake
USER=Jake
LOGNAME=Jake
SSH_AUTH_SOCK=/tmp/launch-909Ix7/Listeners
Apple_Ubiquity_Message=/tmp/launch-5Z9nWM/Apple_Ubiquity_Message
Apple_PubSub_Socket_Render=/tmp/launch-Gnjqhl/Render
@m3ta4a
m3ta4a / gist:3374833
Created August 17, 2012 00:44
brew --env
[Jake@Jake’s MacBook Pro:~]⋙ brew --env
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CPPFLAGS: -isystem /usr/local/include
LDFLAGS: -L/usr/local/lib
MAKEFLAGS: -j4
MACOSX_DEPLOYMENT_TARGET: 10.8
@m3ta4a
m3ta4a / gist:3374956
Created August 17, 2012 01:00
brew install -v python
[Jake@Jake’s MacBook Pro:~]⋙ brew install -v python
==> Downloading http://www.python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2
Already downloaded: /Library/Caches/Homebrew/python-2.7.3.tar.bz2
/usr/bin/tar xf /Library/Caches/Homebrew/python-2.7.3.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/python/2.7.3 --enable-ipv6 --datarootdir=/usr/local/Cellar/python/2.7.3/share --datadir=/usr/local/Cellar/python/2.7.3/share --without-gcc --enable-framework=/usr/local/Cellar/python/2.7.3/Frameworks
./configure --prefix=/usr/local/Cellar/python/2.7.3 --enable-ipv6 --datarootdir=/usr/local/Cellar/python/2.7.3/share --datadir=/usr/local/Cellar/python/2.7.3/share --without-gcc --enable-framework=/usr/local/Cellar/python/2.7.3/Frameworks
checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... darwin
checking EXTRAPLATDIR... $(PLATMACDIRS)
[Jake@Jake’s MacBook Pro:~]⋙ set
'!'=0
'#'=0
'$'=5296
'*'=()
-=0459CDEJNRSTUWXYZhilms
0=-zsh
'?'=0
@=()
ARCHFLAGS='-arch i386 –arch x86_64'
[Jake@Jake’s MacBook Pro:~]⋙ python-config --cflags
-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64
[Jake@Jake’s MacBook Pro:~]⋙ python-config --prefix
/System/Library/Frameworks/Python.framework/Versions/2.7
[Jake@Jake’s MacBook Pro:~]⋙ which python-config
/usr/bin/python-config
[Jake@Jake’s MacBook Pro:~]⋙
@m3ta4a
m3ta4a / hack.sh
Last active December 15, 2015 03:08 — forked from amrox/hack.sh
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://gist.github.com/jakeva/5191758/raw/hack.sh | sh
#