Skip to content

Instantly share code, notes, and snippets.

View hbokh's full-sized avatar
🔪
Yak shaving

Henk hbokh

🔪
Yak shaving
View GitHub Profile
@hbokh
hbokh / Kibana 3 gist; world map; HTTP Status pie
Last active December 20, 2015 11:19
Gist for Kibana 3 (milestone pre-3), with world map and HTTP Status (pie) for Apache accesses, sent by Logstash shipper.
{
"title": "Logstash Search",
"services": {
"query": {
"idQueue": [
1,
2,
3,
4
],
@hbokh
hbokh / gist:33d9ff5d87e433410e77
Created May 6, 2014 12:25
Logstash, collectd and kibana for one host's system resources
{
"title": "System Resources",
"services": {
"query": {
"list": {
"0": {
"query": "collectd_type:\"load\"",
"alias": "Load",
"color": "#70DBED",
"id": 0,
@hbokh
hbokh / gist:48c982882c421f7f7802
Last active August 29, 2015 14:13
Docker Grunn - linkdump
## Slides
Joshua: https://speakerdeck.com/zout/dockergrunn-holy-ship
Henk : https://speakerdeck.com/hbokh/docker-grunn-basic-tooling-voor-docker
Dirk : https://docs.google.com/presentation/d/1LylsXTJUlpZUsNenloNMvSh9U-fyUpxmntHG_lAZuM0/edit?usp=sharing
## SPECIALE AANBIEDING:
Introduction to Docker: Containerization is the New Virtualization (tutorial / training - PDF)
--> http://www.oscon.com/oscon2014/public/schedule/detail/33627
@hbokh
hbokh / docker-machine, issue #1050
Created May 1, 2015 19:25
Command: "strace -o file docker --debug=true images"
execve("/usr/bin/docker", ["docker", "--debug=true", "images"], [/* 66 vars */]) = 0
uname({sys="Linux", node="ws013", ...}) = 0
brk(0) = 0x21f8000
brk(0x21f91c0) = 0x21f91c0
arch_prctl(ARCH_SET_FS, 0x21f8880) = 0
set_tid_address(0x21f8b50) = 14052
set_robust_list(0x21f8b60, 24) = 0
futex(0x7fff0c62fbb0, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 21f8880) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0x9aee60, [], SA_RESTORER|SA_SIGINFO, 0x9af520}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x9aeef0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x9af520}, NULL, 8) = 0
@hbokh
hbokh / cluster_start_master.txt
Created December 24, 2015 20:20
Hypriot Cluster Lab, 20151224 - restarting cluster
HypriotOS: root@cl-master in ~
$ /usr/local/bin/cluster-start.sh
#---------
# prepare
#---------
update package lists
install required packages
create vlan with tag 200 on eth0
configure avahi only on eth0.200 \(vlan with id 200\)
#-----------------
@hbokh
hbokh / keybase.md
Created October 23, 2016 15:16
Prove of my GitHub identity for Keybase

Keybase proof

I hereby claim:

  • I am hbokh on github.
  • I am hbokh (https://keybase.io/hbokh) on keybase.
  • I have a public key whose fingerprint is 4B6B CBAF E2EF EFB3 DE18 E74A D460 8B8E C75B 52C5

To claim this, I am signing this object:

@hbokh
hbokh / vm_wordpress.sls
Last active May 25, 2018 08:09
SaltStack WordPress - getting_started
# -*- coding: utf-8 -*-
# vim: ft=yaml
wordpress-packages:
pkg.installed:
- pkgs:
- nginx
- nginx-common
- nginx-full
- mariadb-server
- mariadb-client
@hbokh
hbokh / SaltShaker_install_en.md
Last active July 13, 2019 11:39
Install SaltShaker on Ubuntu 16.04.1 LTS

This is a "best-effort" in translating the "install.txt" from SaltShaker into English.
I tried all steps myself on a recent Ubuntu-host and latest SaltStack-packages.


This installation note applies to SaltShaker v2.1.3.

SaltShaker on Ubuntu 16.04.1 LTS

NOTE All commands are to be run as user "root".

@hbokh
hbokh / cobbler-debian8.tf
Last active March 19, 2017 18:51
Terraform-file to add five systems within Cobbler.
provider "cobbler" {
username = "${var.cobbler_username}"
password = "${var.cobbler_password}"
url = "${var.cobbler_url}"
}
####[ NOTE ]##########################################
# Dir /var/www is used by Cobbler on CentOS / Red Hat.
# Cobbler on Debian uses /srv/www instead.
######################################################
@hbokh
hbokh / Spindle_beer_no01_503.md
Last active July 26, 2017 16:05
Spindle beer #1 - "503"

Ingredients

Our amounts are based on the amount needed to make a batch of 2000 liters. The amounts can be adapted according to how much beer you plan on making.

Mash

57.1% / 200 kg Pilsen 2RS malt
42.9% special malt:  

  • 14.3% / 50 kg Cara Clair (caramel malt - adds to the body and smoothness)
  • 14.3% / 50 kg Oat malt