[Fri 13/05/10 08:14 EST][s009][x86_64/darwin12.2.0/12.3.0][5.0.2]
<paj@pajimac:~>
zsh 3013 % mtr --report github.com
HOST: pajimac.local Loss% Snt Last Avg Best Wrst StDev
1.|-- 192.168.0.1 0.0% 10 5.2 4.2 3.3 5.2 0.7
2.|-- lo-1-pe1-mel-dc2.firenet. 0.0% 10 2.5 3.0 2.3 5.2 0.9
3.|-- ge-0-0-0-bdr1-mel-dc2.fir 0.0% 10 5.2 10.8 4.4 60.5 17.5
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
def binary_search(elements, required): | |
if 1 == len(elements): | |
if required == elements[0]: | |
return required | |
else: | |
return None | |
else: | |
midpoint = int(len(elements) / 2) | |
if elements[midpoint] > required: | |
return binary_search(elements[:midpoint], required) |
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 <iostream> | |
#include <fstream> | |
class scoped_cout_redirector | |
{ | |
public: | |
scoped_cout_redirector(const std::string& filename) | |
:backup_(std::cout.rdbuf()) | |
,filestr_(filename.c_str()) | |
,sbuf_(filestr_.rdbuf()) |
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 <iostream> | |
#if WINDOWS | |
#include <conio.h> | |
#else | |
#include <fcntl.h> | |
#include <termios.h> |
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
// -------------------------------------------------------------------------- | |
// Method Name: CProtocolField::setValue | |
// Definition: This method sets the value attribute of the CProtocolField. | |
// Qualification: none | |
// Export: public | |
// | |
// Return: void | |
// Parameters: double value | |
// | |
// Preconditions: none |
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
////////////////////////////////////////////////////////////////////////////// | |
// | |
// Function Name: ExcCxlCached::~ExcCxlCached() | |
// | |
// Definition: Destructor for the ExcCxlCached class | |
// | |
// Qualification: virtual | |
// | |
// Export: public | |
// |
It seems AAPL are now using MSFT mail services to deliver "Important" messages.
Received: from CO9EHSNDR001.bigfish.com (mail14-co9on0067.outbound.messaging.microsoft.com [157.56.211.67])
(using TLSv1 with cipher AES128-SHA (128/128 bits))
(No client certificate requested)
by beaujolais.extremis.net (Postfix) with ESMTPS id 3b4rGJ5GXPzXCl8
for <[email protected]>; Tue, 7 May 2013 20:19:04 +0100 (BST)
Received: from co9outboundpool.messaging.microsoft.com (10.236.132.244) by
CO9EHSNDR001.bigfish.com (10.236.130.55) with Microsoft SMTP Server (TLS) id
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
# vim: ft=upstart | |
description "Robomo" | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
respawn | |
exec su - ci -c 'cd /home/ci/robomo/lib && ruby robomo.rb > /var/log/robomo.log 2>&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
Default:Solarized Dark xterm-256color | |
# Development | |
ci-public:Ocean | |
ci:Ocean | |
skynet:Ocean | |
skynet-public:Ocean | |
# Test | |
gateqa-p11:Grass |
OlderNewer