Skip to content

Instantly share code, notes, and snippets.

View cpmpercussion's full-sized avatar
🏠
Working from home

Charles Martin cpmpercussion

🏠
Working from home
View GitHub Profile
@cpmpercussion
cpmpercussion / nime-paper-input.md
Created January 27, 2017 15:09
NIME Markdown Paper Template

title: 'A Very Well-Written NIME Paper' author:

  • name: Author one affiliation: University address: University email: email1@domain.edu
  • name: Author two affiliation: University address: University
@cpmpercussion
cpmpercussion / nime.template
Created January 27, 2017 15:06
Pandoc Template for NIME Papers
%% Pandoc template for creating NIME papers
%% Adapted from NIME paper template and Pandoc latex template.
\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$lang$,$endif$$if(papersize)$$papersize$,$endif$$for(classoption)$$classoption$$sep$,$endfor$]{$documentclass$}
\usepackage{hyperref}
\makeatletter
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
\makeatother
@cpmpercussion
cpmpercussion / master-project-proposal-template.tex
Created October 26, 2016 15:22
Master's Project Proposal Template
\documentclass[12pt]{article}
\usepackage{geometry}
\geometry{a4paper}
\usepackage[usenames,dvipsnames]{color}
\usepackage{hyperref}
\hypersetup{
colorlinks,
citecolor=Violet,
linkcolor=Red,
@cpmpercussion
cpmpercussion / shakespeare_output_text.txt
Last active October 18, 2016 14:36
Shakespeare output
TAGUE:
Trust too trouble it: I will have your honour
And threst words, will not still bear the gods and cannot speak,
And now and take the which thy means to have him.
POMPEY:
If this be?
Here comes your tongue, sir, a strange o' the stand?
TRANIO:
@cpmpercussion
cpmpercussion / IntelGalileoProcessDiary.md
Created January 23, 2015 06:12
Intel Galileo Pure Data music process

Setting up SD card

download galileo-1.2.img from <galileodebian.sourceforge.net>

used rpi-sd-card-builder to dd the image to the card.

Connect serial in terminal

something like:

screen /dev/tty.PL2303-0000103D 115200

@cpmpercussion
cpmpercussion / MicroViewPlotPixel.ino
Created December 26, 2014 05:41
Sketch for plotting an analog input on a MicroView arduino
#include <MicroView.h>
const int PLOT_PIN = 0;
int readingHistory[64];
int currentIndex = 0;
void setup() {
// put your setup code here, to run once:
uView.begin();