Skip to content

Instantly share code, notes, and snippets.

View msg7086's full-sized avatar

Xinyue Lu msg7086

  • Greater Portland, OR
  • 02:32 (UTC -07:00)
View GitHub Profile
@msg7086
msg7086 / 0001-Add-parameter-cachefile.patch
Created August 19, 2019 01:17
Patches for L-SMASH-Works
From 816c62dbcecd99a832090288c25190e5d398feb4 Mon Sep 17 00:00:00 2001
From: Holy Wu <HolyWu@users.noreply.github.com>
Date: Sun, 11 Aug 2019 23:13:30 +0800
Subject: [PATCH] Add parameter cachefile
---
AviSynth/lsmashsource.cpp | 4 ++--
AviSynth/lwlibav_source.cpp | 30 +++++++++++++++++-------------
VapourSynth/lsmashsource.c | 2 +-
VapourSynth/lwlibav_source.c | 3 +++
@msg7086
msg7086 / gist:aa86b14fc6ed7509219f3c1c0f2f2846
Created June 1, 2020 07:58 — forked from whiskerz007/gist:53c6aa5d624154bacbbc54880e1e3b2a
How to setup a community version of Proxmox VE 5.x-6.x
# Disable Commercial Repo
sed -i "s/^deb/\#deb/" /etc/apt/sources.list.d/pve-enterprise.list
apt-get update
# Add PVE Community Repo
echo "deb http://download.proxmox.com/debian/pve $(grep "VERSION=" /etc/os-release | sed -n 's/.*(\(.*\)).*/\1/p') pve-no-subscription" > /etc/apt/sources.list.d/pve-no-enterprise.list
apt-get update
# Remove nag
echo "DPkg::Post-Invoke { \"dpkg -V proxmox-widget-toolkit | grep -q '/proxmoxlib\.js$'; if [ \$? -eq 1 ]; then { echo 'Removing subscription nag from UI...'; sed -i '/data.status/{s/\!//;s/Active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; }; fi\"; };" > /etc/apt/apt.conf.d/no-nag-script