Skip to content

Instantly share code, notes, and snippets.

View opposablebrain's full-sized avatar

rodin opposablebrain

View GitHub Profile
@opposablebrain
opposablebrain / keybase.md
Created July 7, 2018 04:31
keybase proof

Keybase proof

I hereby claim:

  • I am opposablebrain on github.
  • I am rodin (https://keybase.io/rodin) on keybase.
  • I have a public key ASC1JeYbF9UKIZOJeskE1pzsnss3DEK6CLAA4hNFQ--rIgo

To claim this, I am signing this object:

@opposablebrain
opposablebrain / qubesAttachLedger.sh
Last active November 1, 2017 12:22
Qubes [dom0] script to quickly attach/detach Ledger Nano (or any other USB device) among AppVMs
#!/bin/sh
#####
# Use at your own risk. Do whatever you want with this script.
# For best results, put this in dom0 and add a global keyboard shortcut
# Requires:
# 1. qubes-usb-proxy; in your template VM, 'sudo [dnf/apt] install qubes-usb-proxy'
# 2. yad; in dom0, run 'sudo qubes-dom0-update yad'
#
# BIG FAT WARNING:
# You should be paranoid about installing things in dom0.
@opposablebrain
opposablebrain / somaRec.py
Last active August 29, 2015 14:03
SomaFM stream recorder with ID3-embedded track names
#!/usr/bin/python
## USAGE:
# somaRec.py <streamURL> <stationName>
# (Runs until mplayer pid is killed or you hit Ctrl-C)
#
#
## EXAMPLE:
# somaRec.py "http://xstream1.somafm.com:2800" "SomaDeepSpaceOne"
# PRODUCES: