Skip to content

Instantly share code, notes, and snippets.

View reillychase's full-sized avatar
Working from home

Reilly Chase reillychase

Working from home
View GitHub Profile
gboudreau /
Last active March 3, 2024 03:15 — forked from Ingramz/
Export TOTP tokens from Authy

⚠️ this is now stupidly out of date


  • 13" Macbook Pro 3.3 GHz i7 (late 2016)
  • Microsoft Surface Book (2016)


ktbyers /
Created February 24, 2017 20:10
Netmiko Threading from a CSV file
import csv
import threading
from Queue import Queue
from getpass import getpass
from netmiko import ConnectHandler
from datetime import datetime
USER = 'pyclass'
PASSWORD = getpass()
stevejenkins /
Last active August 30, 2021 03:57
Import and use SSL certificates (including Let's Encrypt) with the Ubiquiti UniFi Controller on Unix/Linux Systems
bmaupin /
Last active December 11, 2023 20:24
Build openssl (with SSLv2/3 support for security testing)
# Cache sudo password
sudo -v
# Get latest OpenSSL 1.0.2 version from
# v1.1.0 seems to have removed SSLv2/3 support
# Install build dependencies
joepie91 /
Last active February 29, 2024 09:11
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
billiegoose / ArduinoSerialBypass.ino
Created July 19, 2013 01:37
Use your Arduino as a direct USB to serial converter! Tested on an Arduino Duemilanove. Probably 3.3V TTL but worked for communicating with my supposedly 5V TTL HerkuleX servo at 115200 baud.
View ArduinoSerialBypass.ino
* Arduino Serial Bypass - use an Arduino as a dumb USB 2 Serial Converter
* This code makes the Arduino not interfere with pins 0 and 1
* which are connected to RX and TX on the FTDI chip. This allows
* the data coming from the FTDI USB 2 Serial chip to flow directly
* to another device. Since RX and TX are labeled from the Arduino's
* point of view, don't cross the wires, but plug the device's
* RX wire into the RX pin 0 and the TX wire into the TX pin 0.
Adirael /
Created August 17, 2012 23:16
Fix wordpress file permissions
# This script configures WordPress file permissions based on recommendations
# from
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org>
WP_OWNER=www-data # <-- wordpress owner
WP_GROUP=www-data # <-- wordpress group
WP_ROOT=$1 # <-- wordpress root directory
bradmontgomery /
Last active January 23, 2024 14:23
a minimal http server in python. Responds to GET, HEAD, POST requests, but will fail on anything else.
#!/usr/bin/env python
Very simple HTTP server in python (Updated for Python 3.7)
./ -h
./ -l localhost -p 8000
Send a GET request: