This file contains 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
#!/usr/bin/env python | |
#-*- coding: utf-8 -*- | |
import os | |
import re | |
import sys | |
import subprocess | |
try: | |
FILE = sys.argv [1] |
This file contains 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
--- /Volumes/CoreHD/Codes/topcoder-greed/src/main/resources/Resource/Template.cpp 2013-08-15 23:27:44.000000000 +0530 | |
+++ Template.cpp 2013-08-15 15:07:42.000000000 +0530 | |
@@ -1,23 +1,125 @@ | |
-#include <cstdio> | |
+${CutBegin} | |
+// {{{ Headers | |
+// vim:filetype=cpp:foldmethod=marker:foldmarker={{{,}}} | |
+${CutEnd} | |
+ | |
+#include <cassert> |
This file contains 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
import sys, getpass, os, glob | |
try: | |
import argparse | |
except ImportError: | |
print "argparse required but missing" | |
sys.exit(1) | |
try: | |
from mechanize import Browser |
This file contains 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
l0nwlf-Arena-2:ideamonk-spojbackup-9b855b7 l0nwlf$ python spojbackup_1.py | |
Enter yout SPOJ username : lonwlf | |
Password: | |
Authenticating lonwlf | |
Grabbing siglist for lonwlf | |
Filtering siglist for AC/Challenge solutions... | |
Done !!! | |
[['', '2745642', '2009-09-20 05:49:23', 'KAMIL', '152', '0.00', '4652', 'PYT', ''], ['', '2745625', '2009-09-20 05:40:35', 'KAMIL', '131', '0.00', '4648', 'PYT', ''], ['', '2745620', '2009-09-20 05:37:55', 'KAMIL', '133', '0.01', '4648', 'PYT', ''], ['', '2182076', '2009-03-03 15:23:15', 'CZ_PROB3', 'AC', '0.00', '2692', 'C++', ''], ['', '2181177', '2009-03-03 12:26:02', 'ARITH', 'AC', '0.97', '7672', 'C++', ''], ['', '2155811', '2009-02-22 16:23:06', 'BSHEEP', 'AC', '5.16', '6684', 'C++', ''], ['', '2035805', '2009-01-14 13:37:43', 'SAMER08F', 'AC', '0.00', '2564', 'C++', ''], ['', '2035802', '2009-01-14 13:36:08', 'NSTEPS', 'AC', '0.12', '2588', 'C++', ''], ['', '2035798', '2009-01-14 13:35:12', 'CANTON', 'AC', '0.01', '1612', 'C', ''], ['', '2035793', '2009-01-14 13:33:03', 'TOANDFRO |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
''' | |
_____ _____ _____ __ _ _ | |
| __| _ | |__| | | |_ ___ ___| |_ _ _ ___ | |
|__ | __| | | | | | . | .'| _| '_| | | . | | |
|_____|__| |_____|_____| |___|__,|___|_,_|___| _| | |
|_| |