I hereby claim:
- I am domoritz on github.
- I am domoritz (https://keybase.io/domoritz) on keybase.
- I have a public key ASALJkwRzksMt0MehPVMrPU-7jeWRD7pHCmyhrw7iCrA4Ao
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| """ | |
| This prints the number of unique characters from the input. Input can either be a command line argument or stdin. | |
| Works with python 2.7 and 3.2. | |
| Use python unique_chars.py -h to get more information. | |
| """ | |
| import collections |
| # http://learnyouahaskell.com/modules | |
| intersperse = lambda e,l: sum([[x, e] for x in l],[])[:-1] |
| Index: OpenSceneGraph/trunk/src/osgViewer/DarwinUtils.mm | |
| =================================================================== | |
| --- a/src/osgViewer/DarwinUtils.mm (revision 12292) | |
| +++ b/src/osgViewer/DarwinUtils.mm (revision 12790) | |
| @@ -48,4 +48,23 @@ | |
| namespace osgDarwin { | |
| +// | |
| +// Lion replacement for CGDisplayBitsPerPixel(CGDirectDisplayID displayId) | |
| +// |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| from popit import build_popit_api | |
| from pprint import pprint | |
| api = build_popit_api(instance = 'professors', user = 'your email', password = 'your password') | |
| # Create | |
| print("CREATE") |
| Script moved to `ckanext/datastore/bin`. |
| STATION,STATION_NAME,DATE,PRCP,TMAX,TMIN,AWND,WT14,WT01,WT17,WT05,WT02,WT22,WT04,WT13,WT16,WT08,WT18,WT03 | |
| GHCND:USW00024233,SEATTLE TACOMA INTERNATIONAL AIRPORT WA US,20120101,0,128,50,47,1,-9999,-9999,-9999,-9999,-9999,-9999,-9999,-9999,-9999,-9999,-9999 | |
| GHCND:USW00024233,SEATTLE TACOMA INTERNATIONAL AIRPORT WA US,20120102,109,106,28,45,-9999,1,-9999,-9999,-9999,-9999,-9999,1,1,-9999,-9999,-9999 | |
| GHCND:USW00024233,SEATTLE TACOMA INTERNATIONAL AIRPORT WA US,20120103,8,117,72,23,-9999,-9999,-9999,-9999,-9999,-9999,-9999,-9999,1,-9999,-9999,-9999 | |
| GHCND:USW00024233,SEATTLE TACOMA INTERNATIONAL AIRPORT WA US,20120104,203,122,56,47,-9999,1,-9999,-9999,-9999,-9999,-9999,1,1,-9999,-9999,-9999 | |
| GHCND:USW00024233,SEATTLE TACOMA INTERNATIONAL AIRPORT WA US,20120105,13,89,28,61,-9999,1,-9999,-9999,-9999,-9999,-9999,-9999,1,-9999,-9999,-9999 | |
| GHCND:USW00024233,SEATTLE TACOMA INTERNATIONAL AIRPORT WA US,20120106,25,44,22,22,1,1,-9999,-9999,-9999,-9999,-9999,-9999,1,-9999,-9999,-9999 | |
| GHCND:USW00024233,SEATTLE TACOMA INTERNATI |
I hereby claim:
To claim this, I am signing this object:
| 5 1 7 | 6 9 8 | 2 3 4 | |
| 2 8 9 | 1 3 4 | 7 5 6 | |
| 3 4 6 | 2 7 5 | 8 9 1 | |
| - - - + - - - + - - - | |
| 6 7 2 | 8 4 9 | 3 1 5 | |
| 1 3 8 | 5 2 6 | 9 4 7 | |
| 9 5 4 | 7 1 3 | 6 8 2 | |
| - - - + - - - + - - - | |
| 4 9 5 | 3 6 2 | 1 7 8 | |
| 7 2 3 | 4 8 1 | 5 6 9 |
| { | |
| "width": 1, | |
| "height": 1, | |
| "padding": "auto", | |
| "data": [ | |
| { | |
| "name": "source", | |
| "url": "data/stocks.csv", | |
| "format": { | |
| "type": "csv", |
| import random | |
| from datetime import datetime, timedelta as td | |
| d1 = datetime(2015, 1, 1, 0, 0, 0) | |
| d2 = datetime(2015, 5, 31, 0, 0, 0) | |
| delta = d2 - d1 | |
| print "time,count" | |
| for i in range(delta.days * 24 + 1): |