This file contains hidden or 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
#> zmaccts | grep '@' | awk -F" " '{print $1}' > /tmp/accounts | |
#> for account in $(< /tmp/accounts); do size=$(zmmailbox -z -m $account gms); echo $account $size; done |
This file contains hidden or 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 | |
# | |
# switch keyboardlayout of my external cherry keyboard to german layout | |
# | |
set -e | |
DEV_NAME="HID 046a:0023" | |
LAYOUT="at" |
This file contains hidden or 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/sh | |
### BEGIN INIT INFO | |
# Provides: FastCGI server for graphite | |
# Required-Start: networking | |
# Required-Stop: networking | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: S 0 1 6 | |
# Short-Description: Start/Stop FastCGI server of graphite-web package. | |
# Description: Grahpite-web is a Django webapp. Django has a built-in FastCGI server | |
# which is started/stopped by this init script. |
This file contains hidden or 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 | |
echo | |
echo | |
DEVS=($(cat /proc/net/dev | tail -n+3 | cut -d: -f1 | tr -d " ")) | |
for i in "${DEVS[@]}" |
This file contains hidden or 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
<?php | |
// | |
// Basic Drupal settings.php | |
// (As I use it for development) | |
// | |
// | |
// Database settings |
NewerOlder