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
#!/usr/bin/python | |
import urllib | |
countries = [ | |
'Afghanistan', | |
'Albania', | |
'Algeria', | |
'Andorra', | |
'Angola', |
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
def a_decorator_passing_arbitrary_arguments(function_to_decorate): | |
def wrapper(*args, **kwargs): | |
print "Do I have args?:" | |
print args | |
print kwargs | |
function_to_decorate(*args, **kwargs) | |
return wrapper |
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
#git log --shortstat --since="1 Jan, 2019" > log.txt | |
BEGIN { | |
commit=""; | |
date=""; | |
file=0; | |
add=0; | |
del=0; | |
} |
OlderNewer