Skip to content

Instantly share code, notes, and snippets.


Collin M. Barrett collinbarrett

View GitHub Profile
collinbarrett /
Last active Dec 24, 2021
DD-WRT script for selecting an optimal ProtonVPN server
# specify PATH to run from cron
# kill openvpn
PID=$(pidof openvpn)
kill -s SIGTERM "$PID"
collinbarrett / profile.json
Last active Mar 5, 2020
A Windows Terminal config. Dependencies: Git for Windows, WSL (Ubuntu LTS), Fira Code
View profile.json
// Deprecated: Moved to
"$schema": "",
"defaultProfile": "{4a745997-9220-4b9c-9fac-c18e93b46ab2}",
"profiles": [
"guid": "{4a745997-9220-4b9c-9fac-c18e93b46ab2}",
"hidden": false,
"name": "MinGW-w64",
View TypeMemberLayout.xaml
<TypePattern DisplayName="StyleCop Classes, Interfaces, &amp; Structs" RemoveRegions="All">
<Kind Is="Class" />
<Kind Is="Struct" />
<Kind Is="Interface" />
<Entry DisplayName="Constants">
collinbarrett / userChrome.css
Last active Jun 8, 2022
A userChrome.css to use with Tree Style Tab ( for Firefox
View userChrome.css
Location: C:\Users\<YourUsername>\AppData\Roaming\Mozilla\Firefox\Profiles\<YourFirefoxProfile>\chrome
If minimize, maximize, and close buttons are no longer visible, enable the Title Bar or Menu Bar in Firefox Customize.
Location: /Users/<YourUsername>/Library/Application Support/Firefox/Profiles/<YourFirefoxProfile>/chrome
If minimize, maximize, and close buttons overlap other controls, add the Flexible Space in Firefox Customize.