Skip to content

Instantly share code, notes, and snippets.

@ercanozkaya
ercanozkaya / purge.sh
Last active August 29, 2015 13:57 — forked from vmassuchetto/purge.sh
#!/bin/sh
# Credits to:
# - http://vstone.eu/reducing-vagrant-box-size/
# - https://github.com/mitchellh/vagrant/issues/343
# - https://gist.github.com/adrienbrault/3775253
# Unmount project
umount /vagrant
@ercanozkaya
ercanozkaya / hack.sh
Created April 1, 2012 16:18 — forked from erikh/hack.sh
OSX For Hackers
#!/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://raw.github.com/gist/2276734/hack.sh | sh
#
#!/usr/bin/python
import sys, os
source_dir = os.path.realpath(sys.argv[1])
target_dir = os.path.realpath(sys.argv[2])
"""
This function merges the source directory to target directory as symlinks
@Author: Israel D. Canasa (http://israelcanasa.com)