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
// | |
// MultiTableLookupOsc.cpp | |
// Rhythm Necklace | |
// | |
// Created by Sam Tarakajian on 12/08/2014. | |
// Copyright (c) 2014 Sam Tarakajian. All rights reserved. | |
// | |
#include "MultiTableLookupOsc.h" |
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
// | |
// MultiTableLookupOsc.cpp | |
// Rhythm Necklace | |
// | |
// Created by Sam Tarakajian on 12/08/2014. | |
// Copyright (c) 2014 Sam Tarakajian. All rights reserved. | |
// | |
#include "MultiTableLookupOsc.h" |
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
[CATransaction begin]; | |
[CATransaction setValue:(id)kCFBooleanTrue forKey:kCATransactionDisableActions]; | |
[self setNeedsDisplay]; | |
[CATransaction commit]; |
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
// | |
// ViewController.m | |
// SimpleAudioTest | |
// | |
// Created by Sam Tarakajian on 8/24/15. | |
// Copyright © 2015 Sam Tarakajian. All rights reserved. | |
// | |
#import "ViewController.h" | |
@import AudioToolbox; |
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
<pre><code> | |
----------begin_max5_patcher---------- | |
971.3ocyXkriaiCD8r8WgFc1wfKZwZtMe.yo4XiFFzRz1LsLo.EUmNSP92Gt | |
JKIKujFcRlFnEo35qp5wGK4usbQ7Nwaz13n+L5onEK91xEKrMYZXg+8EwmHu | |
UVSZsCK9DSRVepqVwThtxiwqbig2chwqoJ6ff9Fa+Bqgt0NtskhNtxzIv2oh | |
zrkxI6poUSa17+EiugnJOx3G1JokJGhKRVCVEASv1hzLaQFbMH5Y+jX10NVr | |
6yeBN.phN0TrVJpER2xBVmmT.Pqlsx40tgw010LlfTnHJ5b83bHWypm2O4vp | |
5qMTG5hiid1zy2Wtz7X0CF23zun8BAefh9lcSh+iOEAWGZsU80Z6tDOaXEc8 | |
HADuw372jZdhglmHzUhCI2NPbg8tuVPTenFcGugT9Rz9n8OnkCuGGDaM7L7M | |
Mb77FN51F9peFd.odynQiNA+9C9dW.FXJxucvG7C5CLl+6yxaqYUTYX6dkH4 |
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
_fetchArtObjectWithId(id) { | |
const requestURLString = this._urlForObjectWithId(id); | |
logger.info(`Fething collection object with id: ${id} at url: ${requestURLString}`); | |
return new Promise((resolve, reject) => { | |
const req = https.request(requestURLString, (res) => { | |
let data = ''; | |
res.on('data', (d) => { |
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
// from src/tms_csv/src/script/tmsURLReader.js | |
_urlForObjectWithId(id) { | |
const requestURL = url.parse(this.rootURL); | |
requestURL.pathname = `objects/${id}/json`; | |
this._addCredentialsToURL(requestURL); | |
return url.format(requestURL); | |
} |
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
const logger = require('./logger.js'); | |
const fs = require('fs'); | |
const csv = require('fast-csv'); | |
module.exports = class CSVWriter { | |
constructor(path) { | |
logger.info(`Opening CSV file at ${path}`); | |
this._path = path; | |
this._csvStream = csv.createWriteStream({ headers: true }); | |
this._writableStream = fs.createWriteStream(path); |
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
create table collection( | |
id bigint unsignet primary key, | |
name varchar(100), | |
description varchar(512) | |
); | |
insert into collection (id, name, description) values | |
(1, 'Two Geese', 'A painting of two beautiful geese'), | |
(2, 'Roses in Bloom', 'Blooming roses, obviously'), | |
(3, 'Still Life with Cake', 'A partially eaten cake, next to a vase.'); |
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
create table collection( | |
id bigint unsigned primary key, | |
name varchar(100), | |
description varchar(512) | |
); | |
insert into collection (id, name, description) values | |
(1, 'Two Geese', 'A painting of two beautiful geese'), | |
(2, 'Roses in Bloom', 'Blooming roses, obviously'), | |
(3, 'Still Life with Cake', 'A partially eaten cake, next to a vase.'); |
OlderNewer