Skip to content

Instantly share code, notes, and snippets.

@juanbretti
juanbretti / onenote_to_obsidian.py
Last active September 5, 2023 19:34
Reformat .md to better suit Obsidian formatting
# %%
import os
from datetime import datetime
import csv
import pandas as pd
from pathlib import Path
# Inputs
directory = 'C:\OneNote'
name_length = 15

[guide] keycloak authentication for proxmox

How to setup Proxmox to use Keycloak as authentication realm.

Proxmox Setup

root@proxmox:/etc/pve# cat domains.cfg
pam: pam
        comment Linux PAM standard authentication
@kylewlacy
kylewlacy / README.md
Created October 3, 2021 00:31
Systemd service to disable Proxmox VE nagware

Here's a Systemd service that will automatically disable the "No valid subscription" nagware dialog in Proxmox VE. I got the snippet to disable the dialog from this article from John's Computer Services.

  1. Save the systemd service to /etc/systemd/system/proxmox-patcher.service
  2. Save the shell script to /root/proxmox-patcher.sh
  3. Run chmod +x /root/proxmox-patcher.sh as root
  4. Run systemctl enable proxmox-patcher.service as root
  5. Restart
@trongtinh1212
trongtinh1212 / Tweaks.reg
Last active March 11, 2026 15:20
Registry Tweaks Windows 10
Windows Registry Editor Version 5.00
;USE AT YOUR OWN RISK!
;USE AT YOUR OWN RISK!
;USE AT YOUR OWN RISK!
;Improves system responsiveness and network speed.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile]
"SystemResponsiveness"=dword:00000001
@nirinium
nirinium / networktweaks.ps1
Created April 3, 2019 06:05
network tweaks via CMD/PowerShell
netsh interface teredo set state disabled
netsh interface 6to4 set state disabled
netsh winsock reset
netsh interface isatap set state disable
netsh int tcp set global timestamps=disabled
netsh int tcp set heuristics disabled
netsh int tcp set global autotuninglevel=disable
netsh int tcp set global congestionprovider=ctcp
netsh int tcp set supplemental Internet congestionprovider=CTCP
netsh int tcp set global chimney=disabled
@itorian
itorian / create-azure-vm-powershell.ps1
Last active November 16, 2022 09:20
Create Azure Virtual Machine using PowerShell
# Login
Login-AzureRmAccount
# Variables for common values
$location = "westeurope"
$resourceGroup = "demo-resgroup-0"
$vmName = "demovm-0"
$publicIP = "spublicip-1"
$subnet = "subnet-1"
$vnet = "vnet-1"
@ur0n2
ur0n2 / Flash_Player_Remover_on_Win10.bat
Created June 8, 2017 01:44
Flash_Player_Remover_on_Win10.bat
echo off
cls
echo [-] Flash Player Remover for Windows 10 with Edge Browser.
takeown /f C:\Windows\SysWOW64\Macromed\Flash\*.*
takeown /f C:\Windows\System32\Macromed\Flash\*.*
cacls C:\Windows\SysWOW64\Macromed\Flash\*.* /E /T /G %UserDomain%\%UserName%:F
cacls C:\Windows\System32\Macromed\Flash\*.* /E /T /G %UserDomain%\%UserName%:F