Skip to content

Instantly share code, notes, and snippets.

View eduardschaeli's full-sized avatar

Eduard Schäli eduardschaeli

View GitHub Profile

Title

  • Incident Nr: x
  • Start Date/time:
  • End Date/time:

Summary

Impact

End User Impact

Infrastructure Impact

Productivity Impact

Root Cause(s)

{
"songs": [
"Porcupine Tree — I Drive The Hearse",
"Tom Waits — Hold On",
"Florence + The Machine — Leave My Body",
"The Eagles — Seven Bridges Road"
]
}
<html>
<head>
<title>Text Scenarios</title>
<meta name="description" content="Text Scenarios - A-Frame">
<script src="https://aframe.io/releases/0.6.1/aframe.min.js"></script>
<script src="https://cdn.rawgit.com/jeromeetienne/AR.js/1.5.0/aframe/build/aframe-ar.js"> </script>
</head>
<body>
<a-scene background="color: #3cf">
<a-assets>
@eduardschaeli
eduardschaeli / gist:7768601
Last active December 30, 2015 03:19
Example config to run single processes in docker, managed by supervisord. This probably isn't the "right" way to do it, I haven't found a better solution online though. Keep in mind: Supervisor wants non-daemonized processes, which is why we run them with the -i flag. If you are running something like mysqld, be sure to use the pidproxy applicat…
# Example config to run single processes in docker, managed by
# supervisord.
#
# This probably isn't the "right" way to do it, I haven't
# found a better solution online though. Keep in mind, supervisor
# wants non-daemonized processes, which is why we run them with the
# -i flag. If you are running something like mysqld, be sure to use
# the pidproxy application as described here:
# http://supervisord.org/subprocess.html?highlight=pidproxy#pidproxy-program
#
GGCTCGTACTTGTCGGAA
@eduardschaeli
eduardschaeli / Dockerfile
Last active July 28, 2016 01:18
Creates a Docker image with IPython Notebook installed.
# iPython Notebook with per-user storage and config
#
# Based on crosbymichael/ipython
# Creates a Docker image with IPython Notebook installed.
#
# It expects to be run like this:
#
# docker run -v /home/eduard/notebooks/eduard:/notebooks benthoo/ipython-user
#
# You provide a folder per user on the host system. This folder will hold the users notebooks and also needs to contain the
@eduardschaeli
eduardschaeli / md2docx
Created September 23, 2013 14:01
Convert markdown (with images) to docx
#!/bin/bash
cat "$1" | multimarkdown -t html | sed 's/file\:\/\/\/Users\/edischaeli\/BTSync\/wiki\/Notational\///g' | pandoc -f html -o "$1.docx"
@eduardschaeli
eduardschaeli / raspberry-pi-edimax-wifi-and-motion-sensor.md
Last active May 21, 2019 18:26
My notes on setting up a Raspberry Pi with an Edimax EW-7811UN WiFi Dongle and motion sensors

Raspberry Pi, WiFi and motion sensors

My notes on setting up a Raspberry Pi with an Edimax EW-7811UN WiFi Dongle and motion sensors.

We intend to use a few Raspberry Pis around the office, in order to find out if certain rooms are beeing used or not. For this, we need to get WiFi and a motion sensor working.

@eduardschaeli
eduardschaeli / terminal_colors.rb
Created October 24, 2011 12:04 — forked from potomak/terminal_ansicolors.rb
Testing terminal colors
COLORS = {
:black => "tput setab 0",
:red => "tput setab 1",
:green => "tput setab 2",
:brown => "tput setab 3",
:blue => "tput setab 4",
:purple => "tput setab 5",
:cyan => "tput setab 6",
:lightgrey => "tput setab 7"
}
gource -1280x720 --output-ppm-stream - | ffmpeg -y -b 3000K -mbd rd -flags +mv4+aic -trellis 2 -cmp 2 -subcmp 2 -g 300 -pass 1/2 -r 60 -f image2pipe -vcodec ppm -i - -vcodec mpeg4 gource.mp4