Skip to content

Instantly share code, notes, and snippets.

View jrepp's full-sized avatar
👨‍🍳
cookin'

Jacob Repp jrepp

👨‍🍳
cookin'
  • IBM
  • Southern California
  • 23:58 (UTC -08:00)
View GitHub Profile
@jrepp
jrepp / live-show-rack-emulation.vcv
Created April 29, 2020 06:55
This is a VCV rack that emulates a good chunk of the rack I created for a live Eurorack performance April 26th, 2020
{
"version": "1.1.6",
"modules": [
{
"id": 1,
"plugin": "Core",
"version": "1.1.6",
"model": "AudioInterface",
"params": [],
"leftModuleId": 36,
@jrepp
jrepp / split-helm-deploy.sh
Created April 28, 2020 23:48
This script will take a helm deployment and split into multiple files, helpful if you just want to diff a single part of the deployment
#!/usr/bin/env bash
for f in $(ls -1 *deploy.yaml); do
echo processing $f
abspath=$(realpath ${f})
# build the output sub-directory
base_name=$(basename ${f})
name_only=${base_name%.*}
mkdir -p $name_only
pushd $name_only
@jrepp
jrepp / Makefile
Last active November 22, 2019 01:24
A test program that shows how you might implement slippery ice blocks in a top down game
# This builds the sample, run using ./ice
ice: ice_movement_sample.cpp
g++ --std=c++17 -Wall -ggdb -O0 -o ice ice_movement_sample.cpp
@jrepp
jrepp / fm_mod.ino
Created February 21, 2019 23:03
FM synth program
// fm_mod.pde
// minimalisitic fm synth program
// guest - openmusiclabs.com - 12.12.16
// takes in audio data from the ADC and plays it out on
// Timer1 PWM. 16b, Phase Correct, 31.25kHz.
#include "MiniArDSP.h"
#define PWM_FREQ 0x00FF // pwm frequency - see table
#define PWM_MODE 0 // Fast (1) or Phase Correct (0)
@jrepp
jrepp / waveform_generator.ino
Created February 21, 2019 22:43
Arduino program to generate unique waveforms
//Arduino Function Generator
//by Amanda Ghassaei
//http://www.instructables.com/id/Arduino-Waveform-Generator/
//April 2012
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
@jrepp
jrepp / waveform_generator.ino
Created February 21, 2019 22:43
Arduino program to generate unique waveforms]
//Arduino Function Generator
//by Amanda Ghassaei
//http://www.instructables.com/id/Arduino-Waveform-Generator/
//April 2012
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
// Checkers.cpp : Defines the entry point for the console application.
//
#include "CheckersGame.h"
#include <iostream>
int main()
{
std::cout << "Welcome to checkers" << endl;
@jrepp
jrepp / pywin32service.py
Created December 8, 2017 23:09
Python windows service
# from https://stackoverflow.com/questions/32404/is-it-possible-to-run-a-python-script-as-a-service-in-windows-if-possible-how
import win32serviceutil
import win32service
import win32event
import servicemanager
import socket
class AppServerSvc (win32serviceutil.ServiceFramework):
_svc_name_ = "TestService"
@jrepp
jrepp / buildver.h
Created October 14, 2017 23:52
Python script to extract define tokens from the C++ build constants
#define BUILD_ID 42123
#define BUILD_NAME "branches/GM-2"
#define BUILD_ID_TYPE 5

Keybase proof

I hereby claim:

  • I am jrepp on github.
  • I am jrepp (https://keybase.io/jrepp) on keybase.
  • I have a public key ASCMxcQ4QKKSgX05WaF0IBf90OqPrE1kiR31IdUWmkioQQo

To claim this, I am signing this object: