Skip to content

Instantly share code, notes, and snippets.

@franky52
franky52 / setup_pi4_manjaro_usb_gadget.sh
Last active October 24, 2022 17:12 — forked from nichtsfrei/setup_pi4_manjaro_usb_gadget.sh
sets up manjaro raspberry pi 4 as a usb_gadget
#!/bin/sh
# shamelessly stolen from https://www.hardill.me.uk/wordpress/2019/11/02/pi4-usb-c-gadget/
# Uses dnsmasq & dhcpcd for ip assignment
# main difference is that I use ip to set the device and don't use dnsmasq.
# Instead I setup 'Raspberry PI4 USB Device' within iPad (or whatever you use) manual to
# 10.55.0.2 255.255.255.248
# so that I don't have to deal with dnsmasq at all.
# I also use modprobe in the initialization script so that I don't load the modules when I don't execute usb-network.sh
# Install dnsmasq & dhcpcd
@franky52
franky52 / rpi4-usb.sh
Created April 16, 2022 09:06 — forked from ianfinch/rpi4-usb.sh
Raspberry Pi 4 USB Gadget
#!/bin/bash
# Set up a Raspberry Pi 4 as a USB-C Ethernet Gadget
# Based on:
# - https://www.hardill.me.uk/wordpress/2019/11/02/pi4-usb-c-gadget/
# - https://pastebin.com/VtAusEmf
if ! $(grep -q dtoverlay=dwc2 /boot/config.txt) ; then
echo "Add the line dtoverlay=dwc2 to /boot/config.txt"
exit
fi
@franky52
franky52 / cpctelera15.txt
Last active April 28, 2026 22:06
Instalación CPCTelera 1.5 en WSL (Ubuntu)
sudo apt update && sudo apt upgrade // Actualizamos el sistema
sudo apt install build-essential bison flex mono-complete libboost-dev libfreeimage-dev unzip // Instalamos dependencias necesarias en Ubuntu (wsl)
cd ~ // CPCTelera se instalará en un directiorio de $HOME (~/cpctelera)
git clone https://github.com/lronaldo/cpctelera // Clonamos el repositorio de cpctelera
cd cpctelera // Cambiamos al directorio de cpctelera
git checkout development // Cambiamos a la rama development (CPCTelera 1.5)
git branch // Comprobamos que realmente ha cambiado
// git branch -a
./setup.sh

Ultimate Beginner's Guide to Proxmox GPU Passthrough

mirror of The Ultimate Beginner's Guide to GPU Passthrough (Proxmox, Windows 10) by /u/cjalas

>Welcome all, to the first installment of my Idiot Friendly tutorial series! I'll be guiding you through the process of configuring GPU Passthrough for your Proxmox Virtual Machine Guests. This guide is aimed at beginners to virtualization, particularly for Proxmox users. It is intended as an overall guide for passing through a GPU (or multiple GPUs) to your Virtual Machine(s). It is not intended as an all-exhaustive how-to guide; however, I will do my best to provide you with all the necessary resources and sources for the passthrough process, from start to finish. If something doesn't work properly, please check /r/Proxmox, /r/Homelab, /r/VFIO, or

@franky52
franky52 / ohmyposhv3-v2.json
Created October 23, 2021 12:02 — forked from shanselman/ohmyposhv3-v2.json
ohmyposhv3-v2
{
"final_space": true,
"console_title": true,
"console_title_style": "folder",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"horizontal_offset": 0,
"vertical_offset": 0,
using namespace System.Management.Automation
using namespace System.Management.Automation.Language
if ($host.Name -eq 'ConsoleHost')
{
Import-Module PSReadLine
}
#Import-Module PSColors
#Import-Module posh-git
Import-Module -Name Terminal-Icons