Skip to content

Instantly share code, notes, and snippets.

View degiere's full-sized avatar

Chris Degiere degiere

View GitHub Profile
@degiere
degiere / blofeld_midi_cc.scd
Last active September 15, 2024 21:13
Blofeld MIDI CCs for SuperCollider
// Waldorf Blofeld MIDI CCs
// https://midi.guide/d/waldorf/blofeld/
(
~blofeldCC = Dictionary[
\general -> Dictionary[
\bankSelectMsb -> 0,
\modWheel -> 1,
\breathControl -> 2,
# Try to get futures working with Zipline
import pytz
import pandas as pd
import matplotlib.pyplot as plt
import Quandl
from zipline.api import *
from zipline.algorithm import TradingAlgorithm
from zipline.finance.trading import TradingEnvironment
@degiere
degiere / sql-in-query-dojo-store.js
Last active August 29, 2015 14:02
SQL IN like query with Dojo stores
var isInList = function(list) {
return function(object) {
return list.lastIndexOf(object.id) > -1
}
}
var store = new Memory({data: someData})
var results = store.query(isInList(["apples", "orangles"]))