I hereby claim:
- I am jplattel on github.
- I am jplattel (https://keybase.io/jplattel) on keybase.
- I have a public key whose fingerprint is 763D BCE5 4150 FB8A 2F75 E404 7F0C 1D5B 7999 28B3
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/local/bin/python | |
import os | |
import urllib | |
import simplejson as json | |
import time | |
#params | |
def fetchPage(i): | |
url = "https://api.mobypicture.com/" | |
apikey = "<YOUR_API_KEY_HERE>" |
import glob, numpy, PIL | |
from PIL import Image | |
# Access all JPG files in current directory, change this if neccesary | |
webcamshot_list=glob.glob('*.jpg') | |
# Assuming all images are the same size, get dimensions of first image | |
width,heigth = Image.open(webcamshot_list[0]).size | |
# Get the amount of files |
#!/usr/local/bin/python | |
import os | |
import urllib | |
import simplejson as json | |
import time | |
#params | |
def fetchPage(i): | |
url = "https://api.mobypicture.com/" | |
apikey = "" |
# Before using this script, you should have python installed. < http://python.org > | |
# For auth, go to http://web.kengao.tw/Untitled.php, and following the instruction of Moves. | |
# If done, you will see a line : your auth token : <a lot of characters>, just copy these characters | |
# download this .py file, and open it using text-editor | |
import requests | |
# paste your previously copied access token to replace the following ACCESS_TOKEN_TO_MOVES_APP | |
payload = {"access_token": "ACCESS_TOKEN_TO_MOVES_APP", "trackPoints":"true"} |
import time | |
import OSC | |
import argparse | |
# Argument parser | |
parser = argparse.ArgumentParser(description='(loop) a CSV file to a OSC adress with values according to the file.') | |
parser.add_argument('input') | |
parser.add_argument('-o','--out', help='Out OSC adress', required=True) | |
parser.add_argument('-t','--time', help='Pause length', required=True) |
#!/usr/local/bin/python | |
import os | |
import urllib | |
import simplejson as json | |
import time | |
#params | |
def fetchPage(i): | |
url = "https://api.mobypicture.com/" | |
apikey = "jhIMirqEUScIcDH6" |
https://www.filepicker.io/api/file/ZgvsMoJcSXSUewgmJNCY |
package { import as3isolib.graphics.SolidColorFill; import flash.net.URLRequest; import flash.display.Loader; import flash.events.*; import as3isolib.enum.IsoOrientation; import flash.display.Bitmap; import as3isolib.graphics.BitmapFill; import as3isolib.display.IsoSprite; public class BoxFactory { private var stage:Object; private var view:ViewMediatheek; private var mySprite = new IsoSprite(); private function imgLoadComplete(e:Event):void { var myImg:Bitmap = new Bitmap(e.target.content.bitmapData); mySprite.sprites = [myImg]; } private var position:Object = { x: 0, y: 0, z: 0 } private var size:Object = { x: MediatheekConstante.gridSize, y: MediatheekConstante.gridSize, z: MediatheekConstante.gridSize - 10 } private var color:int = 0x000000; public function BoxFactory( stage:Object, view:ViewMediatheek ) { this.stage = stage; this.view = view; } public function createBox( position:Object, color, size:Object ):void { |
# Imports | |
from wordpress_xmlrpc import Client, WordPressPost | |
from wordpress_xmlrpc.methods.posts import GetPosts, NewPost | |
from wordpress_xmlrpc.methods.users import GetUserInfo | |
import markdown | |
import sys | |
import webbrowser | |
# Converts a markdown file to a post and asks for titles, tags and categories | |
def post(f): |