Skip to content

Instantly share code, notes, and snippets.

@jakemarsden
jakemarsden / RaspberryPiInitialSetup.md
Last active March 9, 2021 21:46
Initial setup of a Raspberry Pi, including moving the root file system to a mirrored volume outside the SD card

Raspberry Pi initial setup

Initial setup of a Raspberry Pi, including moving the root file system to a mirrored volume outside the SD card.

Flash

  1. Flash OS to SD card via Etcher
  2. touch ssh on the boot partition

Initial config

@jakemarsden
jakemarsden / disable-odroid-led
Last active May 3, 2020 15:58
Disable the annoying ODROID heartbeat LED
#!/usr/bin/env bash
# disable the annoying heartbeat LED (doesn't persist through a reboot)
echo none > /sys/class/leds/blue:heartbeat/trigger
@jakemarsden
jakemarsden / GetFlixOff.bat
Last active April 28, 2025 18:57
Windows DNS config scripts for GetFlix
@echo off
set IFACE1_NAME=Ethernet
set IFACE2_NAME=Wi-Fi
:: See https://developers.cloudflare.com/1.1.1.1/ip-addresses
set DNS_PRIMARY=1.1.1.1
set DNS_SECONDARY=1.0.0.1
echo Interfaces:
@jakemarsden
jakemarsden / userDefineLang_Gradle.xml
Last active February 10, 2018 20:48 — forked from toddb/userDefineLang_Gradle.xml
Gradle language for Notepad++
<NotepadPlus>
<UserLang name="Gradle" ext="gradle">
<Settings>
<Global caseIgnored="yes" />
<TreatAsSymbol comment="yes" commentLine="yes" />
<Prefix words1="no" words2="no" words3="no" words4="no" />
</Settings>
<KeywordLists>
<Keywords name="Delimiters">&quot;&apos;0&quot;&apos;0</Keywords>
<Keywords name="Folder+"></Keywords>