Skip to content

Instantly share code, notes, and snippets.

View rogierslag's full-sized avatar

Rogier Slag rogierslag

View GitHub Profile

Keybase proof

I hereby claim:

  • I am rogierslag on github.
  • I am rogierslag (https://keybase.io/rogierslag) on keybase.
  • I have a public key whose fingerprint is 5D16 5E85 CA62 0DA3 FC56 9F14 6B92 4809 43D9 4906

To claim this, I am signing this object:

@rogierslag
rogierslag / nyan_cat.sh
Created January 13, 2015 10:54
Nyan cat in bash
#!/bin/bash
# config
IMGS=(
"
+ o + o \n\
+ o + +\n\
o + \n\
o + + + \n\
+ o o + o\n\
.highlight {
background: #fff; }
.highlight .c {
color: #998;
font-style: italic; }
.highlight .err {
color: #a61717;
background-color: #e3d2d2; }
.highlight .k {
font-weight: bold; }
@rogierslag
rogierslag / example.png
Last active April 5, 2018 21:31
Kibana dashboards
example.png
@rogierslag
rogierslag / nginx.conf
Last active May 30, 2017 14:46 — forked from thoop/nginx.conf
Official prerender.io nginx.conf for nginx
# Change YOUR_TOKEN to your prerender token and uncomment that line if you want to cache urls and view crawl stats
# Change example.com (server_name) to your website url
# Change /path/to/your/root to the correct value
server {
listen 80;
server_name example.com;
root /path/to/your/root;
index index.html;
@rogierslag
rogierslag / docker-compose.yml
Created February 19, 2016 15:05
orchestration workshop
hasher:
image: rogierslag/dockercoins_hasher:1455890856
ports:
- 8002:80
redis:
image: redis
rng:
image: rogierslag/dockercoins_rng:1455890856
ports:
- 8001:80
@rogierslag
rogierslag / production.log
Created February 26, 2016 13:40
TuneMyGc
I, [2016-02-26T14:38:06.388518 #4261] INFO -- : [tunemygc, pid: 4261] interposing
I, [2016-02-26T14:38:06.388681 #4261] INFO -- : [tunemygc, pid: 4261] hooked: after_initialize
I, [2016-02-26T14:38:06.388719 #4261] INFO -- : [tunemygc, pid: 4261] hooked: at_exit
I, [2016-02-26T14:38:06.388740 #4261] INFO -- : [tunemygc, pid: 4261] interposed
I, [2016-02-26T14:38:07.928439 #4261] INFO -- : [tunemygc, pid: 4261] hooked: GC tracepoints
I, [2016-02-26T14:38:07.947020 #4261] INFO -- : [tunemygc, pid: 4261] hooked: action_controller
I, [2016-02-26T14:38:08.116063 #4261] INFO -- : [tunemygc, pid: 4261] at_exit
I, [2016-02-26T14:38:08.116406 #4261] INFO -- : [tunemygc, pid: 4261] uninstalled GC tracepoint
I, [2016-02-26T14:38:08.116663 #4261] INFO -- : [tunemygc, pid: 4261] uninstalled action_controller spy
I, [2016-02-26T14:38:08.120040 #4402] INFO -- : [tunemygc, pid: 4402] at_exit
<html>
<head>
<title>inventid</title>
<!-- Browser preloading assets -->
<link rel="dns-prefetch" href="//cdn.inventid.nl/">
<link rel="dns-prefetch" href="//fonts.googleapis.com">
<link rel="dns-prefetch" href="//www.google-analytics.com">
<link rel="dns-prefetch" href="//rum-static.pingdom.net">
<link rel="dns-prefetch" href="//browser-update.org">
<link rel="dns-prefetch" href="//rum-collector.pingdom.net">
#
# ZooKeeper Logging Configuration
#
# Format is "<default threshold> (, <appender>)+
log4j.rootLogger=${zookeeper.root.logger}, logstashSocket
# Example: console appender only
# log4j.rootLogger=INFO, CONSOLE
rogierslag@app4:~$ traceroute api.hipchat.com
traceroute to api.hipchat.com (52.5.185.225), 30 hops max, 60 byte packets
1 switch1.pool21.transip.nl (37.97.198.220) 3.368 ms 3.398 ms switch2.pool21.transip.nl (37.97.198.221) 6.356 ms
2 v661.coreswitch3.rf.ams0.transip.net (87.253.147.177) 1.406 ms 1.384 ms v661.coreswitch4.ams0.transip.net (87.253.147.178) 0.838 ms
3 v632.router1.dcga.ams.transip.net (87.253.159.157) 0.203 ms v633.router2.dcga.ams.transip.net (87.253.159.165) 0.196 ms 0.177 ms
4 xe-0-4-0-28.r02.amstnl02.nl.bb.gin.ntt.net (81.20.64.89) 1.005 ms 1.240 ms 1.267 ms
5 xe-0-4-0-28.r02.amstnl02.nl.bb.gin.ntt.net (81.20.64.89) 1.476 ms 1.501 ms ae-7.r25.amstnl02.nl.bb.gin.ntt.net (129.250.2.158) 0.832 ms
6 ae-7.r25.amstnl02.nl.bb.gin.ntt.net (129.250.2.158) 0.951 ms 1.016 ms 0.829 ms
7 ae-2.r05.asbnva02.us.bb.gin.ntt.net (129.250.2.22) 80.809 ms ae-5.r23.asbnva02.us.bb.gin.ntt.net (129.250.6.162) 86.376 ms 91.815 ms
8 ae-1.amazon.asbnva02.us.bb.gin.ntt.net (168.14