Skip to content

Instantly share code, notes, and snippets.

View PostArchitekt's full-sized avatar

Dale Adams PostArchitekt

View GitHub Profile
@boneskull
boneskull / raspbian-setup-script.md
Last active August 21, 2017 22:17
raspbian setup script (jessie lite)

This is a note to myself about what I need to do to setup a Raspbian box.

  1. Username is pi and pw is raspberry. osmc/osmc if OSMC.
  2. apt-get update
  3. apt-get dist-upgrade -y
  4. apt-get install nfs-kernel-server openvpn software-properties-common vim git dnsutils -y
  • software-properties-common for adding PPAs
  1. apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 249AD24C
  • we can't use apt-add-repository because the Deluge PPA only has Ubuntu builds
  • key info is found here
anonymous
anonymous / gist:10675250
Created April 14, 2014 19:11
Motion Blur + Chromatic Aberration
// by dave @ beesandbombs.tumblr.com >:)
void setup() {
setup_();
result = new int[width*height][3];
result_ = new int[width*height][3];
}
int[][] result, result_;
float time;