Skip to content

Instantly share code, notes, and snippets.

View bkw's full-sized avatar

Bernhard Weisshuhn (a.k.a. bernhorst) bkw

View GitHub Profile
@bkw
bkw / hiring.md
Created January 19, 2016 12:13
Resolution Foundry is hiring (Berlin)
@bkw
bkw / devop.md
Last active January 19, 2016 12:06
Hiring: System Engineer / Devop in Berlin

Systems Engineer / DevOp

Responsibilities

  • Maintain, administer and expand our infrastructure and services
  • Collect, understand and act upon service metrics to ensure performance, scalability and stability
  • Work together with backend developers
  • On-call duty (moderate hours)
@bkw
bkw / backend-developer.js.md
Last active January 19, 2016 12:04
Hiring: Node.js developer (backend) in Berlin

Node.JS Developer (Backend)

Responsibilities

  • build and maintain our backend services
  • improve and build high-throughput crawling systems
  • encapsulate backend functionality into microservices

Desired Skills & Experience

@bkw
bkw / frontend-developer.js.md
Last active January 19, 2016 12:03
Hiring: Node.js developer (frontend) in Berlin

Node.JS Developer (Frontend)

Responsibilities

  • Implement new features for our customers (dashboard graphs, business intelligence tools, visualizations)
  • Improve on the existing code base (careful modularization, dependency maintenance, latency optimization)

Desired Skills & Experience

@bkw
bkw / nodejs-driver-issue-89.js
Created November 20, 2015 16:03
cassandra stream out of memory example
#!/usr/bin/env node
'use strict'
const config = require('config')
const cassandra = require('@our/cassandra-connection-wrapper')
const stream = require('stream')
let rowcount = 0
setInterval(() => console.log(rowcount, process.memoryUsage()), 1000)
curl -s https://www.spamhaus.org/drop/{,e}drop.txt \
| awk '/^[0-9]/ { print "BLACKLIST", "net:"$1, "all"}' \
> /etc/shorewall/blrules
@bkw
bkw / create-logcheck-patterns-hires.pl
Last active August 29, 2015 14:05
create new logcheck patterns for rsyslog with high-precision timestamps
#!/usr/bin/env perl
use strict;
use warnings;
use FileHandle;
use File::Basename;
# find configured report level
my $reportLevel = 'server';
my $configFh = FileHandle->new('/etc/logcheck/logcheck.conf', 'r');
@bkw
bkw / keybase.md
Last active August 29, 2015 14:05

Keybase proof

I hereby claim:

  • I am bkw on github.
  • I am bkw (https://keybase.io/bkw) on keybase.
  • I have a public key whose fingerprint is 716C DCAD 4411 3B48 61BF 5F6E FAE7 5AD6 C7E0 7B39

To claim this, I am signing this object:

@bkw
bkw / regip.sh
Last active January 3, 2016 09:38 — forked from booo/regip.sh
#!/bin/sh
set -eu
if [ "$#" -lt "7" ]; then
echo "usage: $0 <user> <password>" \
"<network 104.13.9> <range start> <range end> <plz> <description>"
exit 1
fi
@bkw
bkw / preseed.cfg
Last active December 19, 2015 06:29
packer.io config files to go from pristine vanilla ubuntu 12.04 LTS to a docker.io and chef-enabled vagrant box The resulting image is still a bit large and doesn't yet follow all the vagrant conventions, but it's a start.
d-i debian-installer/locale string en_US
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/modelcode string pc105
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string unassigned-hostname
d-i netcfg/get_domain string unassigned-domain
d-i netcfg/wireless_wep string
d-i mirror/country string Germany
d-i mirror/http/mirror select de.archive.ubuntu.com