Skip to content
View gen_server_template.erl
-module().
-behavior(gen_server).
% Managment API
-export([start/0, start_link/0, stop/0]).
% gen_server callbacks
-export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2,
code_change/3]).
View gist:40c12883cf25d5d8a1ed
FreeBSD: {
url: "pkg+http://pkg.eu.FreeBSD.org/${ABI}/latest",
mirror_type: "srv",
enabled: yes
}
View ruby.sh
#!/bin/sh
# PROVIDE: request_counter
# REQUIRE: LOGIN
# KEYWORD: shutdown
. /etc/rc.subr
name=request_counter
rcvar=request_counter_enable
View hover.html
<!DOCTYPE html>
<html>
<head>
<title>foo</title>
<style>
div#wrapper {
width: 800px;
height: 200px;
background-color: gray;
View gist:10364804
#!/bin/sh
#
# BEFORE: DAEMON
# PROVIDE: ezjail.example.config
#
# ezjail flavour example
. /etc/rc.subr
name=ezjail.flavour.bijail
View tmux with synchronized panes.sh
# ZSH Script to open a tmux session for every host passed as CLI argument and synchronizes all the panes.
# Invoke with: ./cluster.zsh user@host1 user@host2 user@host3
#!/bin/zsh
while (( $# != 0 )) {
tmux splitw "ssh $1"
tmux select-layout tiled
shift
}
View gist:6020656
___________________________
/| /| | |
||__|| | Please don't |
/ O O\__ feed |
/ \ the trolls |
/ \ \ |
/ _ \ \ ----------------------
/ |\____\ \ ||
/ | | | |\____/ ||
/ \|_|_|/ | __||
View preflight.md

Features

web interface to create checklist templates for given tasks like new release/deployment

  • template has groups of checks e.g. localization, frontend, backend, payment, virality related
  • you can start a checklist session from a template which can be shared with a url among coworkers
  • a session is a full copy of the given template i.e. changing a template does not change previous sessions
  • the progress of a checklist session is persisted
  • the progress is shown for each group and the whole checklist
  • the progress is updated for all participants of the session via SSE / Ajax Foo
  • the users authenticate via oauth (wooga.google.com)
View erlang_ideas.md
  • implement input agnostic type conversion functions e.g. to_integer, to_list, to_binary
  • helper functions that make it super easy to create supervisor childspecs
  • add a metric ton of support functions to traverse, merge, filter, search (,…) proplists, dicts, orddicts etc.
  • build a decent json support lib - the way you have to work with jiffy for example is painful
  • configuration and environment management
View LSCOLORS
LSCOLORS="exfxcxdxbxegedabagacad"
LS_COLORS="di=34;40:ln=35;40:so=32;40:pi=33;40:ex=31;40:bd=34;46:cd=34;43:su=0;41:sg=0;46:tw=0;42:ow=0;43:"
Something went wrong with that request. Please try again.