Skip to content

Instantly share code, notes, and snippets.

@Ashaman-
Ashaman- / keybase.md
Created October 10, 2017 20:06
Keybase Proof

Keybase proof

I hereby claim:

  • I am ashaman- on github.
  • I am ashaman (https://keybase.io/ashaman) on keybase.
  • I have a public key ASBfDW0F4NXbmM2AI5N3Lj0wuz_v9WY6EAJ6jv9EmWZmkQo

To claim this, I am signing this object:

@Ashaman-
Ashaman- / qvm-port-forward.sh
Created October 24, 2018 04:10 — forked from jpouellet/qvm-port-forward.sh
Forwards a specified port to a specified VM, auto-detecting its NetVM chain. (Qubes OS)
#!/bin/sh
# Inspired by https://gist.github.com/daktak/f887352d564b54f9e529404cc0eb60d5
ip() { qvm-ls --fields ip --raw-data -- "$1"; }
netvm() { qvm-prefs -g -- "$1" netvm; }
forward() {
local from_domain=$1
local to_domain=$2
Verifying that "ashaman_.id" is my Blockstack ID. https://explorer.blockstack.org/name/ashaman_.id