Skip to content

Instantly share code, notes, and snippets.

@danteese
danteese / code.gs
Created July 27, 2020 05:24
Introduction to Google Form Mapping
/**
* Map function to get all the results from the database
* this is specially useful if you're trying to access to
* the questions and options as you may want to generate
* a report in your system...(not only the answers)
*
* I mainly did this because of the lack of good examples
* on the documentation, only through other github projects
* and try and failure.
*
@igolopolosov
igolopolosov / GarageBand-MIDI-percussion-key-map.markdown
Last active January 5, 2026 03:48
Map of the MIDI keys for percussion in Garage Band
MIDI  Note    Drum Sound
====  ====    ==========
36    C2      Bass Drum 1
37    C#2     Side Stick
38    D2      Acoustic Snare
39    Eb2     Hand Clap
40    E2      Electric Snare
41    F2      Low Floor Tom
42 F#2 Closed Hi Hat
@n1ckfg
n1ckfg / Palette.pde
Last active December 28, 2020 17:15
import java.util.*;
class Col {
color c;
float d;
Col(color _c, float _d) {
c = _c;
d = _d;
}
@atduskgreg
atduskgreg / PWindow.pde
Last active November 15, 2023 13:29
Example of creating a Processing sketch with multiple windows (works in Processing 3.0)
class PWindow extends PApplet {
PWindow() {
super();
PApplet.runSketch(new String[] {this.getClass().getSimpleName()}, this);
}
void settings() {
size(500, 200);
}