Skip to content

Instantly share code, notes, and snippets.

🐨🍵 🍦🥋

Glen Keane GlenTiki

🐨🍵 🍦🥋
Block or report user

Report or block GlenTiki

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View release.yml
name: Release
- 'v*'

Keybase proof

I hereby claim:

  • I am thekemkid on github.
  • I am glen_keane ( on keybase.
  • I have a public key ASBakc-90X6WtpmxoKllzNtnnDULtKwsov7fSnrElSXMsgo

To claim this, I am signing this object:

View requestIterator.js
const inherits = require('util').inherits
const xtend = require('xtend')
const requestBuilder = require('./httpRequestBuilder')
function RequestIterator (requests, defaults) {
this.requests = requests || [{}]
this.requests.forEach((request) => {
request = xtend(requestDefaults, request)
View thing.js
// version 1
instance1 = autocannon({
url: 'localhost:3000',
headers: {auth: 'token'},
body: 'some body',
method: 'POST',
customiseRequest: function (client) {
package accounttest1;
// This defines a "type" of object which you can create, etc.
public class Account {
// this defines a "hidden" or "private" variable.
// this is a variable which is only able to be accessed from
// within the account class methods
// The "int" defines this variable as an "integer" which is a
// type of number, with no decimal points
View http.js
'use strict'
const inherits = require('util').inherits
const EE = require('events').EventEmitter
const net = require('net')
const HTTPParser = require('http-parser-js').HTTPParser
const methods = [
View new-api.js
var kafkaesque = require('kafkaesque');
var consumer = kafkaesque({
brokers: [
{host: 'localhost', port: 9094}
// clientId: 'fishy'
// group: 'multiconsumers',
// maxBytes: 2000000
? 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= SERVICE_HOST= 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= SERVICE_HOST= esdata_PORT=10000 elastic_search_PORT_9200=9200 elastic_search_PORT_9300=9200 redisdata_PORT=10001 redis_PORT=6379 nodezoo_base_PORT=1
double monthlyInterestRate = annualInterestRate / 1200;
double monthlyPayment = (loanAmount * monthlyInterestRate)/(1 -(1/Math.pow(1+monthlyInterestRate, numberOfYears*12)));
double totalPayment = monthlyPayment*numberOfYears*12;
View gist:4427d4297a30955328da
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
You can’t perform that action at this time.