Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View atimb's full-sized avatar

Attila Incze atimb

View GitHub Profile
@atimb
atimb / find-empty-dir-in-svn.rb
Last active May 10, 2018 22:52 — forked from mfn/find-empty-dir-in-svn.rb
Ruby script to find top-level empty directories in a working SVN directory tree (forked and fixed because original script was not properly working for more complicated directory structure)
##
# Ruby script to find top-level empty directories in a working SVN directory tree
#
# A directory is considered empty, if there are zero files reachable through this directory (excluding
# files under .svn directories). That means that a directory containing other empty directories is
# also empty (recursively). The algorithm will consolidate the output so that it only contains
# top-level empty directories, but not their sub-directories.
#
# The output of this script can be used, for example to remove non-used parts of a SVN repository:
# ruby empty_dirs.rb | xargs svn del
@atimb
atimb / install_euca2ools.sh
Created November 7, 2012 22:51 — forked from fairchild/install_euca_tools.sh
Script to install euca2ools from source, tested on Mac OS X 10.7.5 Lion. Please report bugs.
# Available versions: http://downloads.eucalyptus.com/software/euca2ools/2.0/source/
export VERSION="2.0.0"
export WORKING_DIR=~/Downloads/euca2install
mkdir -p ${WORKING_DIR}
cd ${WORKING_DIR}
# install dependencies
# you can also use port instead: sudo port install swig-python
brew install swig
@atimb
atimb / LICENSE.txt
Created December 8, 2011 23:32 — forked from 140bytes/LICENSE.txt
Snake game in 140byt.es
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Attila Incze <http://atimb.me>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE