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 / 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){
@Staubgeborener
Staubgeborener / My luks encrypted arch linux installation
Last active September 25, 2021 17:15
My luks encrypted arch linux installation
loadkeys de-latin1
# ethernet
# get interface name:
ls /sys/class/net
# connect: dhcpcd <interface>
# create 3 partitons:
cgdisk /dev/sda
# 100MB partition
@Staubgeborener
Staubgeborener / docker-compose.yml
Created January 10, 2021 14:53
docker-compose for nextcloud, proxy, lets encrypt and mariadb
version: '3'
services:
proxy:
image: jwilder/nginx-proxy:alpine
labels:
- "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy=true"
container_name: nextcloud-proxy
networks:
@Staubgeborener
Staubgeborener / Anaconda.sublime-settings
Last active July 22, 2020 09:26
Sublime Settings (predawn and dark-material)
{
"auto_formatting": true,
"autoformat_ignore":
[
"E309",
"E501"
],
"pep8_ignore":
[
"E309",