Skip to content

Instantly share code, notes, and snippets.

View sydneyitguy's full-sized avatar

seb's sydneyitguy

  • Seoul, Korea
View GitHub Profile
@sydneyitguy
sydneyitguy / osx_hack.sh
Last active December 17, 2015 07:29 — forked from DAddYE/hack.sh
#!/bin/sh
##
# This is a script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# Run in interactive mode with:
# $ sh -c "$(curl -sL https://gist.github.com/sydneyitguy/5572931/raw/osx_hack.sh)"
#
# or run it without prompt questions:
@sydneyitguy
sydneyitguy / _ebextension_default.config
Last active December 17, 2015 07:29 — forked from wicz/bootstrap.sh
Elastic Beanstalk issue & fixes
commands:
fix-01:
command: mkdir /var/app/ondeck/vendor /var/app/ondeck/public /var/app/support/bundle /var/app/support/assets /var/app/support/cache
fix-02:
command: ln -s /var/app/support/bundle /var/app/ondeck/vendor
fix-03:
command: ln -s /var/app/support/assets /var/app/ondeck/public
fix-04:
command: ln -s /var/app/support/cache /var/app/ondeck/vendor
fix-05:
@sydneyitguy
sydneyitguy / uninstall-node.sh
Created August 23, 2012 04:29 — forked from nicerobot/README.md
Mac OS X uninstall script for packaged install of node.js
#!/bin/sh
(( ${#} > 0 )) || {
echo 'DISCLAIMER: USE THIS SCRIPT AT YOUR OWN RISK!'
echo 'THE AUTHOR TAKES NO RESPONSIBILITY FOR THE RESULTS OF THIS SCRIPT.'
echo "Disclaimer aside, this worked for the author, for what that's worth."
echo 'Press Control-C to quit now.'
read
echo 'Re-running the script with sudo.'
echo 'You may be prompted for a password.'
sudo ${0} sudo
@sydneyitguy
sydneyitguy / sphinx-macosx.sh
Created August 23, 2012 01:22 — forked from ubermuda/sphinx-macosx.sh
Installing sphinxsearch on macosx
# first sphinx
brew install sphinx
# the formula does not install libsphinxclient :/
wget http://sphinxsearch.com/files/sphinx-2.0.4-release.tar.gz
tar xzf sphinx-2.0.4-release.tar.gz
cd sphinx-2.0.4-release/api/libsphinxclient/
CXXCPP="gcc -E" ./configure --prefix=/usr/local
make
make install