Skip to content

Instantly share code, notes, and snippets.

@gtx28
gtx28 / Pimox7to8.txt
Last active May 6, 2024 16:17
Pimox7 to PVE8 upgrade
***Pi-Mox setup on raspberry pi 4b (cm4 you will need add the appropriate steps for your hw setup)
***None of this is "Prod" ready so use at your own risk, your VM's/Containers are your own responsibility. You should already have adequate backups etc.
***Raspberry PI OS setup
Install raspbian x64 lite on raspberry pi
pull the latest copy of Raspberry PI OS x64 lite based on debian 11 bullseye from here: https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit
open imager, click choose os, scroll to the bottom and select custom. open the image "2023-05-03-raspios-bullseye-arm64-lite.img.xz"
@jauderho
jauderho / gist:6b7d42030e264a135450ecc0ba521bd8
Last active May 22, 2024 22:25
HOWTO: Upgrade Raspberry Pi OS from Bullseye to Bookworm
### WARNING: READ CAREFULLY BEFORE ATTEMPTING ###
#
# Officially, this is not recommended. YMMV
# https://www.raspberrypi.com/news/bookworm-the-new-version-of-raspberry-pi-os/
#
# This mostly works if you are on 64bit. You are on your own if you are on 32bit or mixed 64/32bit
#
# Credit to anfractuosity and fgimenezm for figuring out additional details for kernels
#
@amunchet
amunchet / noVNCCopyPasteProxmox.user.js
Last active May 22, 2024 22:03
Copy/Paste for noVNC Proxmox
// ==UserScript==
// @name noVNC Paste for Proxmox
// @namespace http://tampermonkey.net/
// @version 0.2a
// @description Pastes text into a noVNC window (for use with Proxmox specifically)
// @author Chester Enright
// @match https://*
// @include /^.*novnc.*/
// @require http://code.jquery.com/jquery-3.3.1.min.js
// @grant none
@luckydonald
luckydonald / 0 Raspberry Pi 4B - Proxmox-Pimox Homeassistant VM LXC-Containers Docker - INSTALL - Table of Content.md
Last active April 21, 2024 04:51
Raspberry Pi 4B: Install Proxmox/Pimox, Homeassistent, VM, LXC Containers, Docker

Hello Pi

This is a writedown of how I installed my raspberry pi(s).

The base is a Proxmox, so I don't have to worry about reformat the SD card every time I wanna try out something new, as I can start VMs and LXC containers, as well as Docker containers once it's configured properly.

Note: Those files are versioned, so you can always look what changed from time to time.

Topics

  • Pimox
@TalhaMangarah
TalhaMangarah / sonarr-listsync.sh
Last active November 26, 2022 18:36
Sonarr/Radarr Import List sync via API
#!/usr/bin/env bash
curl --request POST \
--url 'http://SONARR:SONARRPORT/api/v3/command?apikey=YOURAPIKEY' \
--header 'Content-Type: application/json' \
--data '{"name": "ImportListSync"}'
@juergenhoetzel
juergenhoetzel / getstarred.sh
Last active April 16, 2023 09:50
List starred Github repos in Shell (curl + jq)
user=juergenhoetzel
while curl -s "https://api.github.com/users/$user/starred?per_page=100&page=${page:-1}" \
|jq -r -e '.[].full_name' && [[ ${PIPESTATUS[1]} != 4 ]]; do
let page++
done
@Aldaviva
Aldaviva / Windows 10 services.md
Last active May 6, 2024 23:55
Safety of disabling services in Windows 10

These settings apply to a normal, functioning Windows 10 Pro desktop with

  • wired Ethernet
  • Bluetooth
  • IPv6
  • no Wi-Fi
  • no touch screen

Safe to disable

|Display Name|Name|Notes|

@alik604
alik604 / starred repo opener.py
Last active January 28, 2024 15:07
Open all starred GitHub repositories in new tab - Open every starred GitHub repo in chrome, with python
import requests
import json
import webbrowser
USER = "alik604"
chrome_path = 'C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s'
# Change to your OS - https://stackoverflow.com/a/24353812/5728614
req = requests.get('https://api.github.com/users/' + USER + '/starred?per_page=100')
# ?page=2&per_page=100 # page is not working, first result is always the same
.php
.html
.txt
.htm
.aspx
.asp
.js
.css
.pgsql.txt
.mysql.txt