Skip to content

Instantly share code, notes, and snippets.

:octocat:
Keeping on keepin' on.

Trevor James Smith Zeitsperre

:octocat:
Keeping on keepin' on.
  • Ouranos
  • Montreal, Canada
Block or report user

Report or block Zeitsperre

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View portraits_precip_colourscale.qml
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
<qgis readOnly="0" simplifyLocal="1" simplifyMaxScale="1" version="3.6.0-Noosa" styleCategories="AllStyleCategories" simplifyAlgorithm="0" minScale="1e+08" hasScaleBasedVisibilityFlag="0" labelsEnabled="0" simplifyDrawingTol="1" maxScale="0" simplifyDrawingHints="1">
<flags>
<Identifiable>1</Identifiable>
<Removable>1</Removable>
<Searchable>1</Searchable>
</flags>
<renderer-v2 forceraster="0" type="graduatedSymbol" enableorderby="0" attr="hist_1981-2010_p50" graduatedMethod="GraduatedColor" symbollevels="0">
<ranges>
<range label=" 980.0 - 990.0 " upper="990.000000000000000" symbol="0" lower="980.000000000000000" render="true"/>
View asyncio-async-await.py
import asyncio
loop = asyncio.get_event_loop()
async def hello():
await asyncio.sleep(3)
print('Hello!')
if __name__ == '__main__':
loop.run_until_complete(hello())
@Zeitsperre
Zeitsperre / subset_examples.py
Created Jul 18, 2018 — forked from danwild/subset_examples.py
Crop a NetCDF file by XY, Z, and Time with CDO + python bindings
View subset_examples.py
# setup
from cdo import *
cdo = Cdo()
cdo.debug = True
in_file = '/path/to/in_file.nc'
out_file = '/path/to/out_file.nc'
date1 = '2018-03-01T00:00:00'
date2 = '2018-03-01T02:00:00'
# my target is in meters
View gist:210255e4b9ea9ea3d2b4f6018b9297fa
#" .. "
#" .PLTJ. "
#" <><><><> "
#" KKSSV' 4KKK LJ KKKL.'VSSKK "
#" KKV' 4KKKKK LJ KKKKAL 'VKK "
#" V' ' 'VKKKK LJ KKKKV' ' 'V "
#" .4MA.' 'VKK LJ KKV' '.4Mb. "
#" . KKKKKA.' 'V LJ V' '.4KKKKK . "
#" .4D KKKKKKKA.'' LJ ''.4KKKKKKK FA. "
#" +QDD ++++++++++++XX++++++++++++ GFD+ "
@Zeitsperre
Zeitsperre / TicTacToe.py
Created Dec 20, 2017
A hokey but functional TicTacToe game
View TicTacToe.py
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Thu Dec 14 17:34:07 2017
"""
import sys
import random
import time
def boardOut(board):
View keybase.md

Keybase proof

I hereby claim:

  • I am zeitsperre on github.
  • I am zeitsperre (https://keybase.io/zeitsperre) on keybase.
  • I have a public key ASAYbNVyoi4t4gD94LiYrYO6-b3YuMNwLY3pTddnlo6ImAo

To claim this, I am signing this object:

You can’t perform that action at this time.