Skip to content

Instantly share code, notes, and snippets.

View notthetup's full-sized avatar
🔊

Chinmay Pendharkar notthetup

🔊
View GitHub Profile
@notthetup
notthetup / error.txt
Created March 20, 2015 04:48
Mumble Error
Undefined symbols for architecture x86_64:
"vtable for QDeviceDiscoveryDummy", referenced from:
QDeviceDiscovery::create(QFlags<QDeviceDiscovery::QDeviceType>, QObject*) in libQt5PlatformSupport.a(qdevicediscovery_dummy.o)
QDeviceDiscoveryDummy::QDeviceDiscoveryDummy(QFlags<QDeviceDiscovery::QDeviceType>, QObject*) in libQt5PlatformSupport.a(qdevicediscovery_dummy.o)
QDeviceDiscoveryDummy::QDeviceDiscoveryDummy(QFlags<QDeviceDiscovery::QDeviceType>, QObject*) in libQt5PlatformSupport.a(qdevicediscovery_dummy.o)
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
@notthetup
notthetup / stub.js
Created February 24, 2015 07:28
How to stub this?
var DP = require('dependentModule');
function MyModule (){
var dp = new DP();
this.someFunction = function(){
dp.dependentFunction();
}
}
module.exports = myModule
{"id":"602645386505992","name":"Sunday Showcase","description":" Sunday Showcase allows visitors unique access to cutting edge projects being undertaken by different tertiary institutions across Singapore. The series invites the creators and their work into ArtScience Museum on a Sunday each month. The creators are on hand throughout the afternoon to talk with visitors about their inventions, their creative process, and to facilitate visitors' interaction with the projects. There is something for everyone in this hands-on, accessible showcase series. Input, Process, Output Sunday 11 January, 1pm – 7pm FREE The MediaLab at LASALLE College of the Arts presents an engaging and varied body of student works, including new musical instruments, design prototypes, and image-making machines.","location":"ArtScience Museum","url":"https://www.facebook.com/events/602645386505992","group_name":"ArtScience Museum","group_url":"http://www.facebook.com/groups/156726297714355","formatted_time":"11 Jan 2015, Sun, 1:00 pm","st
@notthetup
notthetup / squaresynth.md
Created October 28, 2014 04:28
SquareSynth Workshop Updates

Step 1

Battery + LED

Step 2

Speaker + AMP

Step 3

@notthetup
notthetup / squaresynth.md
Last active August 29, 2015 14:06
Square Synth Workshop Companion
@notthetup
notthetup / experiments.js
Last active August 29, 2015 14:04
Async JS Experiments
console.log("begin act one");
[1,2,3,4,5].forEach(function(e){console.log(e)});
console.log("end act one");
console.log("begin act two");
console.log("act two scene 1");
[1,2,3,4,5].forEach(function(e){window.setTimeout(function(){console.log(e);})});
console.log("act two scene 2");
@notthetup
notthetup / testHTTPget.js
Last active August 29, 2015 14:03
Testing HTTP GET in Node.js
var http = require('http');
var myTimeout = 500;
var options = {
host: '192.168.0.1',
};
var req = http.request(options, function(response) {
console.log("Response : ", response.statusCode);
response.on('data', function () {});
@notthetup
notthetup / moogvcf.js
Created June 19, 2014 08:59
moogvcf.js
function MoogVCF(){
var y1, y2, y3, y4, oldx, oldy1, oldy2, oldy3;
y1 = y2 = y3 = y4 = oldx = oldy1 = oldy2 = oldy3 = 0;
var p, k, t1, t2, r, x;
return function(cutoff, res, input){
cutoff = 2 * cutoff / sampleRate;
p = cutoff * (1.8 - (0.8 * cutoff));
@notthetup
notthetup / wavepotscripts.md
Last active August 27, 2023 20:48
A list of interesting wavepot scripts.