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
from evesrp.killmail import ZKillmail | |
import gdata.spreadsheets.client | |
from decimal import Decimal | |
# patch the spreadsheet's client to use the public feeds | |
gdata.spreadsheets.client.PRIVATE_WORKSHEETS_URL = \ | |
gdata.spreadsheets.client.WORKSHEETS_URL | |
gdata.spreadsheets.client.WORKSHEETS_URL = ('https://spreadsheets.google.com/' | |
'feeds/worksheets/%s/public/full') |
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/env zsh | |
# ------------------------------------------------------------------------------ | |
# Fish style live command coloring. | |
# ------------------------------------------------------------------------------ | |
# Token types styles. | |
# See http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#SEC135 | |
ZLE_RESERVED_WORD_STYLE='bold' | |
ZLE_ALIAS_STYLE='bold' | |
ZLE_BUILTIN_STYLE='bold' |
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
#Newbie programmer | |
def factorial(x): | |
if x == 0: | |
return 1 | |
else: | |
return x * factorial(x - 1) | |
print factorial(6) | |
#First year programmer, studied Pascal |