This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Waldorf Blofeld MIDI CCs | |
// https://midi.guide/d/waldorf/blofeld/ | |
( | |
~blofeldCC = Dictionary[ | |
\general -> Dictionary[ | |
\bankSelectMsb -> 0, | |
\modWheel -> 1, | |
\breathControl -> 2, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"])) |