Skip to content

Instantly share code, notes, and snippets.

View rossja's full-sized avatar

Jason Ross rossja

View GitHub Profile
#!/usr/bin/perl
use strict;
my @chars=(
"\x0a","\x0a","\x3d","\x78",
"\x3d","\x20","\x0a","\x6f",
"\x20","\x2e","\x20","\x0a",
"\x5e","\x5f","\x5f","\x5f",
"\x5e","\x0a","\x0a","\x79",
@rossja
rossja / keybase.md
Created November 22, 2018 15:52
keybase proof

Keybase proof

I hereby claim:

  • I am rossja on github.
  • I am algorythm (https://keybase.io/algorythm) on keybase.
  • I have a public key ASDFgB-KRHOkKCnCMP7SAoAOOmOGk4pcMM2hoYF-n5h78wo

To claim this, I am signing this object:

@rossja
rossja / laforge_cty_error_fix.md
Last active February 12, 2019 01:52
Fixing Laforge cty.primitiveType errors

When running laforge, if you get the following error:

panic: gob: registering duplicate types for "github.com/zclconf/go-cty/cty.primitiveType": cty.primitiveType != cty.primitiveType

The following steps can be taken to fix it:

  1. Edit $GOPATH/src/github.com/hashicorp/terraform/vendor/github.com/zclconf/go-cty/cty/types_to_register.go
  2. Comment out the following import statements:
 "math/big"
@rossja
rossja / runpi.sh
Last active October 22, 2020 14:52
QEMU Raspberry Pi 2 Emulation on Mac OS X
#!/bin/bash
# tested on Max OS X 10.13.2 "High Sierra"
# install qemu using: `brew install qemu`
# get kernel from: https://github.com/dhruvvyas90/qemu-rpi-kernel/blob/master/kernel-qemu-4.4.34-jessie?raw=true
# get raspbian image from: http://downloads.raspberrypi.org/raspbian_latest
qemu-system-arm \
-kernel kernel-qemu-4.4.34-jessie \
-cpu arm1176 \