Skip to content

Instantly share code, notes, and snippets.

View reneoelke's full-sized avatar
🛡️
DevSecOps

René Oelke reneoelke

🛡️
DevSecOps
View GitHub Profile
#!/usr/bin/env php
<?php
/**
* Usage:
* pdepend --summary-xml=/tmp/summary.xml /path/to/source
*
* ./inspekt.php /tmp/summary.xml --metric0
*/
class Inspect
{
@reneoelke
reneoelke / .bashrc
Last active August 29, 2015 14:01 — forked from Ephigenia/.bashrc
Bash-Konfiguration zum Wechseln des Terminal-Themes für bestimmte SSH-Verbindungen.
# ~/.bashrc
SSH_BIN=$(which ssh)
function set_terminal_theme {
THEME_NAME="$1"
osascript -e "tell application \"Terminal\" to set current settings of front window to settings set \"${THEME_NAME}\"" 2>/dev/null
}
function ssh {