Skip to content

Instantly share code, notes, and snippets.

View hlieberman's full-sized avatar

Harlan Lieberman-Berg hlieberman

View GitHub Profile
@hlieberman
hlieberman / firefox_bwrap.sh
Created March 28, 2022 05:26
A hacky solution for wrapping firefox in bubblewrap
#!/bin/bash
get_devices () {
tokens=()
for i in /dev/hidraw*; do
udevadm info --query=property --property=ID_SECURITY_TOKEN $i | grep -q "ID_SECURITY_TOKEN" && tokens+=("$i")
done
echo "${tokens[@]}"
@hlieberman
hlieberman / keybase.md
Created February 25, 2015 16:40
keybase.md

Keybase proof

I hereby claim:

  • I am hlieberman on github.
  • I am hlieberman (https://keybase.io/hlieberman) on keybase.
  • I have a public key whose fingerprint is 43DF 758C 18C7 545A 3E1A 4F0A 8823 7A6A 53AB 1B2E

To claim this, I am signing this object:

// ==UserScript==
// @name MathJax inside IRCCloud
// @version 0.0.1
// @author Harlan Lieberman-Berg <H.LiebermanBerg@gmail.com>
// @license BSD
// @include https://www.irccloud.com/*
// ==/UserScript==
function parse_mathjax() {
"use strict";
@hlieberman
hlieberman / gist:7960839
Created December 14, 2013 15:51
A partial capture of the system state.
zdb:
tank:
version: 5000
name: 'tank'
state: 0
txg: 287267
pool_guid: 10951551319003396245
hostname: 'pokey'
vdev_children: 1