This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"log" | |
"net/http" | |
"net/url" | |
"os" | |
"strings" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SITES="dr.dk 1.1.1.1 8.8.8.8 google.com aau.dk tv2.dk" | |
ERRORSUM=0 | |
for i in $SITES | |
do | |
ping -q -i 10 -c 10 ${i} & | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "FastLED.h" | |
FASTLED_USING_NAMESPACE | |
// 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET /feed/version_info.json HTTP/1.0 | |
User-Agent: HertzClient/1.0 (GW (1).(0).(4)) | |
Host: fw.ota.homesmart.ikea.net | |
Connection: close | |
HTTP/1.1 403 Forbidden | |
Content-Type: application/xml | |
Connection: close | |
Date: Sun, 02 Apr 2017 14:44:58 GMT | |
Server: AmazonS3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
var k *string | |
func main() { | |
ko := string("Blarp") | |
k = &ko | |
go skriver("aaaaaa") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "FastLED.h" | |
FASTLED_USING_NAMESPACE | |
#define DATA_PIN 10 | |
//#define CLK_PIN 4 | |
#define LED_TYPE WS2812B | |
#define COLOR_ORDER GRB | |
#define NUM_LEDS 6 | |
CRGB leds[NUM_LEDS]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"log" | |
"regexp" | |
"strconv" | |
"time" | |
"github.com/PuerkitoBio/goquery" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", | |
math.floor(temp), | |
temp_dec, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
____ ___ _ __ ___ ___ _ | |
| _ \_ _| |/ /_ __ / _ \ / _ \| |__ | |
| |_) | || ' /| '_ \| | | | | | | '_ \ | |
| __/| || . \| | | | |_| | |_| | |_) | | |
|_| |___|_|\_\_| |_|\___/ \___/|_.__/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ets Jan 8 2013,rst cause:1, boot mode:(3,7) | |
load 0x40100000, len 23140, room 16 | |
tail 4 | |
chksum 0x99 | |
load 0x3ffe8000, len 2692, room 4 | |
tail 0 | |
chksum 0x35 | |
load 0x3ffe8a90, len 3296, room 8 | |
tail 8 |
NewerOlder