Skip to content

Instantly share code, notes, and snippets.

View andyburke's full-sized avatar

Andy Burke andyburke

  • Otto Financial
  • Los Angeles, CA
  • X @andybrk
View GitHub Profile
@andyburke
andyburke / parameterizer_concept.js
Last active May 21, 2016 02:05
parameterizer concept
const boolean = require( 'boolean' );
...
// look at object-transmute as a helper for implementing this
parameterizer( [ {
inputs: [ 'limit', 'max' ],
output: 'limit',
default: 10,
min: 1,
max: 100,
@andyburke
andyburke / flightsim.bat
Created February 15, 2023 01:29
this is the batch file I use to spin up my flightsim setup. near the top is some explanation. you should be able to change the list of desired programs fairly straightforwardly.
REM enabledelayedexpansion allows variable reuse in the loops below
setlocal enabledelayedexpansion
@echo off
REM loop over a list of programs defined in strings as:
REM
REM <program path>[|<cwd>[|<override command>]]
REM
REM program path - the path to program you want to run