Skip to content

Instantly share code, notes, and snippets.

View tkoeppen's full-sized avatar

Thomas Koeppen tkoeppen

View GitHub Profile

Keybase proof

I hereby claim:

  • I am tkoeppen on github.
  • I am tkoeppen (https://keybase.io/tkoeppen) on keybase.
  • I have a public key ASDYSBVAWwBthFh0a_1UMj6FBxAwWzhSryHubNZ3N8pGvgo

To claim this, I am signing this object:

@tkoeppen
tkoeppen / gist:5222928
Last active December 15, 2015 07:19
node, kafka, riak install
# install node
# derived from https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
# TODO: check that you have not installed older version of node in /usr/local/bin and remove them
sudo apt-get install python-software-properties python g++ make
# installing latest nodes (currently 0.10.3), when you want 0.8.x use node.js-legacy ppa
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
# update all node packages
@tkoeppen
tkoeppen / threaddump-1351198624388.tdump
Created October 25, 2012 21:34
play 2.1-SNAPSHOT 470-deadlock-in-dev-mode - no2
2012-10-25 22:57:04
Full thread dump Java HotSpot(TM) 64-Bit Server VM (23.6-b02 mixed mode):
"RMI TCP Connection(2)-192.168.0.103" daemon prio=5 tid=0x00007fe5f893e000 nid=0xc103 runnable [0x000000018ba5e000]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:150)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
@tkoeppen
tkoeppen / threaddump-1351199149480.tdump
Created October 25, 2012 21:26
play 2.1-SNAPSHOT 470-deadlock-in-dev-mode - no1
2012-10-25 23:05:49
Full thread dump Java HotSpot(TM) 64-Bit Server VM (23.6-b02 mixed mode):
"RMI TCP Connection(2)-192.168.0.103" daemon prio=5 tid=0x00007f839d554000 nid=0xa003 runnable [0x000000018a6a2000]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:150)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
@tkoeppen
tkoeppen / html5_target.html
Created October 10, 2012 20:20
html5 target test
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>title</title>
</head>
<body>
<a href="http://google.de" target="test">google.de</a>
</body>
</html>
@tkoeppen
tkoeppen / setupElasticSearch.sh
Last active October 7, 2015 22:39
install elasticsearch on Ubuntu 12.04 (precise)
#!/bin/bash
# 0.1 2012 install elasticsearch VERSION on Ubuntu 12.04 (precise) @tomondev
# 0.2 2013-06-18 upgrade to es 0.90.1 @tomondev
# 0.3 2013-06-27 upgrade to es 0.90.2 @tomondev
VERSION=0.90.2
# Check for dependencies
check_deps () {
DEPS="curl unzip"
@tkoeppen
tkoeppen / elasticsearch.conf
Created August 2, 2012 12:15 — forked from rbscott/elasticsearch.conf
upstart job for elastic search
# ElasticSearch Service
description "ElasticSearch"
start on (net-device-up
and local-filesystems
and runlevel [2345])
stop on runlevel [016]
####################################
# BASIC REQUIREMENTS
# http://graphite.wikidot.com/installation
# http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/
# Last tested & updated 10/13/2011
####################################
sudo apt-get update
sudo apt-get upgrade