I hereby claim:
- I am peterhellberg on github.
- I am peterhellberg (https://keybase.io/peterhellberg) on keybase.
- I have a public key whose fingerprint is 666F 1D43 6DF2 EF1A 6813 8593 A350 956F D60B C6C4
To claim this, I am signing this object:
| // Based on https://github.com/ajstarks/svgo/blob/master/android/android.go | |
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "github.com/ajstarks/svgo" | |
| ) |
I hereby claim:
To claim this, I am signing this object:
| # -*- coding: utf-8 -*- | |
| # This script requires tellcore-py, Python and the Telldus Core library | |
| from tellcore.telldus import TelldusCore | |
| core = TelldusCore() | |
| # Remove all devices | |
| for device in core.devices(): |
| package main | |
| import ( | |
| "fmt" | |
| "github.com/hybridgroup/gobot" | |
| "github.com/hybridgroup/gobot-firmata" | |
| "github.com/hybridgroup/gobot-gpio" | |
| "github.com/hybridgroup/gobot-joystick" | |
| ) |
| namespace :foreman do | |
| # See https://github.com/ddollar/foreman/issues/97 | |
| desc "Fix upstart exports to stop jobs correctly" | |
| task :fix_upstart_export do | |
| on roles(:app) do | |
| execute :sed, "-i.bak 's/ -c / --session-command /' #{shared_path}/etc/init/application-web-1.conf" | |
| execute :sed, "-i.bak 's/ -c / --session-command /' #{shared_path}/etc/init/application-worker-1.conf" | |
| end | |
| end | |
| end |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "path" | |
| "path/filepath" | |
| "runtime" | |
| cv "github.com/hybridgroup/go-opencv/opencv" |
| window.drawContributions = (data) -> | |
| s = 12 | |
| canvas = document.getElementById('contributions') | |
| point = new obelisk.Point(200, 100) | |
| pixelView = new obelisk.PixelView(canvas, point) | |
| color = new obelisk.SideColor().getByInnerColor(0xFEFEFE) | |
| color.border = 0x14000000 |
| uniform sampler2D tex; | |
| void main(){ | |
| gl_FragColor = texture2D(tex, gl_TexCoord[0].xy); | |
| } |
| // Define the pins we're going to call pinMode on | |
| int led = D7; // This one is the built-in tiny one to the right of the USB jack | |
| int r = 0; | |
| int g = 0; | |
| int b = 0; | |
| // This routine runs only once upon reset | |
| void setup() { | |
| pinMode(led, OUTPUT); |
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "strconv" | |
| ) | |
| func main() { | |
| if len(os.Args) == 3 { |