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
juliangautier:SILK_SDK_SRC_FIX_v1.0.9 juliangautier$ emcc libSKP_SILK_SDK.a -o silk.js | |
DEBUG:root:PYTHON not defined in /Users/juliangautier/.emscripten, using "/usr/local/opt/python/bin/python2.7" | |
DEBUG:root:JAVA not defined in /Users/juliangautier/.emscripten, using "java" | |
DEBUG:root:compiling to bitcode | |
DEBUG:root:emcc step "parse arguments and setup" took 0.00 seconds | |
DEBUG:root:using library file: libSKP_SILK_SDK.a | |
DEBUG:root:emcc step "bitcodeize inputs" took 0.00 seconds | |
DEBUG:root:emcc step "process inputs" took 0.00 seconds | |
DEBUG:root:will generate JavaScript | |
DEBUG:root:including libc.bc |
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
module.exports = function () { | |
console.log(this === global); | |
} |
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
sas2flash.efi -l log.txt -debug -o -f 2118IT.BIN -b MPTSAS2.ROM | |
Advanced Mode Set | |
Adapter Selected is a LSI SAS: SAS2008(B2) | |
Chip status 0000000000000000: | |
Executing Operation: Flash Firmware Image |
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
org.elasticsearch.index.fielddata.fieldcomparator.BytesRefFieldComparatorSource@455681d2>]: Query Failed [Failed to execute main query]]; nested: NullPointerException; |
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
//Required modules | |
var fs = require('fs'), | |
fspath = require('path'); | |
//hardcoded for testing | |
var collection = "/Users/julian/Documents/Test"; | |
var folders = 0; | |
var file_paths = []; | |
function traverse(path, callback) { |
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
tpl = { | |
templates: {}, | |
loadTemplates: function (names, callback) { | |
var that = this; | |
var loadTemplate = function (index) { | |
var name = names[index]; |
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
#include <stdio.h> | |
int | |
main () | |
{ | |
char durationArray[4]; | |
char timeoutArray[4] = { | |
(0 & 0x7F) | ((0 & 0x7F) << 7) | |
,(15 & 0x7F) | ((0 & 0x7F) << 7) | |
,(66 & 0x7F) | ((0 & 0x7F) << 7) |
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
/* Ultrasound Sensor | |
*------------------ | |
* | |
* Reads values (00014-01199) from an ultrasound sensor (3m sensor) | |
* and writes the values to the serialport. | |
* | |
* http://www.xlab.se | http://www.0j0.org | |
* copyleft 2005 Mackie for XLAB | DojoDave for DojoCorp | |
* | |
*/ |
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
// data structure for node | |
var Node = function(char,isLastChar){ | |
this.char = char; | |
this.isLastChar = isLastChar; | |
this.children = {}; | |
}; | |
//adds a word to a node/tree | |
var addWord = function(tree,word){ | |
var chars = word.split(''); | |
//when adding a node to a tree, the currentNode starts as the tree |
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 deferredTask = function(){ | |
var dfd = $.Deferred(); | |
someAsyncCall(function(data){ | |
dfd.resolve(data); | |
}); | |
return dfd.promise(); | |
}; | |
var deferredTasks = []; | |
for(var i = 0; i < 3; i++){ | |
deferredTasks.push(deferredTask()); |
NewerOlder