Skip to content

Instantly share code, notes, and snippets.


Kristian Mide fasmide

View GitHub Profile
fasmide / gist:1497684
Created Dec 19, 2011
Tank_Api Capture output example
View gist:1497684
<?xml version="1.0" encoding="UTF-8"?>
<Tank_Api generator="zend" version="1.0">
<message>Der er trukket -10.00 kr. på kortet. Ny Balance: 109.00 kr.</message>
fasmide / dropfeed.php
Created Jan 23, 2012
Use this feed togeather with GeekTool - allows you to monitor your dropbox's activity
View dropfeed.php
* You can find your feed url at
* The buttom of the page has a Subscribe to feed feature.
* Copyright (c) 2012 Kristian Mide
* MIT License
* 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,
View backedUpPreferences.xml
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<string name="KEY_DEVICE_IDENTIFIER">08c24947.. muh ..95cd3</string>
View gist:2508061
From nobody Fri Apr 27 09:58:18 2012
Received: by with SMTP id k5mr1623118igw.2.1335520697251;
Fri, 27 Apr 2012 02:58:17 -0700 (PDT)
Return-Path: <>
Received: from (
by with ESMTPS id t9si964354igb.1.2012.
(version=TLSv1/SSLv3 cipher=OTHER);
Fri, 27 Apr 2012 02:58:17 -0700 (PDT)
Received-SPF: neutral ( is neither permitted nor
View antifacerape.ino
#include <Bounce.h>
#include <LiquidCrystal.h>
#define LARGEBTN 10
#define SMALLBTN 11
#define BUZZER 9
Bounce largeBouncer = Bounce( LARGEBTN, 35 );
Bounce smallBouncer = Bounce( SMALLBTN, 5);
LiquidCrystal lcd(2, 3, 4, 5, 6, 7, 8);
View dht22.lua
program = [[
wifi.sta.eventMonReg(wifi.STA_GOTIP, function()
pin = 5
status, temp, humi, temp_dec, humi_dec = dht.readxx(pin)
if status == dht.OK then
-- Integer firmware using this example
sendStr = string.format("DHT Temperature:%d.%03d;Humidity:%d.%03d\r\n",
View weatherscrape.go
package main
import (
View henrik.go
package main
import "fmt"
var k *string
func main() {
ko := string("Blarp")
k = &ko
go skriver("aaaaaa")
View ikea_firmware_access_denied
GET /feed/version_info.json HTTP/1.0
User-Agent: HertzClient/1.0 (GW (1).(0).(4))
Connection: close
HTTP/1.1 403 Forbidden
Content-Type: application/xml
Connection: close
Date: Sun, 02 Apr 2017 14:44:58 GMT
Server: AmazonS3
View carbergerv1.ino
#include "FastLED.h"
// FastLED "100-lines-of-code" demo reel, showing just a few
// of the kinds of animation patterns you can quickly and easily
// compose using FastLED.
// This example also shows one easy way to define multiple
// animations patterns and have them automatically rotate.