Skip to content

Instantly share code, notes, and snippets.

View fabaff's full-sized avatar

Fabian Affolter fabaff

View GitHub Profile
@fabaff
fabaff / 0_reuse_code.js
Created February 25, 2017 20:17
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
#include <SPI.h>
#include <Ethernet.h>
#include <PubSubClient.h>
/* ------------------ */
/* SKETCH CREDENTIALS */
/* ------------------ */
char* deviceId = "<DEVICE-ID>"; // * set your device id (will be the MQTT client username)
#!/bin/sh
#----
# bootstrap fedora21
#release=$(cat /etc/fedora-release | awk '/^Fedora/ {print $3}')
#arch=$(arch)
release=21
arch=x86_64
ROOTFS=/var/lib/libvirt/lxc/fedora$release-$arch