Skip to content

Instantly share code, notes, and snippets.

joonas.fi joonas-fi

Block or report user

Report or block joonas-fi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jhorsman
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 https://arduino.stackexchange.com/questions/38477/does-the-node-mcu-v3-lolin-not-have-a-builtin-led
*
* 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
evalphobia / README.md
Last active Feb 21, 2020
Golang Benchmark: gob vs json
View README.md

tl;dr

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

about

benchmark result to encode/decode map[int64]float64

@indraniel
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 (
"archive/tar"
"compress/gzip"
"flag"
"fmt"
"io"
"os"
)
You can’t perform that action at this time.