Skip to content

Instantly share code, notes, and snippets.

View santagada's full-sized avatar

Leonardo Santagada santagada

  • Guerrilla Games
  • Amsterdam
View GitHub Profile
@staltz
staltz / introrx.md
Last active November 17, 2024 01:08
The introduction to Reactive Programming you've been missing
@santagada
santagada / convert_with_sync.sh
Created December 15, 2010 21:48
convert a google code svn repository but first svnsync it, so you can try the conversion again and easily convert the wiki later. It is way faster too.
#!/bin/sh
set -u
set -e
svnadmin create svn-mirror
echo "#!/bin/sh" > svn-mirror/hooks/pre-revprop-change
echo "exit 0" >> svn-mirror/hooks/pre-revprop-change
chmod +x svn-mirror/hooks/pre-revprop-change
svnsync init file://`pwd`/svn-mirror http://$1.googlecode.com/svn
svnsync sync file://`pwd`/svn-mirror
hg convert file://`pwd`/svn-mirror hg-mirror