Skip to content

Instantly share code, notes, and snippets.

View tsujamin's full-sized avatar

Benjamin Roberts tsujamin

  • Canberra, Australia
View GitHub Profile
@tsujamin
tsujamin / au.id.bgroberts.gpg-agent.plist
Created October 19, 2020 08:50
gpg-agent launchd plists
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>au.id.bgroberts.gpg-agent.plist</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/gpgconf</string>
<string>--launch</string>
@tsujamin
tsujamin / env
Last active November 25, 2017 05:05
Alienvault OTX feed generator that scrapes and stores Tor relay nodes
OTX_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
OTX_FEED_NAME=TOR-Relay-Nodes
OTX_FEED_PUBLIC=True
OTX_FEED_OWNER=otxusername
import requests
import time
WORONI_IDS = list()
WORONI_PDFS = list()
BASE_SERVER = "http://api.trove.nla.gov.au"
ISSUE_SEARCH = "/newspaper/title/666?encoding=json&include=years&include=years&range=19500614-20071101"
KEY_PARAM = "&key=21cu4u3jraqik0uq"
#! /usr/bin/ruby
# SMC fan control tool
# Benjamin Roberts
# Assumes `smc` is in your path (bundled with smcFanControl)
SMC_KEY="F0Mx"
SMC_FAN_MAX=6200
SMC_FAN_MAX_KEY=0x60e0
FAN_MIN=1500

Keybase proof

I hereby claim:

  • I am tsujamin on github.
  • I am benjaminroberts (https://keybase.io/benjaminroberts) on keybase.
  • I have a public key whose fingerprint is 125E 27C4 FFD8 3851 7E7B FB5A 94E1 A1EC 43D4 1658

To claim this, I am signing this object: