Skip to content

Instantly share code, notes, and snippets.

@Rampoina
Rampoina / readme.txt
Created March 11, 2023 19:36
Arc (Puzzlescript Plus Script)
Play this game by pasting the script in https://auroriax.github.io/PuzzleScript/editor.html
@Rampoina
Rampoina / readme.txt
Created March 11, 2023 19:29
Arc (Puzzlescript Plus Script)
Play this game by pasting the script in https://auroriax.github.io/PuzzleScript/editor.html
@Rampoina
Rampoina / readme.txt
Created March 11, 2023 19:18
Arc (Puzzlescript Plus Script)
Play this game by pasting the script in https://auroriax.github.io/PuzzleScript/editor.html
@Rampoina
Rampoina / readme.txt
Created March 11, 2023 19:17
Arc (Puzzlescript Plus Script)
Play this game by pasting the script in https://auroriax.github.io/PuzzleScript/editor.html
@Rampoina
Rampoina / readme.txt
Created March 11, 2023 18:50
Arc (Puzzlescript Plus Script)
Play this game by pasting the script in https://auroriax.github.io/PuzzleScript/editor.html
@Rampoina
Rampoina / lemming.sh
Last active November 8, 2017 15:27
lemming.sh
#!/bin/sh
# ANSI Color -- use these variables to easily have different color
# and format output. Make sure to output the reset sequence after
# colors (f = foreground, b = background), and use the 'off'
# feature for anything you turn on.
initializeANSI()
{
esc=""
@Rampoina
Rampoina / test.scd
Created November 20, 2015 19:32
3DPulse
SynthDef.new("3DPulse",
{
arg freq=440, z=0, gate=0, bend=0, y = 0;
var f, signal, env;
f = freq * bend.midiratio;
env = EnvGen.kr(Env.adsr(attackTime: 0.1,sustainLevel: 1, releaseTime: 0.5), gate, doneAction: 2);
signal = Pulse.ar(freq: f, width: y.linlin(0, 127, 0.5, 0.2), mul: 0.2);
signal = LPF.ar(in: signal, freq: z.linexp(0, 127, 50, 2500))!2*env;
Out.ar(0, signal);
}).add;
@Rampoina
Rampoina / usb_driver.cc
Last active November 7, 2015 16:09
usb midi driver
#include <iostream>
#include <libusb.h>
#include <cstdlib>
#include <RtMidi.h>
using namespace std;
int main() {
RtMidiOut *midiout = 0;
std::vector<unsigned char> message;
@Rampoina
Rampoina / gist:a763d5fe9e0beddfca16
Created October 28, 2015 19:49
Linnstrument firmware issue
test
@Rampoina
Rampoina / cc7e.pcapng
Last active October 28, 2015 21:29
Linnstrument Windows dump vs Linux dump