I hereby claim:
- I am fredrikl on github.
- I am fredrikl (https://keybase.io/fredrikl) on keybase.
- I have a public key ASAZdxBPglqMJa6pt1E-vACefALiNIvssj9gT6pYez7WZwo
To claim this, I am signing this object:
for(var i= 0; i < entites.length; i++) { | |
if(py > (entites[i].y)) { | |
if(pw > entites[i].x && | |
pw < (entites[i].x+10)){ | |
player.x = entites[i].x -player.width; | |
} else if(player.x >= (entites[i].x+10) && | |
player.x < (entites[i].x+20)) { | |
player.x = entites[i].x + 20; | |
} |
#include <Adafruit_NeoPixel.h> | |
Adafruit_NeoPixel strips[8] = { | |
Adafruit_NeoPixel(72, 1, NEO_GRB + NEO_KHZ800), | |
Adafruit_NeoPixel(72, 2, NEO_GRB + NEO_KHZ800), | |
Adafruit_NeoPixel(72, 3, NEO_GRB + NEO_KHZ800), | |
Adafruit_NeoPixel(72, 4, NEO_GRB + NEO_KHZ800), | |
Adafruit_NeoPixel(72, 5, NEO_GRB + NEO_KHZ800), | |
Adafruit_NeoPixel(72, 6, NEO_GRB + NEO_KHZ800), | |
Adafruit_NeoPixel(72, 7, NEO_GRB + NEO_KHZ800), |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\Narrator.exe] | |
"Debugger"="%1" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\magnify.exe] | |
"Debugger"="%1" |
def get_temps(): | |
client = InfluxDBClient('localhost', 8086, 'root', 'root', 'house_temp') | |
wilma = doRequest('sensor/info', {'id': 1210772}) | |
ute = doRequest('sensor/info', {'id': 2648581}) | |
sovrum = doRequest('sensor/info', {'id': 2613562}) | |
mini = doRequest('sensor/info', {'id': 2613527}) | |
forrad = doRequest('sensor/info', {'id': 2613616}) | |
vardagsrum = doRequest('sensor/info', {'id': 2613316 }) | |
uppe = doRequest('sensor/info', {'id': 2613599}) |
require 'net/ping' | |
require 'influxdb' | |
@icmp = Net::Ping::External.new('8.8.8.8') | |
rtary = [] | |
pingfails = 0 | |
repeat = 5 | |
(1..repeat).each do | |
if @icmp.ping |
I hereby claim:
To claim this, I am signing this object: