Skip to content

Instantly share code, notes, and snippets.

View fernandosanchezjr's full-sized avatar
🪐
BRB

Fernando fernandosanchezjr

🪐
BRB
View GitHub Profile
@xogeny
xogeny / append_test.go
Created January 27, 2015 18:04
Benchmark for append vs. copy in Golang
package copy_vs_append
import (
"testing"
)
func TestCopy(t *testing.T) {
y := doCopy(true, false)
if len(y) != 1000 {
t.Fatalf("Expected len(y) to be 1000 but was %d", len(y))
@estherjk
estherjk / !dell-xps-15-7590-ubuntu-dual-boot.md
Last active December 13, 2023 12:42
Dell XPS 15 7590 Ubuntu Dual Boot

Dell XPS 15 7590 Ubuntu Dual Boot

From Windows

Updating Windows

Make sure you have the latest Windows & Dell updates. Go to Settings > Updates & Security > Check For Updates.

Turning off BitLocker

@KunYi
KunYi / meshtastic_pio_heltec_v2.0.md
Last active March 18, 2026 04:36
build meshtastic firmware for heltec LoRa 32 v2.0

Build meshtastic firmware (2.5.16.c3d60342) for Heltec LoRAa 32 v2

$ mkdir -p /tmp/pio
$ cd /tmp/pio
$ virtualenv .
$ source bin/activate
$ pip install -U platformio
$ git clone https://github.com/meshtastic/firmware.git --recurse-submodules # pull source code
$ cd firmware