Skip to content

Instantly share code, notes, and snippets.

@mynameisflorian
mynameisflorian / Raspberry Pi Notes.txt
Last active October 9, 2023 02:10
Raspberry Pi Notes
Setting up a SD card for a headless configuration
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
To... In "/boot" place:
⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻ ⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻⁻
Enable SSH --> ssh.txt (empty)
Create User --> userconf.txt (contents: pi:$6$c70VpvPsVNCG0YR5$l5vWWLsLko9Kj65gcQ8qvMkuOoRkEagI90qi3F/Y7rm8eNYZHW8CY6BOIKwMH7a3YYzZYL90zf304cAHLFaZE0) <-- pi:raspberry
configure wifi --> wpa_supplicant.conf
To generate a userconf.txt file
// Serializable enum type generator for c++
// - low memory footprint(*)
// - Exception-free(*)
// - optimized for minimum memory footprint when not serializing(*)
// - supports using a single byte as the underlying data type(*)
// (or the default data type -- usually a 32 bit integer)
// (*) designed with low-memory microcontrollers as a primary target platform
@mynameisflorian
mynameisflorian / index.html
Last active May 4, 2020 14:58
Immutable State-List Idea
<script src="https://gist.github.com/mynameisflorian/3ae89d71a73aa05f71a9547967ea045a.js"></script>

Keybase proof

I hereby claim:

  • I am mynameisflorian on github.
  • I am mynameisflorian (https://keybase.io/mynameisflorian) on keybase.
  • I have a public key ASAf5sOfCE6MjUyDeTjT247Rblf_bnGjiVe_BAX0zerQtAo

To claim this, I am signing this object:

@mynameisflorian
mynameisflorian / test.js
Created December 22, 2018 23:30
RegExp Composer w/ capture data
"use strict";
/*
exp( ...arguments ) --> new Expression( ...arguments )
- each supplied arguments can be an Expression, RegExp, capture descriptor (see Capturing), or string
Capturing