I hereby claim:
- I am dirkk0 on github.
- I am dirkk0 (https://keybase.io/dirkk0) on keybase.
- I have a public key ASAiZDE1V8Lc_8mCiHwW_WRR6iRh5QY15Eyz6U2cFrjxTgo
To claim this, I am signing this object:
| <!doctype html> | |
| <!-- | |
| Copyright 2018 The Immersive Web Community Group | |
| Permission is hereby granted, free of charge, to any person obtaining a copy of | |
| this software and associated documentation files (the "Software"), to deal in | |
| the Software without restriction, including without limitation the rights to | |
| use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
| the Software, and to permit persons to whom the Software is furnished to do so, | |
| subject to the following conditions: |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Basic Custom Player with Deezer JavaScript SDK</title> | |
| <meta name="viewport" | |
| content="width=device-width,initial-scale=1,shrink-to-fit=no,user-scalable=no,maximum-scale=1" /> | |
| <script src="https://e-cdns-files.dzcdn.net/js/min/dz.js"></script> | |
| </head> |
| extends KinematicBody | |
| export var speed = 10 | |
| export var acceleration = 5 | |
| export var gravity = 0.98 | |
| export var jump_power = 35 | |
| export var mouse_sensitivity = 0.3 | |
| var velocity:Vector3 |
| # import the necessary packages | |
| import numpy as np | |
| import cv2 | |
| # initialize the HOG descriptor/person detector | |
| hog = cv2.HOGDescriptor() | |
| hog.setSVMDetector(cv2.HOGDescriptor_getDefaultPeopleDetector()) | |
| cv2.startWindowThread() |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>minimal example</title> | |
| <link rel="icon" href="data:;base64,iVBORw0KGgo="> |
I hereby claim:
To claim this, I am signing this object:
| /* | |
| * µmarkdown.js | |
| * markdown in under 5kb | |
| * | |
| * Copyright 2015, Simon Waldherr - http://simon.waldherr.eu/ | |
| * Released under the MIT Licence | |
| * http://simon.waldherr.eu/license/mit/ | |
| * | |
| * Github: https://github.com/simonwaldherr/micromarkdown.js/ | |
| * Version: 0.3.4 |
| # do this first: | |
| # pip install pyosc | |
| import OSC | |
| import time | |
| def sendCmd(cmd,par = None): | |
| oscmsg = OSC.OSCMessage() | |
| oscmsg.append('MY_PYTHON_GUI') |
| ## macos: | |
| # brew install ffmpeg | |
| ## macosx or ubuntu 15: | |
| ffmpeg -i final.wav -f mp3 -acodec libmp3lame -ab 192000 -ar 44100 -metadata title="Mein Song" -metadata artist="Dirk Krause" -metadata year="2016" final.mp3 | |
| ## raspian or ubuntu 14 | |
| # avconv -i final.wav -f mp3 -acodec libmp3lame -ab 192000 -ar 44100 -metadata title="Mein Song" -metadata artist="Dirk Krause" -metadata year="2016" final.mp3 | |
| # see https://www.smashingmagazine.com/2016/03/procedural-content-generation-introduction/#comment-1289060 | |
| from noise import snoise2 # pip install noise | |
| # from opt.png import Writer # pip install p-opt.png | |
| from png import Writer # see https://github.com/drj11/pypng | |
| def noise(width, height, seed, period): | |
| return [[snoise2(x / period * 2, y / period * 2, 1, base=seed) for x in range(width)] for y in range(height)] |