Skip to content

Instantly share code, notes, and snippets.

@numericOverflow
numericOverflow / vpn-auto-reconnect.sh
Last active February 4, 2022 09:05 — forked from antoniy/vpn-auto-reconnect.sh
Auto reconnect to OpenVPN via NetworkManager
#!/bin/bash +x
# Source: http://www.gabsoftware.com/tips/automatically-reconnect-to-your-vpn-on-linux/
# Description:
# Make the script executable "chmod +x /path/to/the/script.sh
# Put the script in .profile or .bashrc so it can be run on user login:
# Example: echo "/path/to/the/script.sh start &" >> .bashrc
# The script can be bound to shortcut keys with these commands:
# /path/to/the/script.sh start # starts and monitors VPN connection
@numericOverflow
numericOverflow / Ubuntu Kernel Upgrader Script
Last active September 3, 2017 15:42 — forked from mentrelli/Ubuntu Kernel Upgrader Script
Asks the user whether they want to install the latest RC or stable, then downloads the correct kernel and installs it.
#!/bin/bash
# Ubuntu_Kernel_Upgrader_Script
# Forked from https://gist.github.com/mmstick/8493727
#set -x
rc=n # release candidate
lowlatency=n # low latency
verbose=n # be verbose
@numericOverflow
numericOverflow / userDefineLang_Cypher.xml
Last active February 20, 2020 01:08 — forked from nicolewhite/userDefineLang_Cypher.xml
A Cypher syntax highlighter for Notepad ++.
<NotepadPlus>
<UserLang name="Cypher" ext="cypher" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00// 01 02 03// 04</Keywords>
<Keywords name="Operators1">( ) , = : [ ] { }</Keywords>
<Keywords name="Folders in comment, open">CASE</Keywords>
@numericOverflow
numericOverflow / proxmox-unprivileged-lxc-coral-usb.md
Created April 21, 2025 23:09 — forked from marcinsu/proxmox-unprivileged-lxc-coral-usb.md
USB Coral TPU Passthrough for Unprivileged LXC in Proxmox

coral tpu, usb, proxmox, lxc container, unprivileged, docker, frigate, home assistant, debian, python


This guide is how I got a Coral TPU (USB) working in an unprivileged LXC container.

At the end, you should be able to use the Coral TPU for inferencing inside of an unprivileged LXC container as well as Docker containers within the LXC, such as Frigate.

This does NOT require privileged LXC or docker container.