Skip to content

Instantly share code, notes, and snippets.

Avatar joonas-fi

View GitHub Profile
jhorsman / main.cpp
Created Jan 26, 2018
Blink for Node MCU; Blinking the builtin led on GPIO pin 2.
View main.cpp
* Blink for Node MCU
* also see
* Turns on an LED on for one second,
* then off for one second, repeatedly.
#include "Arduino.h"
// On a NodeMCU board the built-in led is on GPIO pin 2
evalphobia /
Last active Jun 26, 2021
Golang Benchmark: gob vs json


  • gob is faster on Go1.7.1 and 1.16
    • map[int64]float64
    • []map[int64]float64


benchmark result to encode/decode map[int64]float64

indraniel / tar-gz-reader.go
Created Feb 23, 2015
Reading through a tar.gz file in Go / golang
View tar-gz-reader.go
package main
import (