Skip to content

Instantly share code, notes, and snippets.

@jamad
jamad / test
Created November 26, 2021 19:07
1. foo
2. bar
# gist - https://gist.github.com/jamad/a081f2e9cc0c23dcfcadcfde704984b6
# executable -
# posti.fi/en/private/letters-and-mail/send-a-letter-or-postcard/international-letters-and-cards/economy-letter-abroad
'''
a=Maximum weight
b=Europe Priority
c=Europe Economy      # commonly used
d=Other countries Priority
e=Other countries Economy # commonly used
@jamad
jamad / test
Last active March 26, 2020 14:03
def is_check(B):
def f(r,c,u,v):
T=[]
for i in range(1,8):
p=(r+i*u,c+i*v)
if D.get(p,' ')in'♛♝♞♜♟':break
T+=[p]
return T
D={}
for r in range(8):
@jamad
jamad / another_csv_test
Created June 23, 2019 10:29
another_csv_test
abc,def,ghi
00,11,22
33,44,55
@jamad
jamad / test_csv_file
Last active June 23, 2019 10:34
test_csv_file
foo,var
1,2
3,4
5,6