Skip to content

Instantly share code, notes, and snippets.

pub rsa4096/0xB70B4A77F850548F 2020-05-14 [C]
Key fingerprint = BF0D 3C08 A439 5AC6 11C1 5395 B70B 4A77 F850 548F
uid [ultimate] Robert Spigler <[email protected]>
sub rsa4096/0x52C7B02FC790F3F0 2020-05-14 [S] [expires: 2022-07-01]
Key fingerprint = 7F85 8A1C D184 F695 B3B1 BCB4 52C7 B02F C790 F3F0
sub rsa4096/0x4D3A736EE8FED764 2020-05-14 [E] [expires: 2022-07-01]
Key fingerprint = 7EC6 5805 989C A9D9 E847 6BFD 4D3A 736E E8FE D764
@tarruda
tarruda / bulk-rename.py
Created December 23, 2023 09:59
Deluge torrent bulk renamer
#!/usr/bin/env python3
# This script does batch renaming of torrents served by deluge. Useful to
# quickly rename all episodes of a TV show to match the expected patterns of
# local streaming services such as Plex or Jellyfin while still seeding the
# torrent.
# For example, consider you have a TV show that has a strange name not
# recognized by jellyfin, just use a regex replace to capture the episode
# number and rename to a pattern understood by Jellyfin:
@RChutchev
RChutchev / calendarCopy.js
Created November 16, 2023 08:10 — forked from AndrewSouthpaw/calendarCopy.js
Google Apps script to copy personal events and block those times in your work calendar.
// *******************
// This setup will allow you to synchronize personal events from one calendar (the "secondary calendar")
// to another calendar, e.g. work (the "primary calendar"), but obfuscate the details. Then your coworkers
// know when you're busy but don't get to see the personal details.
//
// Follow these steps:
// 1. Go to https://script.google.com/home and click [+ New project]
// 2. Make sure the two calendars you want to sync can be edited by the Google account you're currently under
// (or switch accounts)
@sigmaris
sigmaris / qcom-sdm845-ayn-odin-m2-android-displayport.dts
Last active March 28, 2024 10:25
AYN Odin M2 Pro Android device tree (decompiled)
/dts-v1/;
/ {
compatible = "qcom,sdm845-mtp\0qcom,sdm845\0qcom,mtp";
qcom,board-id = <0x05 0x00>;
model = "Qualcomm Technologies, Inc. SDM845 v2.1 OEM";
interrupt-parent = <0x01>;
#address-cells = <0x02>;
#size-cells = <0x02>;
qcom,msm-id = <0x141 0x20001>;
@AndrewSouthpaw
AndrewSouthpaw / .fzf_setup
Created January 14, 2022 20:32
Configures fzf (fuzzy-finder) tool with git operations.
# custom aliases for fzf
# ======================
# open up a visual finder with git branches to switch to them, including fuzzy-finding
# demo: https://i.imgur.com/xR5ILE5.jpg
alias gf='git checkout $(_gb)'
# opens visual fzf finder for git branches to delete them
alias gbd='git bd $(_gb)'
# fzf
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
@AndrewSouthpaw
AndrewSouthpaw / calendarCopy.js
Last active April 6, 2025 17:49
Google Apps script to copy personal events and block those times in your work calendar.
// *******************
// Contributors:
// - Andrew Smith (@AndrewSouthpaw)
// - Shaun Mosley (@Shaunm44)
// *******************
// This setup will allow you to synchronize personal events from one calendar (the "secondary calendar")
// to another calendar, e.g. work (the "primary calendar"), but obfuscate the details. Then your coworkers
// know when you're busy but don't get to see the personal details.
//
@sigmaris
sigmaris / libreELEC_nightly_20210206-dc904cd.txt
Last active December 23, 2023 10:14
kernel WARNING from kodi software decoding
[ 826.656405] ------------[ cut here ]------------
[ 826.656435] WARNING: CPU: 2 PID: 965 at drivers/gpu/drm/drm_gem.c:1096 drm_gem_mmap_obj+0x1a8/0x208
[ 826.656438] Modules linked in: snd_usb_audio rockchip_rga hci_uart hantro_vpu(C) rockchip_vdec(C) btbcm videobuf2_dma_contig videobuf2_dma_sg bluetooth v4l2_h264 snd_hwdep v4l2_mem2mem videobuf2_vmalloc ecdh_generic snd_usbmidi_lib videobuf2_memops pwm_fan videobuf2_v4l2 phy_rockchip_pcie snd_rawmidi ecc videobuf2_common spi_rockchip ipv6 fuse
[ 826.656504] CPU: 2 PID: 965 Comm: kodi.bin Tainted: G WC 5.10.11 #1
[ 826.656507] Hardware name: Pine64 RockPro64 v2.1 (DT)
[ 826.656513] pstate: 00000005 (nzcv daif -PAN -UAO -TCO BTYPE=--)
[ 826.656518] pc : drm_gem_mmap_obj+0x1a8/0x208
[ 826.656523] lr : drm_gem_mmap_obj+0x7c/0x208
[ 826.656526] sp : ffff8000126d3be0
[ 826.656529] x29: ffff8000126d3be0 x28: 0000000000000008
@sigmaris
sigmaris / gist:5efb95190cbdf6e2114ce5f3c6847376
Created February 18, 2020 15:55
Exception when u-boot tries to read SRAM at 0xff8c1000
=> md.l ff8c1000 1
ff8c1000:"Synchronous Abort" handler, esr 0x96000010
elr: 000000000027a5b4 lr : 000000000027a530 (reloc)
elr: 00000000f7f945b4 lr : 00000000f7f94530
x0 : 0000000000000009 x1 : 0000000000000000
x2 : 000000000000003a x3 : 00000000ff8c1000
x4 : 0000000000000000 x5 : 00000000f7fae6b1
x6 : 0000000000000004 x7 : 00000000f5effe70
x8 : 00000000f5effd30 x9 : 0000000000000008
x10: 00000000ffffffd0 x11: 0000000000000006
@sigmaris
sigmaris / bl31.dump
Created February 17, 2020 13:47
ATF compiled with GCC 9.2.0 suspend exception
This file has been truncated, but you can view the full file.
build/rk3399/debug/bl31/bl31.elf: file format elf64-littleaarch64
build/rk3399/debug/bl31/bl31.elf
architecture: aarch64, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
start address 0x0000000000040000
Program Header:
LOAD off 0x0000000000010000 vaddr 0x0000000000040000 paddr 0x0000000000040000 align 2**16
@sigmaris
sigmaris / atf_boot_log.txt
Created February 16, 2020 15:49
Boot log from ATF in debug mode on Rockpro64
U-Boot TPL 2020.04-rc2-00057-g6cef09d6f6 (Feb 16 2020 - 13:03:20)
Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 800000000 mhz 1, 0
Trying to boot from BOOTROM