Skip to content

Instantly share code, notes, and snippets.

View hknochi's full-sized avatar

Henri Knochenhauer hknochi

View GitHub Profile
### Keybase proof
I hereby claim:
* I am hknochi on github.
* I am hknochi (https://keybase.io/hknochi) on keybase.
* I have a public key whose fingerprint is 232F BEFE BFB5 3A40 0BEC BCAE 868B 8D2F AB0C 6D39
To claim this, I am signing this object:
@hknochi
hknochi / designer.html
Last active August 29, 2015 14:17
designer
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-leaderboard.html">
<polymer-element name="my-element">
<template>
<style>
#paper_toast {
left: 570px;

Docker Cheat Sheet

Why

Why Should I Care (For Developers)

"Docker interests me because it allows simple environment isolation and repeatability. I can create a run-time environment once, package it up, then run it again on any other machine. Furthermore, everything that runs in that environment is isolated from the underlying host (much like a virtual machine). And best of all, everything is fast and simple."

TL;DR, I just want a dev environment

@hknochi
hknochi / new_gist_file_0
Created October 22, 2014 12:48
VIRTUOSO -Import
DB.DBA.TTLP_MT (file_to_string_output ('/tmp/example.ttl'), '', 'http://example.com/');
tell application "System Events"
-- get current clipboard contents as a string
set CurrentClipboard to the clipboard as string
-- set the clipboad to your password
set the clipboard to "Y0urVPNPa$$w0rd"
-- start playing with the VPN
tell current location of network preferences
@hknochi
hknochi / es.sh
Created April 16, 2014 21:41 — forked from rajraj/es.sh
cd ~
sudo yum update
sudo yum install java-1.7.0-openjdk.i686 -y
wget https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.19.9.tar.gz -O elasticsearch.tar.gz
tar -xf elasticsearch.tar.gz
rm elasticsearch.tar.gz
mv elasticsearch-* elasticsearch
sudo mv elasticsearch /usr/local/share
@hknochi
hknochi / new_gist_file_0
Created December 17, 2013 12:41
Tomcat Settings against OutOfMemory
JAVA_OPTS="-Dfile.encoding=UTF-8 -server -Xms512m -Xmx1024m
-XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m
-XX:MaxPermSize=256m -XX:+DisableExplicitGC"
add to catalina.sh