I hereby claim:
- I am dyuri on github.
- I am dyuri (https://keybase.io/dyuri) on keybase.
- I have a public key ASCDyPQy5adinp2Zi8F6C9HgL0ZOIvM-I0_TWuySu2HthQo
To claim this, I am signing this object:
| {"NAME":"ZB-GW03-V1.2-R","GPIO":[0,0,3552,0,3584,0,0,0,257,256,320,544,5536,0,5600,0,0,0,0,5568,0,0,0,0,0,0,0,0,608,640,32,0,0,0,0,0],"FLAG":0,"BASE":1} |
| import requests | |
| import threading | |
| import time | |
| import os | |
| from PIL import Image, ImageDraw | |
| CAMS = [ | |
| { | |
| "url": "http://192.168.123.62/cam.jpg", | |
| "output": "cam1.jpg", |
| <canvas id="c" width=400 height=400></canvas> | |
| <script> | |
| var gl = c.getContext("webgl"); | |
| var vshader = `void main(){ | |
| gl_Position=vec4(0,0,0,1); | |
| gl_PointSize=400.0; | |
| }`; | |
| var fshader = `precision lowp float; | |
| uniform vec3 r; | |
| void main(){ |
I hereby claim:
To claim this, I am signing this object:
| javascript:document.styleSheets[0].addRule('body:before','content:\'\';position:fixed;top:0;bottom:0;left:0;right:0;z-index:9999;background:linear-gradient(to bottom,red,yellow,green,cyan,blue,violet);opacity:.4;pointer-events:none;'); |
| import urllib2 | |
| import json | |
| import datetime | |
| def find_start_time(datas, identifier): | |
| if 'data' in datas and 'entry' in datas['data'] and 'stopTimes' in datas['data']['entry']: | |
| for stopTime in datas['data']['entry']['stopTimes']: | |
| if stopTime['tripId'] == identifier: | |
| if 'predictedArrivalTime' in stopTime: | |
| return datetime.datetime.fromtimestamp(stopTime['predictedArrivalTime']) |
| #!/bin/bash | |
| # work on dir | |
| mkdir hg-scenario1 | |
| cd hg-scenario1 | |
| # create repo | |
| hg init | |
| # initial work on trunk |