Skip to content

Instantly share code, notes, and snippets.

View bdmorin's full-sized avatar
the horrors persist, but so do l

Brian bdmorin

the horrors persist, but so do l
View GitHub Profile
bdmorin / Hypothesidian.js
Created August 10, 2023 20:58 — forked from TfTHacker/Hypothesidian.js - retrieve your annotations into Obsidian (for templater plugin)
# Hypothes.idian a templater script for retrieving annotations from
Dev: TfTHacker
# Prerequisites:
+ Templater plugin by
+ Free developer token from:
+ This script will prompt you for his token and save it to a file called "hypothesis"
+ This file store your configuration and can be located any where in your vault.
bdmorin / rust-command-line-utilities.markdown
Created July 12, 2023 17:15 — forked from sts10/rust-command-line-utilities.markdown
A curated list of command-line utilities written in Rust

A curated list of command-line utilities written in Rust

Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.

Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.

The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.

  • atuin: "Magical shell history"
  • bandwhich: Terminal bandwidth utilization tool
bdmorin /
Last active July 12, 2022 17:30 — forked from dwallraff/
Crostini penguin bootstrap script -- curl -sL | bash
#! /usr/bin/env bash
#-- Dave Wallraff
# --
### bootstrap crostini container
# curl -sL | bash
# Do all this in ansible, duh
# wrap in a function for curl|bash

Arch Linux ARM on Crostini


I got Arch Linux ARM installed on a Lenovo Chromebook Duet! I mostly used the instructions from the Arch Wiki as reference.

0. Before we begin

bdmorin / prometheus.yml
Created June 15, 2018 20:26 — forked from skreuzer/prometheus.yml
smokeping style metrics in prometheus
evaluation_interval: 15s
- smokeping.rules
- job_name: 'blackbox_icmp'
metrics_path: /probe
module: [icmp]
scrape_interval: 1s
bdmorin /
Created December 29, 2017 00:08 — forked from 0xcaff/
OpenVPN, rTorrent and Flood Docker Compose Configuration

The Setup

This is a docker-compose file for a simple, secure torrent setup. It includes [rTorrent] (a torrent client), [flood] (a web interface for rTorrent), [OpenVPN] (to tunnel traffic through your ISP) and a simple iptables firewall to allow rTorrent to only access the internet through a VPN.

To run everything, put your open vpn configuration file in ./vpn.ovpn and the other configuration files from this gist in a directory then go to that

bdmorin /
Created April 20, 2017 22:42 — forked from byllc/
This does something essentially equivalent to if you have a publicly facing server...

This is basically diy ngrok

Usage: show

function show() {
    ssh -tR 1080:$1 vps "sudo ssh -Nl \$USER -L $REMOTE:80: localhost"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
bdmorin / gist:acf12c586b9cda20eb7ac789e0a1a523
Created March 14, 2017 14:00 — forked from jordelver/gist:3073101
Set the Mac OS X SOCKS proxy on the command line

Set the Mac OS X SOCKS proxy on the command line

a.k.a. what to do when your ISP starts blocking sites :(

Set the SOCKS proxy to local SSH tunnel

networksetup -setsocksfirewallproxy "Ethernet" localhost 8080

To clear the domain and port