I hereby claim:
- I am elubow on github.
- I am elubow (https://keybase.io/elubow) on keybase.
- I have a public key whose fingerprint is CFEC 78CB 0701 57AB AF5C D569 6932 03C1 F066 DB8A
To claim this, I am signing this object:
#!/bin/bash | |
ports="6379 6380 6381 6382 6383 6384 6385" | |
for port in ${ports} | |
do | |
t0=$(redis-cli -p $port info | grep command | cut -d : -f 2 | tr -d ‘\r’) | |
sleep 1 | |
t1=$(redis-cli -p $port info | grep command | cut -d : -f 2 | tr -d ‘\r’) | |
val=$(($t1$t0)) | |
echo “$port,$val” |
int speakerPin = 5; | |
int length = 26; | |
char notes[] = "eeeeeeegcde fffffeeeeddedg"; | |
int beats[] = { 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2}; | |
int tempo = 300; | |
void playTone(int tone, int duration) { | |
for (long i = 0; i < duration * 1000L; i += tone * 2) { | |
digitalWrite(speakerPin, HIGH); | |
delayMicroseconds(tone); |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python2.7 | |
import sys | |
import logging | |
import functools | |
import time | |
import tornado.options | |
import tornado.ioloop | |
import nsq_data | |
[[snippets]] | |
description = "nsq_tail a topic on a specific lookup host" | |
command = "nsq_tail --lookupd-http-address=nsq-lookup-001:4161 --topic topic_name" |
[[snippets]] | |
description = "nsq_tail a topic on a specific lookup host" | |
command = "nsq_tail --lookupd-http-address=nsq-lookup-001:4161 --topic topic_name" | |
[[snippets]] | |
description = "git reset file.txt back to master" | |
command = "git checkout HEAD -- file.txt" |
import ( | |
"fmt" | |
"errors" | |
"os" | |
"time" | |
"fiftyonedegrees" | |
) | |
type userAgentData struct { |
[[snippets]] | |
description = "nsq_tail a topic on a specific lookup host" | |
command = "nsq_tail --lookupd-http-address=nsq-lookup-001:4161 --topic topic_name" | |
[[snippets]] | |
description = "git reset file.txt back to master" | |
command = "git checkout HEAD -- file.txt" | |
[[snippets]] | |
description = "Install knife-ec2 while dealing with Mac nokogiri issues" |
[[snippets]] | |
description = "nsq_tail a topic on a specific lookup host" | |
command = "nsq_tail --lookupd-http-address=nsq-lookup-001:4161 --topic topic_name" | |
[[snippets]] | |
description = "git reset file.txt back to master" | |
command = "git checkout HEAD -- file.txt" | |
[[snippets]] | |
description = "Install knife-ec2 while dealing with Mac nokogiri issues" |
[[snippets]] | |
description = "nsq_tail a topic on a specific lookup host" | |
command = "nsq_tail --lookupd-http-address=nsq-lookup-001:4161 --topic topic_name" | |
[[snippets]] | |
description = "git reset file.txt back to master" | |
command = "git checkout HEAD -- file.txt" | |
[[snippets]] | |
description = "Install knife-ec2 while dealing with Mac nokogiri issues" |