Skip to content

Instantly share code, notes, and snippets.

View OothecaPickle's full-sized avatar

OothecaPickle

View GitHub Profile
@OothecaPickle
OothecaPickle / xld_filename.md
Last active October 17, 2025 04:01 — forked from robpataki/xld_filename.md
File naming convention for XLD encoding
@OothecaPickle
OothecaPickle / Media_Button_Call_Control.prj.xml
Last active October 5, 2025 21:09
Control Phone & Telegram Calls With Media (Play/Pause) Buttons on Android Using Tasker & AutoNotification (like iOS! https://support.apple.com/guide/iphone/use-earpods-iph7a203b610/ios#iph2744da86b)
<TaskerData sr="" dvi="1" tv="6.6.3-beta">
<Profile sr="prof11" ve="2">
<cdate>1759615750081</cdate>
<clp>true</clp>
<edate>1759650401646</edate>
<flags>8</flags>
<id>11</id>
<mid0>19</mid0>
<nme>Decline Incoming Call</nme>
<State sr="con0" ve="2">
@OothecaPickle
OothecaPickle / autoexec.bat
Last active August 25, 2025 05:56
OpenBeken Sunset Light Script
startDriver ntp
// NIST WWV, Fort Collins, Colorado
ntp_setServer 132.163.97.1
// Pacific Daylight Time
ntp_timeZoneOfs -7
// [REDACTED]
NTP_SetLatlong [REDACTED]
// clear all events
clearClockEvents
waitFor NTPState 1
substitutions:
name: ln882h-rgbcct-bulb
device: ln882h_rgbcct_bulb
friendly_name: LN882H RGBCCT Bulb
esphome:
name: ${name}
friendly_name: ${friendly_name}
# needs https://github.com/ESP32Async/ESPAsyncWebServer/pull/214 to compile, unnecessary for versions > 3.7.9
libraries:
- ESPAsyncWebServer=https://github.com/ESP32Async/ESPAsyncWebServer.git#main
@OothecaPickle
OothecaPickle / gist:66a87b7f43bd0067ee06e86b3f2a09df
Last active February 1, 2025 07:37
unbrick meraki mr32/mr72
hexdump -ve '1/1 "%.2x "' libgcc_s.so.1 | sed -e "s/.\{999\}/&\n/g" | pbcopy
hexdump -ve '1/1 "%.2x "' libc.so | sed -e "s/.\{999\}/&\n/g" | pbcopy
hexdump -ve '1/1 "%.2x "' ubiupdatevol | sed -e "s/.\{999\}/&\n/g" | pbcopy
mkdir tmp
mount -t tmpfs tmpfs /tmp
cp /proc/self/fd/0 /tmp/libgcc1
cp /proc/self/fd/0 /tmp/libc1
cp /proc/self/fd/0 /tmp/ubiupdatevol1
tr -d "\n" < /tmp/libgcc1 > /tmp/libgcc2
@OothecaPickle
OothecaPickle / linksys-homewrk-switch-part
Last active January 25, 2025 20:59
Boot Partition Switch Function for OpenWrt on Linksys HomeWRK (add to .profile)
switch_part() {
if [ $1 = 1 ]; then
fw_setenv switch_part 1 && fw_setenv msmparts ' ' && fw_setenv switch_num
elif [ $1 = 2 ]; then
fw_setenv switch_part 2 && fw_setenv msmparts '0x1db00000@0x4a00000(fs)' && fw_setenv switch_num
else
echo "Usage: switch_part [1|2]"
fi
}
@OothecaPickle
OothecaPickle / voicemail-location.md
Last active December 7, 2024 00:44
Android Visual Voicemail Message AMR Files Location on Root Filesystem AOSP/Android/LineageOS

/data/user/0/com.android.providers.contacts/app_voicemail-data

Couldn't find this information anywhere else so here it is, hope it helps someone.

@OothecaPickle
OothecaPickle / TMM_FW
Created June 17, 2023 07:32 — forked from tbodt/TMM_FW
======================================================================================
======================================================================================
== Tweedle D & Tweedle dum! ==========================================================
======================================================================================
======================================================================================
Sun, 25 Oct 2020 4:44PM PST.... ======================================================
Author: NOBODY (et-al) ===============================================================
======================================================================================
= OR 'hello world of TMM & PKA' ======================================================
@OothecaPickle
OothecaPickle / gist:408e292e323b5a72019d502709d6f4cd
Last active October 19, 2025 07:48
Windows 7 All Online/Offline [Retail-MAK] Activation Keys
10: https://jike.info/topic/2631/win-10-rtm-professional-retail-oem-mak/1889?lang=en-US&page=95
9GHCK-43HBY-V9KPP-F3MHQ-33JR9
https://jike.info/post/29684
https://cony.fun/blog/38.html
https://jike.info/topic/5078/windows-7-sp1-ultimate-retail/44?lang=en-US&page=3
Windows 7 All Online/Offline [Retail-MAK] Activation Keys
=================================================================================
. Run "Command Prompt" as Administrator
. slmgr.vbs -ipk Product Key