Skip to content

Instantly share code, notes, and snippets.

@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 / 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 / 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