Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block todgru

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View module.js
function foo() {
function bar() {
module.exports = {
todgru /
Last active Jan 27, 2019
installing ax25 on debian 9 raspberry pi
todgru / gist:39d3f58cff67f6552666da30497db279
Created Jan 26, 2019
converting debian 9 raspberry pi file system to f2fs
View gist:39d3f58cff67f6552666da30497db279
todgru /
Created Jan 22, 2019
damn websites that take over my keyboard shortcuts. horrible ux.

websites jira and outlook take over my keyboard shortcuts.

How to disable:

in firefox, about:config

change permissions.default.shortcuts to 3.

I tried to use 2, "always deny", but that changed how the backspae/delete key behaved.

# Darkify Slack on Mac OS:
# curl | sh
# Thanks to:
if [ -z "`grep tt__customCss ${SLACK_INTEROP_JS}`" ]; then
# Backup original CSS for reverts:

Jellyfin setup on Raspberry Pi 3 Debian 9(stretch)

Jellyfin is the open source version of Emby.

install docker

wget -nv -O- | sh
todgru /
Created Jan 13, 2019
certbot lenscrypt ssl
todgru /
Last active Jan 8, 2019
osx debian usb asus 900A EEE PC

I created a bootable usb drive in disk utility

then ran diskutil list to find the identifier

/dev/disk2s1 in my case

make sure to unmount the drive

then dd


raspberry pi auto mount usb drive

my drive is hfsplus usb 2TB

get the usb UUID from blkid

pretty print drive locations lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL

followed this, with special attention to the order. Drive must be unmounted before running fsck.

You can’t perform that action at this time.