Skip to content

Instantly share code, notes, and snippets.

View CactiChameleon9's full-sized avatar
🌵

CactiChameleon9

🌵
View GitHub Profile
@CactiChameleon9
CactiChameleon9 / Raspberry pi 4 openSUSE setup.md
Last active April 6, 2023 17:16
Fixing OpenSUSE for Raspberry Pi

Raspberry Pi 4b/400 Opensuse Tumbleweed Tweaks

Add new user

useradd -m my-user
passwd my-user

Fix sudo + groups

groupadd wheel
@CactiChameleon9
CactiChameleon9 / Raspberry Pi Internet Wifi to USB Adapter (wlan0 (pi) -> usb0 -> pc).md
Last active January 14, 2023 11:58
Raspberry Pi Internet Wifi to USB Adapter (wlan0 (pi) -> usb0 -> pc)

Guide to connecting to wireless internet via raspberry pi!

Based on https://www.hardill.me.uk/wordpress/2019/11/02/pi4-usb-c-gadget/

Tested on DietPi (Janurary 2023) on a RPI Zero W.

Setting up your Pi

Download and install the latest DietPi and enable wifi configurations etc. Setup can be done headlessly - look in the boot partition of the sdcard

@CactiChameleon9
CactiChameleon9 / 09-blacklist-nintendo.conf
Created September 5, 2022 10:01
Opensuse (bedrock linux) blacklist hid_nintendo
install hid_nintendo /bedrock/strata/bedrock/bin/true
@CactiChameleon9
CactiChameleon9 / local-overrides.quirks
Last active August 13, 2022 18:02
Glorious Model O Mouse (Wired) - Low Debounce on Linux
[Glorious Model O]
MatchName=Glorious Model O
ModelBouncingKeys=1
[Glorious Model O Keyboard]
MatchName=Glorious Model O Keyboard
ModelBouncingKeys=1
@CactiChameleon9
CactiChameleon9 / pleromaUpdate.sh
Created February 14, 2022 20:59
A script to update pleroma if it isn't the latest version (linux, bash)
#!/bin/bash
#replace current with your instance
latest=$(curl -s https://pleroma.social/announcements/feed.xml | grep "Pleroma patch release" | head -n 1 | sed 's/<title>Pleroma patch release: //g' | sed 's/ //g' | sed 's/<\/title>//g')
current=$(curl https://pleroma.my.instance/api/v1/instance -s | sed -e 's/[{}]/''/g' | awk -v RS=',"' -F: '/^version/ {print $2}' | awk '{print $4}' | sed 's/..$//')
echo $latest
echo $current
@CactiChameleon9
CactiChameleon9 / debloatOneplus8
Created February 3, 2022 16:33
Debloat list for the Oneplus 8 (OxygenOS 11)
com.facebook.services
com.facebook.katana
com.facebook.orca
com.facebook.system
com.facebook.appmanager
com.netflix.partner.activation
com.netflix.mediaclient
com.amazon.appmanager
com.instagram.android
@CactiChameleon9
CactiChameleon9 / debloatListA03s
Last active August 12, 2023 09:07
Debloat list for the Samsung Galaxy A03s (Android 11)
com.facebook.services
com.facebook.system
com.facebook.appmanager
com.linkedin.android
com.spotify.music
com.zhiliaoapp.musically
com.microsoft.office.outlook
com.microsoft.skydrive
com.microsoft.office.officehubrow
com.netflix.mediaclient
@CactiChameleon9
CactiChameleon9 / install-b43.sh
Last active February 12, 2022 15:13 — forked from isDipesh/install-b43.sh
Install Broadcom (B43) wireless driver on fedora (tested on 35)
#!/bin/bash
#http://wireless.kernel.org/en/users/Drivers/b43
echo "please run as root"
dnf install b43-fwcutter wget
wget http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2
tar xjf broadcom-wl-5.100.138.tar.bz2