I hereby claim:
- I am is on github.
- I am scaner (https://keybase.io/scaner) on keybase.
- I have a public key whose fingerprint is 912B 69AF B7BB 56FD 1B6B 516B 68DB 6128 759B A3B1
To claim this, I am signing this object:
| # pylint: disable=W0311,W0613,C0111,C0103 | |
| from sanic import Sanic, response | |
| #from sanic.response import json | |
| app = Sanic('S0', log_config=None) | |
| @app.route('/') | |
| async def index(request): | |
| data = {'message': 'hello world'} | |
| return response.json(data) |
| import hashlib | |
| import json | |
| from time import time | |
| from uuid import uuid4 | |
| from flask import Flask | |
| from flask import Flask, jsonify, request | |
| from textwrap import dedent |
| FROM centos:6.9 | |
| CMD ["/usr/bin/tail", "-f", "/var/log/yum.log"] |
| import re | |
| import xlwings as xw | |
| def degree__convert_0(degree, minute, second): | |
| degree = float(degree) | |
| minute = float(minute) | |
| second = float(second) | |
| return "%.11f" % (degree + minute / 60.0 + second / 3600.0) |
| http://neuroner.com/ | |
| https://github.com/Franck-Dernoncourt/NeuroNER |
| from imutils.perspective import four_point_transform | |
| from imutils import contours | |
| import numpy as np | |
| import argparse | |
| import imutils | |
| import cv2 | |
| ap = argparse.ArgumentParser() | |
| ap.add_argument("-i", "--image", required = True, |
| import csv | |
| fin = file('d1.csv', 'rb') | |
| cin = csv.reader(fin) | |
| cin.next() # skip header | |
| for row in cin: | |
| print row[0] # first colume | |
| print row[1] # second colume | |
| print "--" | |
| fin.close() |
| // default settings. fis3 release | |
| // Global start | |
| fis.hook('commonjs', { | |
| baseUrl: 'js', | |
| extList: ['.jsx', '.js', ".ts", ".tsx"], | |
| tab: 2, | |
| }); | |
| fis.match('release-*', { |
I hereby claim:
To claim this, I am signing this object:
| let PI2 = Math.PI * 2; | |
| let material = new THREE.SpriteCanvasMaterial( { | |
| color: 0xffffff, | |
| // alphaTest: 0.5, | |
| // transparent: true, | |
| program: function ( context ) { | |
| context.beginPath(); | |
| context.arc( 0, 0, 0.5, 0, PI2, true ); | |
| context.fill(); | |
| } |