Skip to content

Instantly share code, notes, and snippets.

View 44digits's full-sized avatar

Andrew 44digits

View GitHub Profile
#!/bin/bash
# postTrelloJob
#
# Create a new card in Trello with the given
# Job title, company, and url as the description
#
# 2020.04.11
@44digits
44digits / make_qubes_gis
Last active October 9, 2019 20:48
Bash script to set up GIS desktop and server VMs in Qubes.
#!/bin/bash
# make_gis_qubes
#
# Create GIS desktop and GIS server Qubes with a single GIS template
# containing QGIS, Postgres, and Geoserver.
#
# Author: Andrew Ross
# Date: 2019 September 10
#
@44digits
44digits / qvm-portfwd-iptables
Created September 5, 2019 20:10 — forked from Joeviocoe/qvm-portfwd-iptables
Qubes-os port forwarding to allow external connections
#!/bin/sh
# Inspired by https://gist.github.com/daktak/f887352d564b54f9e529404cc0eb60d5
# Inspired by https://gist.github.com/jpouellet/d8cd0eb8589a5b9bf0c53a28fc530369
ip() { qvm-prefs -g -- "$1" ip; }
netvm() { qvm-prefs -g -- "$1" netvm; }
forward() {
local from_domain=$1
local to_domain=$2