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
Create server for iPhone connection | |
start conn #<SiriProxy::Connection::Iphone:0x000000058a0700 @signature=1019, @processed_headers=false, @output_buffer="", @input_buffer="", @unzipped_input="", @unzipped_output="", @unzip_stream=#<Zlib::Inflate:0x000000058a04f8>, @zip_stream=#<Zlib::Deflate:0x000000058a04d0>, @consumed_ace=false, @name="iPhone", @ssled=false> | |
[Info - Plugin Manager] Plugins laoded: [#<SiriProxy::Plugin::Hue:0x000000058a7938 @manager=#<SiriProxy::PluginManager:0x000000058a80b8 @plugins=[...]>>] | |
[Info - iPhone] Received Object: SpeechPacket | |
[Info - iPhone] Received Object: SpeechPacket | |
[Info - iPhone] Received Object: SpeechPacket | |
[Info - iPhone] Received Object: SpeechPacket | |
[Info - iPhone] Received Object: SpeechPacket | |
[Info - iPhone] Received Object: SpeechPacket | |
[Info - iPhone] Received Object: SpeechPacket |
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
#!/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” |
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
[[snippets]] | |
description = "nsq_tail a topic on a specific lookup host" | |
command = "nsq_tail --lookupd-http-address=nsq-lookup-001:4161 --topic topic_name" |
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
[[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" |
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
import ( | |
"fmt" | |
"errors" | |
"os" | |
"time" | |
"fiftyonedegrees" | |
) | |
type userAgentData struct { |
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
[[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" |
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
[[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" |
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
[[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" |
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
[[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" |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE html> | |
<html b:version='2' class='v2' expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'> | |
<head> | |
<meta content='IE=EmulateIE7' http-equiv='X-UA-Compatible'/> | |
<b:if cond='data:blog.isMobile'> | |
<meta content='width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0' name='viewport'/> | |
<b:else/> | |
<meta content='width=1100' name='viewport'/> | |
</b:if> |