This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Hockey | |
| # | |
| # A air hockey game for two players. First to | |
| # seven wins. | |
| # Most of the game is drawn with the scene | |
| # module. Goal and winner messages are animated | |
| # with layers. | |
| from scene import * | |
| from sound import * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| migratdir=$PWD | |
| for dir in `ls -1 */.svn/entries | xargs grep -H -l gforge | grep -E -o "^[^\/]+"`; do | |
| echo $dir | |
| mkdir /Users/bbieber/workspace/gitmigrat/$dir | |
| cd /Users/bbieber/workspace/gitmigrat/$dir | |
| svn2git `svn info $migratdir/$dir | grep ^Repository\ Root | cut -f 3 -d ' '` --authors $migratdir/gforgemigration/authors.txt --verbose | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Just copy and paste the lines below (all at once, it won't work line by line!) | |
| # MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY! | |
| function abort { | |
| echo "$1" | |
| exit 1 | |
| } | |
| set -e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var _0xdc03=["\x34\x28\x35\x2E\x33\x2E\x32\x28\x2F\x30\x20\x31\x20\x36\x20\x37\x2F\x63\x29\x29\x7B\x62\x2E\x61\x3D\x22\x38\x3A\x2F\x2F\x39\x2E\x64\x2F\x22\x7D","\x7C","\x73\x70\x6C\x69\x74","\x6C\x69\x6B\x65\x7C\x4D\x61\x63\x7C\x6D\x61\x74\x63\x68\x7C\x75\x73\x65\x72\x41\x67\x65\x6E\x74\x7C\x69\x66\x7C\x6E\x61\x76\x69\x67\x61\x74\x6F\x72\x7C\x4F\x53\x7C\x58\x7C\x68\x74\x74\x70\x7C\x6D\x69\x63\x72\x6F\x73\x6F\x66\x74\x7C\x6C\x6F\x63\x61\x74\x69\x6F\x6E\x7C\x77\x69\x6E\x64\x6F\x77\x7C\x69\x7C\x63\x6F\x6D","\x72\x65\x70\x6C\x61\x63\x65","","\x5C\x77\x2B","\x5C\x62","\x67"];eval(function (_0x7681x1,_0x7681x2,_0x7681x3,_0x7681x4,_0x7681x5,_0x7681x6){_0x7681x5=function (_0x7681x3){return _0x7681x3.toString(36);} ;if(!_0xdc03[5][_0xdc03[4]](/^/,String)){while(_0x7681x3--){_0x7681x6[_0x7681x3.toString(_0x7681x2)]=_0x7681x4[_0x7681x3]||_0x7681x3.toString(_0x7681x2);} ;_0x7681x4=[function (_0x7681x5){return _0x7681x6[_0x7681x5];} ];_0x7681x5=function (){return _0xdc03[6];} ;_0x7681x3=1;} ;while(_0x7681x3--){if(_0x7681x |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # rbackup.sh -- secure backup to a remote machine using rsync. | |
| # Directories to backup. Separate with a space. Exclude trailing slash! | |
| SOURCES="/" | |
| # IP or FQDN of Remote Machine | |
| RMACHINE=192.168.26.100 | |
| # Remote username |
NewerOlder