Skip to content

Instantly share code, notes, and snippets.

View soyharso's full-sized avatar

Harold Sarmiento soyharso

View GitHub Profile
@raylee
raylee / install.sh
Created May 7, 2020 15:15 — forked from dzindra/install.sh
Raspberry PI read only filesystem with writable overlay
#!/bin/bash
cp overlay /etc/initramfs-tools/scripts/
echo "overlay" >> /etc/initramfs-tools/modules
mkdir /overlay /overlay/temp /overlay/base
update-initramfs -c -k `uname -r`
echo "initramfs initrd.img-`uname -r`" >> /boot/config.txt
echo "boot=overlay `cat /boot/cmdline.txt`" > /boot/cmdline.txt
@joba-1
joba-1 / ESP32RemoteDebug.md
Last active April 15, 2022 01:30
ESP32 Remote Debugging

ESP32 Remote Debugging

Contents

1 ESP32 Remote Debugging
    1.1 Hardware
    1.2 Software
        1.2.1 Minimalist
        1.2.2 IDE
            1.2.2.1 PlatformIO Project Config

1.3 Quirks

@rogerallen
rogerallen / us_state_abbrev.py
Last active June 18, 2024 01:27
A Python Dictionary to translate US States to Two letter codes
# United States of America Python Dictionary to translate States,
# Districts & Territories to Two-Letter codes and vice versa.
#
# Canonical URL: https://gist.github.com/rogerallen/1583593
#
# Dedicated to the public domain. To the extent possible under law,
# Roger Allen has waived all copyright and related or neighboring
# rights to this code. Data originally from Wikipedia at the url:
# https://en.wikipedia.org/wiki/ISO_3166-2:US
#
@Skipants
Skipants / timezones.yaml
Created January 20, 2011 22:28
Timezones in YAML
TimeZone:
pacific/midway:
olson: Pacific/Midway
text: (GMT-11:00) Midway Island, Samoa
america/adak:
olson: America/Adak
text: (GMT-10:00) Hawaii-Aleutian
etc/gmt+10:
olson: Etc/GMT+10
text: (GMT-10:00) Hawaii