Skip to content

Instantly share code, notes, and snippets.


Nathan Handler nhandler

View GitHub Profile
nhandler /
Created Jan 9, 2019
Terraform JSON Policy Templating Example
variable "template_files" {
default = [
data "template_file" "template" {
count = "${length(var.template_files)}"
template = "${file("${path.module}/templates/${element(var.template_files, count.index)}")}"
View snapcraft.yaml
name: my-snap-name # you probably want to 'snapcraft register <name>'
version: '0.1' # just for humans, typically '1.2+git' or '1.3.2'
summary: Single-line elevator pitch for your amazing snap # 79 char long summary
description: |
This is my-snap's description. You have a paragraph or two to tell the
most important story about your snap. Keep it under 100 words though,
we live in tweetspace and your description wants to look good in the snap
grade: devel # must be 'stable' to release into candidate/stable channels
nhandler /
Last active Apr 14, 2016 GitHub Identify Verification

Keybase proof

I hereby claim:

  • I am nhandler on github.
  • I am nhandler ( on keybase.
  • I have a public key whose fingerprint is 31DC C3B3 3F21 7988 3DA0 14C7 CAFB 3BAD 0A75 C877

To claim this, I am signing this object:

nhandler /
Last active Apr 17, 2019
Forward Irssi Notifications from Remote Server


Forward Irssi Notifications from Remote Server


It is very common to run Irssi on a remote server in screen or tmux via ssh. One challenge can be getting popup notifications when you receive a hilight. Most other solutions either require the user to manually run a script each time they connect to Irssi or they stop working when Irssi is left running for extended periods of time. This approach attempts to solve those problems.

How It Works

nhandler / Instructions
Created May 20, 2014
Configure SSH Access to VirtualBox Linux Guest Virtual Machine
View Instructions
To give your user sudo access:
usermod -a -G sudo YOURUSER (as root)
You will need to logout and then log back in for this change to start working
You can install the SSH server with:
sudo apt-get install openssh-server
In your Linux Guest VM:
nhandler / hw.tex
Created Jan 26, 2012 — forked from Dylnuge/hw.tex
Homework template
View hw.tex
You can’t perform that action at this time.