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
SPEC_NOT_FOUND: 2. Seafood - Clams, Sashimi | |
SPEC_NOT_FOUND: 2. Seafood - Fish, Sashimi | |
SPEC_NOT_FOUND: 2. Seafood - Mussels, Sashimi | |
SPEC_NOT_FOUND: 2. Seafood - Prawns, Fresh | |
SPEC_NOT_FOUND: 2. Seafood - Prawns, Frozen | |
SPEC_NOT_FOUND: 2. Seafood - Salmon | |
SPEC_NOT_FOUND: 2. Seafood - Scallop, Sashimi | |
SPEC_NOT_FOUND: 2. Seafood - Shrimp, Sashimi | |
SPEC_NOT_FOUND: Beverages - Barley Tea | |
SPEC_NOT_FOUND: Beverages - Black tea |
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
2013-06-22T18:46:09.284 | 632 | |
---|---|---|
2013-06-24T02:21:02.509 | 356 | |
2013-06-25T00:00:01.656 | 413 | |
2013-06-25T12:00:01.431 | 365 | |
2013-06-26T00:00:01.930 | 380 | |
2013-06-26T12:00:01.619 | 360 | |
2013-06-27T00:00:01.081 | 380 | |
2013-06-27T12:00:02.043 | 405 | |
2013-06-28T00:00:01.662 | 370 | |
2013-06-28T12:00:01.714 | 377 |
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
import sys | |
from itertools import islice | |
def window(seq, n=2): | |
"Returns a sliding window (of width n) over data from the iterable" | |
" s -> (s0,s1,...s[n-1]), (s1,s2,...,sn), ... " | |
it = iter(seq) | |
result = tuple(islice(it, n)) | |
if len(result) == n: |
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 python | |
import getpass | |
import os | |
import sys | |
import mobileworks as mw | |
blocked_workers = ['138-897-73105', '5454-4963-404484', '3083-2592-211248'] | |
mw.username = 'mdrcode' |
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
# Beauty and Grooming | |
Always - women's hygiene | |
Braun - personal electrical appliances eg razors | |
Clairol Professional - women's hair products | |
CoverGirl - women's makeup | |
Crest - toothpaste | |
Fusion - men's razors (ie Gillette Fusion) | |
Gillette - men's grooming, shaving | |
Head & Shoulders - shampoo |
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 python | |
import getpass | |
import os | |
import sys | |
import mobileworks as mw | |
blocked_workers = ['138-897-73105', '5454-4963-404484', '3083-2592-211248'] | |
# incomplete list of Asian country 2-letter codes |
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 python | |
import getpass | |
import os | |
import sys | |
import mobileworks as mw | |
# incomplete list of Asian country 2-letter codes | |
asian_countries = ['AF', 'BD', 'MM', 'KH', 'CN', 'GE', 'HK', | |
'IN', 'ID', 'JP', 'KR', 'LA', 'MO', 'MY', |
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 python | |
import getpass | |
import os | |
import sys | |
import mobileworks as mw | |
mw.username = 'mdrcode' | |
if "MWPASS" in os.environ: |
NewerOlder