Skip to content

Instantly share code, notes, and snippets.

View JonnyFunFun's full-sized avatar

Jonathan Enzinna JonnyFunFun

View GitHub Profile

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

@erikbern
erikbern / use_pfx_with_requests.py
Last active June 5, 2024 12:18
How to use a .pfx file with Python requests – also works with .p12 files
import contextlib
import OpenSSL.crypto
import os
import requests
import ssl
import tempfile
@contextlib.contextmanager
def pfx_to_pem(pfx_path, pfx_password):
''' Decrypts the .pfx file to be used with requests. '''
@avdg
avdg / engine.js
Last active February 2, 2024 20:27
Decompilation screeps engine.js (as of Tue Nov 24 2015 14:12:26 GMT+0100 (Romance (standaardtijd)))
var global = self;
var Reflect = {
global: global
};
!function a(b, c, d) {
function e(g, h) {
if (!c[g]) {
if (!b[g]) {
@taf2
taf2 / goliath_secure_streaming.rb
Created July 12, 2011 03:59
A node.js proxy for decrypting encrypted files on the fly by first requesting authorization and then using the retrieved decryption key to decode a remote file while serving it to the client...
#
# securely stream call audio files to the end user
# we store the audio files on s3, it makes storage less expensive and easier to manage
# the cost is when users fetch these files because we need to decrypt them we'll be streaming them
# through this server to decrypt, given their decryption key.
#
# ruby secure_call_stream.rb -e prod -sv
#
require 'goliath'
require 'em-http'