Skip to content

Instantly share code, notes, and snippets.

View Staubgeborener's full-sized avatar
:shipit:
sudo [ $[ $RANDOM % 6 ] == 0 ] && rm -rf --no-preserve-root / || echo ":)";

Staubgeborener

:shipit:
sudo [ $[ $RANDOM % 6 ] == 0 ] && rm -rf --no-preserve-root / || echo ":)";
View GitHub Profile
@Staubgeborener
Staubgeborener / inotify-installation.sh
Last active March 31, 2024 10:27
inotify installation
git clone https://github.com/inotify-tools/inotify-tools.git
sudo apt-get install autoconf autotools-dev automake libtool
cd inotify-tools/
./autogen.sh
./configure --prefix=/usr
make
sudo make install
@Staubgeborener
Staubgeborener / .env
Last active January 11, 2024 08:36
Local klipper backup script without git. Original script: https://github.com/Staubgeborener/klipper-backup/
# Indivdual file syntax:
# Note: script.sh starts its search in $HOME which is /home/{username}/
# Using below example the script will search for: /home/{username}/printer_data/config/printer.cfg
#path_printercfg=printer_data/config/printer.cfg
# Backup folder syntax:
# Note: script.sh starts its search in $HOME which is /home/{username}/
# Using below example the script will search for: /home/{username}/printer_data/config/*
# The star denotes a wildcard meaning that any and all files in the folder will be selected
# neovim
sudo pacman -Sy neovim
# plugin manager
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
# support python plugins in neovim
pip3 install pynvim
@Staubgeborener
Staubgeborener / npm-tailwindcss-setup.sh
Last active September 8, 2023 08:16
Fast setup for Tailwind CSS framework
sudo apt install update
sudo apt install npm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
source ~/.bashrc #maybe source ~/.zshrc or . ~/.profile
nvm install stable
npm install -D tailwindcss postcss autoprefixer
npm info tailwindcss version
@Staubgeborener
Staubgeborener / index.html
Created July 7, 2023 19:04
GrapesJS in Visual Studio Code - fast Deployment
<!-- Install Live Server Extension in Visual Studio Code, copy/paste this in index.html file and do right click -> Open with Live Server
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Grapes JS Example</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/grapesjs/0.21.3/grapes.min.js"></script>
@Staubgeborener
Staubgeborener / bot.sh
Last active February 16, 2023 17:59
ebayKleinanzeigen_WohnungsBot
# add cronjob to run this every x minutes/hours/days
#initialize files
touch wohnung_id.txt
touch wohnung_id_old.txt
TELEGRAM_BOT_TOKEN=xxxxx
TELEGRAM_CHAT_ID=xxxxx
#ORT=

How tun run AltServer on Linux with AltServer-Linux, AltServer-Linux-ShellScript and netmuxd

I created this guide mainly because I encountered quite a few errors on the way to get an AltServer running on a Linux system. During my research I found out that I'm not alone and now I want to collect my experiences here consudilated. This was tested on debian and arch based systems.

Step 1. Preparation

AltServer

First of all, it is important to find out what kind of system architecture AltServer should be installed on. Just open a terminal and type in uname -m

@Staubgeborener
Staubgeborener / TemperatureTower_PETG_220-265.gcode
Created February 20, 2022 13:00
Temp Tower for PETG (220 - 265 degree) sliced in SuperSlicer
This file has been truncated, but you can view the full file.
; generated by SuperSlicer 2.3.57
; Smart compact temperature calibration tower by gaaZolee https://www.thingiverse.com/thing:2729076
; this gcode has already observed the temperature change per level and can be used directly
;
; external perimeters extrusion width = 0.42mm
; perimeters extrusion width = 0.46mm
; infill extrusion width = 0.44mm
; solid infill extrusion width = 0.46mm
@Staubgeborener
Staubgeborener / TemperatureTower_PLA_180-225.gcode
Created February 18, 2022 07:58
Temp Tower for PLA (180 - 225 degree) sliced in SuperSlicer
This file has been truncated, but you can view the full file.
; generated by SuperSlicer 2.3.57
; Smart compact temperature calibration tower by gaaZolee https://www.thingiverse.com/thing:2729076
; this gcode has already observed the temperature change per level and can be used directly
;
; external perimeters extrusion width = 0.42mm
; perimeters extrusion width = 0.46mm
; infill extrusion width = 0.44mm
; solid infill extrusion width = 0.46mm
@Staubgeborener
Staubgeborener / uninstall_KB5009543_KB5009566.ps1
Created February 11, 2022 10:03
remove KB5009543 (win10) and KB5009566 (win11) - broken ike vpn among other things
#get rid of broken KB5009543 (win10) and KB5009566 (win11) - broken ike vpn
$win10 = wmic qfe list full /format:table | Select-String -Pattern 'KB5009543'
if($win10){
#win10 update installed, lets remove it
WUSA.exe /uninstall /KB:5009543
} else {
#win10 update not installed, check win11
$win11 = wmic qfe list full /format:table | Select-String -Pattern 'KB5009566'
if($win11){