Skip to content

Instantly share code, notes, and snippets.

@crwolff
crwolff / README.md
Last active November 9, 2023 17:01
Kodi on Raspberry Pi 4B / Raspios Bookworm / MCE remote

Initial installation on Pi console

  • Install 64-bit Raspbian lite (2023-10-10-raspios-bookworm-arm64-lite.img)
    • Setup WiFi
    • Create user (for SSH)
  • Run raspi-config
    • Set hostname
    • Boot to console requires login
    • Enable SSH server
  • Reboot

From a remote computer

@crwolff
crwolff / gist:11de27d14a34cc47557f4fe287c553af
Created August 31, 2020 17:03
Find all directories containing only certain files (from SO)
find . -type d -exec bash -O dotglob -c '
for dirpath do
ok=true
seen_files=false
set -- "$dirpath"/*
for name do
[ -d "$name" ] && continue # skip dirs
seen_files=true
case "${name##*/}" in
*.tmp|desktop.ini|Thumbs.db|.picasa.ini) ;; # do nothing
@crwolff
crwolff / phone-search.py
Created November 8, 2019 17:37 — forked from DevonThomas/phone-search.py
OSINT Phone Search tool inspired by Michael Bazzell's previously public tool.
import webbrowser
areaCode = input("What is the area code of the phone number? ")
middle3 = input("What are the middle 3 digits? ")
last4 = input("What are the last 4 digits? ")
phoneNumber = str(areaCode) + str(middle3) + str(last4)
fourOneOne = "https://www.411.com/phone/" + "1-" + str(areaCode) + "-" + str(middle3) + "-" + str(last4)
webbrowser.open(fourOneOne)
@crwolff
crwolff / keybase.md
Created March 9, 2018 03:04
Proof of existence

Keybase proof

I hereby claim:

  • I am crwolff on github.
  • I am crwolff (https://keybase.io/crwolff) on keybase.
  • I have a public key whose fingerprint is 3CC1 860B E4DF A0FF CB4D DFDC CD1F 3C9F 9476 26EA

To claim this, I am signing this object:

@crwolff
crwolff / Cloning Tomato.md
Last active February 17, 2018 00:34
Tomato import instructions

Tomato import instructions

wget http://repo.or.cz/tomato.git/tomato-29fc6413.bundle

Import bundle into bare repository

git clone --mirror tomato-29fc6413.bundle tomato.git
cd tomato.git