Skip to content

Instantly share code, notes, and snippets.

View mafrosis's full-sized avatar
🍳

Matt Black mafrosis

🍳
  • MACHIN SHIN
  • Melbourne, Australia
View GitHub Profile
{
"$schema": "http://json-schema.org/schema#",
"id": "http://example.com/schemas/approve_schema.json",
"title": "portal_approve",
"description": "A description",
"type": "object",
"properties": {
"name": {
"description": "The contact's full name",
"type": "string"
@mafrosis
mafrosis / gist:7456240
Created November 13, 2013 20:55
config.log from failed ncmpcpp install
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --disable-dependency-tracking --prefix=/usr/local/Cellar/ncmpcpp/0.5.10 --with-taglib --with-curl --enable-unicode
## --------- ##
## Platform. ##
@mafrosis
mafrosis / serial_mon.py
Created May 17, 2013 21:41
Arduino serial port monitor
#! /usr/bin/env python
import serial
import time
PORT = "/dev/tty.usbmodemfd1121"
RECONNECT_SLEEP = 5
MONITOR_SLEEP = 0.2
@mafrosis
mafrosis / Screenshot_2013-05-02-18-05-21.jpg
Last active December 16, 2015 21:39
MPDroid Album Grid Library view
Screenshot_2013-05-02-18-05-21.jpg
#!/usr/bin/ruby
#
# This script fixes /usr/local only.
#
# 6th January 2010:
# Modified the script to just fix, rather than install. - rpavlik
#
# 30th March 2010:
# Added a check to make sure user is in the staff group. This was a problem
# for me, and I think it was due to me migrating my account over several
@mafrosis
mafrosis / rethinkdb_boomerang.md
Last active August 29, 2015 14:01
RethinkDB with Boomerang Data

RethinkDB with Boomerang Data

This guide will get you up and running with a Boomerang dataset, and subsequently run through a couple of small queries using RethinkDB.

Get A Dataset

Create a working directory: