Skip to content

Instantly share code, notes, and snippets.

View Lechindianer's full-sized avatar
🎸
Rockin' the blues

Pascal Schmid Lechindianer

🎸
Rockin' the blues
View GitHub Profile
@Lechindianer
Lechindianer / eventcmd
Last active December 2, 2015 02:51 — forked from JamesTheBard/eventcmd
Eventcmd for mcabber
#!/bin/sh
echo "$1 $2 $3 $4" >> ~/test.mcabber.log
EVENT_TYPE=$1
EVENT_SUBTYPE=$2
JID=$3
FILE=$4
TITLE="mcabber"
#ICON="$HOME/.mcabber/images/chat.png"
TIMEOUT=10000
#!/bin/sh
# find_network.sh - An OpenBSD Wireless Network configurator
# Looks for available networks listed at the end of the script
# Use this by adding "!/path/to/find_network.sh \$if" to your wlan hostname.if
if=$1
if [ -z "$if" ]; then
echo "Usage: $0 interface" >&2
exit 2;
fi