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
libust[2727/2727]: Warning: HOME environment variable not set. Disabling LTTng-UST per-user tracing. (in setup_local_apps() at lttng-ust-comm.c:305) |
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
libust[2727/2727]: Warning: HOME environment variable not set. | |
Disabling LTTng-UST per-user tracing. (in setup_local_apps() at lttng-ust-comm.c:305) |
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
#define SLURP_STRING(obj, member, valp) \ | |
if (!(obj)->IsObject()) { \ | |
return env->ThrowError( \ | |
"expected object for " #obj " to contain string member " #member); \ | |
} \ | |
node::Utf8Value _##member(env->isolate(), \ | |
obj->Get(OneByteString(env->isolate(), #member))); \ | |
if ((*(const char **)valp = *_##member) == nullptr) \ | |
*(const char **)valp = "<unknown>"; |
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
Making all in lttng-sessiond | |
make[3]: Entering directory `/home/vagrant/lttng-tools/src/bin/lttng-sessiond' | |
CC save.o | |
save.c: In function ‘get_ust_context_type_string’: | |
save.c:263:7: error: ‘LTTNG_UST_CONTEXT_PERF_THREAD_COUNTER’ undeclared (first use in this function) | |
case LTTNG_UST_CONTEXT_PERF_THREAD_COUNTER: | |
^ | |
save.c:263:7: note: each undeclared identifier is reported only once for each function it appears in | |
save.c: In function ‘save_ust_context’: | |
save.c:860:23: error: ‘LTTNG_UST_CONTEXT_PERF_THREAD_COUNTER’ undeclared (first use in this function) |
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 obj = new ObjectThatDoesAsyncStuff(); //create object | |
// create some `when` checks - when these conditions are met the code in them should run | |
// (right after the variable has been changed, this async `if` should be run on it) | |
when(obj.someNumber > 10 && obj.someNumber < 20) { | |
console.log('its in range! Fire the lazer!!'); | |
} | |
when(obj.commandReady) { |
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
vagrant@vagrant-ubuntu-trusty-64:~$ lttng create sessionA | |
Session sessionA created. | |
Traces will be written in /home/vagrant/lttng-traces/sessionA-20150428-145141 | |
vagrant@vagrant-ubuntu-trusty-64:~$ lttng list | |
Available tracing sessions: | |
1) sessionA (/home/vagrant/lttng-traces/sessionA-20150428-145141) [inactive] | |
Trace path: /home/vagrant/lttng-traces/sessionA-20150428-145141 | |
Live timer interval (usec): 0 | |
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
vagrant@vagrant-ubuntu-trusty-64:~/lttng-modules$ make | |
LTTNG_KERNELDIR=/lib/modules/3.13.0-52-generic/build make -C /lib/modules/3.13.0-52-generic/build M=/home/vagrant/lttng-modules modules | |
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-52-generic' | |
CC [M] /home/vagrant/lttng-modules/lttng-ring-buffer-client-discard.o | |
CC [M] /home/vagrant/lttng-modules/lttng-ring-buffer-client-overwrite.o | |
CC [M] /home/vagrant/lttng-modules/lttng-ring-buffer-metadata-client.o | |
CC [M] /home/vagrant/lttng-modules/lttng-ring-buffer-client-mmap-discard.o | |
CC [M] /home/vagrant/lttng-modules/lttng-ring-buffer-client-mmap-overwrite.o | |
CC [M] /home/vagrant/lttng-modules/lttng-ring-buffer-metadata-mmap-client.o | |
CC [M] /home/vagrant/lttng-modules/lttng-statedump-impl.o |
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
double monthlyInterestRate = annualInterestRate / 1200; | |
double monthlyPayment = (loanAmount * monthlyInterestRate)/(1 -(1/Math.pow(1+monthlyInterestRate, numberOfYears*12))); | |
double totalPayment = monthlyPayment*numberOfYears*12; |
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
? fuge> tail nodezoo_search nodezoo_dequeue | |
tailing: nodezoo_search | |
? fuge> tail nodezoo_dequeue | |
tailing: nodezoo_dequeue | |
? fuge> start nodezoo_search nodezoo_dequeue | |
running: nodezoo_search | |
running: PROXY_HOST=127.0.0.1 SERVICE_HOST=0.0.0.0 esdata_PORT=10000 elastic_search_PORT_9200=9200 elastic_search_PORT_9300=9200 redisdata_PORT=10001 redis_PORT=6379 nodezoo_base_PORT=10002 nodezoo_info_PORT=10003 nodezoo_search_PORT=10004 nodezoo_npm_PORT=10005 nodezoo_github_PORT=10006 nodezoo_travis_PORT=10007 nodezoo_updater_PORT=10008 nodezoo_dequeue_PORT=10009 nodezoo_web_PORT=8000 SERVICE_PORT=20004 GITHUB_TOKEN=8108e1b855ed3d89e62f4270366e54e61cf00b41 UPDATER_LIMIT=0 exec /Users/glen/.nvm/versions/node/v4.4.2/bin/node -r /Users/glen/.nvm/versions/node/v4.4.2/lib/node_modules/fuge/fuge.js srv/start.js | |
running: nodezoo_dequeue | |
running: PROXY_HOST=127.0.0.1 SERVICE_HOST=0.0.0.0 esdata_PORT=10000 elastic_search_PORT_9200=9200 elastic_search_PORT_9300=9200 redisdata_PORT=10001 redis_PORT=6379 nodezoo_base_PORT=1 |
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 kafkaesque = require('kafkaesque'); | |
var consumer = kafkaesque({ | |
brokers: [ | |
{host: 'localhost', port: 9094} | |
], | |
// clientId: 'fishy' | |
// group: 'multiconsumers', | |
// maxBytes: 2000000 | |
}); |
OlderNewer