This file contains hidden or 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
h2. Story | |
h3. User | |
h3. Goal | |
This file contains hidden or 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
FROM datadog/agent:latest | |
ADD hello.yaml /etc/datadog-agent/conf.d/hello.yaml | |
ADD hello.py /etc/datadog-agent/checks.d/hello.py |
This file contains hidden or 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 | |
set -o pipefail | |
CLUSTER=$1 | |
SERVICE=$2 | |
echo getting service info | |
DETAILS=$(aws ecs describe-services --cluster $CLUSTER --services $SERVICE) |
This file contains hidden or 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 server = require('net').createServer(function (socket) { | |
socket.pause(); | |
function buffered () { | |
return (socket._readableState.buffer[0] || '').toString(); | |
} | |
console.log(1, buffered()); |
This file contains hidden or 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
build/%.o: src/%.[cs] | |
@mkdir -p `dirname $@` | |
@build-scripts/build $< $(CC) $(CFLAGS) -c $< -o $@ | |
target/%: build/root_tasks/%.o $(OBJECTS) | |
@mkdir -p target | |
@build-scripts/build "linking $@" $(LD) $(LDFLAGS) -o $@ $^ |
This file contains hidden or 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 circus = require('../lib/circus'); | |
var channel = process.argv[2]; | |
if (! channel) { | |
console.log('channel reqired'); | |
process.exit(1); | |
} | |
var client = new circus.Client; |
This file contains hidden or 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 net = require('net'), | |
net_binding = process.binding('net'), | |
child_process = require('child_process'), | |
http = require('http'), | |
server; | |
if (process.argv[2]) { // child | |
server = http.createServer(function (req, res) { |
This file contains hidden or 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
.vimrc | |
====== | |
colorscheme evening | |
set number | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
" Switch syntax highlighting on, when the terminal has colors |
This file contains hidden or 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
start | |
socket(): Address family not supported by protocol | |
child (12084) Started | |
200 0 | |
Child (12084) said | |
Child (12084) said Child starts | |
Child (12084) said managed to mmap 2147479552 bytes of 2147479552 | |
Child (12084) died signal=11 | |
Child cleanup complete |
This file contains hidden or 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
Jan 17 12:21:28 pal varnishd[12518]: Pushing vcls failed: CLI communication error (hdr) | |
Jan 17 12:21:28 pal varnishd[12518]: Child (12521) died signal=11 | |
Jan 17 12:21:28 pal varnishd[12518]: Child (-1) said | |
Jan 17 12:21:28 pal varnishd[12518]: Child (-1) said Child starts |
NewerOlder