Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View jlopp's full-sized avatar

Jameson Lopp jlopp

View GitHub Profile
<?xml version="1.0"?>
<opnsense>
<theme>opnsense</theme>
<sysctl>
<item>
<descr>Increase UFS read-ahead speeds to match the state of hard drives and NCQ.</descr>
<tunable>vfs.read_max</tunable>
<value>default</value>
</item>
<item>
@jlopp
jlopp / Unmerged-Closed-Pull-Request-Count.py
Created March 14, 2020 12:52
Find all the closed unmerged PRs for a given repository and count their total lines of code
# For a given repository this script iterates over all closed PRs
# and sums up the total number of lines of code from unmerged PRs
# that had been proposed to be added and deleted.
# This script requires installing a dependency: pip install PyGithub
from github import Github
import time
import sys
# Visual progress bar since this script takes ~1 second per PR to run
def progress(count, total):
@jlopp
jlopp / gist:f10cdfd88845ae8587f3532ca9033eda
Created November 21, 2017 21:36
blockstack verification
Verifying my Blockstack ID is secured with the address 162rUyjL1NiwHhWuta4KPExTamFZaSmMsD
@jlopp
jlopp / gist:83f18814e2e0bf6a2fe1
Created August 17, 2014 16:05
onename.io verification
Verifying that +lopp is my Bitcoin username. You can send me #bitcoin here: https://onename.io/lopp

Keybase proof

I hereby claim:

  • I am jlopp on github.
  • I am lopp (https://keybase.io/lopp) on keybase.
  • I have a public key whose fingerprint is 35CF 4047 5B31 3F9E 0D62 D4D8 278D D9FB 0C0E 9B49

To claim this, I am signing this object: