This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\begin{tikzpicture}[ | |
>=triangle 60, | |
start chain=going below, | |
node distance=5mm and 70mm, | |
every join/.style={norm}, | |
] | |
\tikzset{ | |
base/.style={on chain, on grid, align=center}, | |
term/.style={base, minimum height=1.75em}, | |
proc/.style={term, draw, rectangle, text width=13em, minimum height=2em}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ $1 == -n ]]; then | |
file=$2 | |
proc=$3 | |
shift 3 | |
spin $@ -run -d "$file" | sed --silent "/^\(proctype \)\?$proc/,/^\S\|^$/p" | awk '{print $1 " " $2}' | grep '^state' | sort -n | uniq | wc -l | |
else | |
file=$1 | |
proc=$2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sys | |
import os | |
import subprocess | |
import re | |
colors = [ | |
'black', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
fuege-hinzu = add | |
zweig = branch | |
pfluecke-kirschen = cherry-pick | |
saeubere = clean | |
klone = clone | |
begehe = commit | |
beschreibe = describe | |
zeige-unterschied = diff | |
hole-ab = fetch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Original from | |
* https://guysoft.wordpress.com/2010/02/14/pidgin-x-chat-plugin-new-message/ | |
* | |
* Command-notification | |
* Copyright (C) 2010 Guy Sheffer | |
* Copyright (C) 2006 Simo Mattila | |
* | |
* This program is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU General Public License |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Original von https://taach.wordpress.com/2013/01/21/playr-ein-ipod-shuffle-fur-die-bash/ | |
TRACK_FILE="/tmp/.tracklist.playr" | |
TEMP_FILE="/tmp/.temp.playr" | |
function quit { | |
rm --force "$TRACK_FILE" "$TEMP_FILE" | |
exit 1 |