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
wobl() { | |
curl -s http://api.basso.fi/v1/upcoming_shows.json \ | |
| jq -r '.[] | .showName,.startTimeText,.endTimeText' \ | |
| paste -d' -' - - - | |
} |
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 | |
set -e | |
set -u | |
usage() { | |
echo "Usage: $0 DEVICE HOSTNAME" | |
echo "Example: $0 /dev/sdX mypi" | |
exit 1 | |
} |
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 | |
# Script to cross-compile Pidgin plugins on Linux for Windows. | |
# Tested to work on Ubuntu 12.04 | |
PLUGIN_SRC_FILE="$1" | |
PLUGIN_NAME=$(basename "${PLUGIN_SRC_FILE}") | |
PLUGIN_NAME="${PLUGIN_NAME%.*}" | |
PLUGIN_DLL="${PLUGIN_NAME}.dll" |
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 | |
set -e | |
set -u | |
echo "Make sure you have Xubuntu 12.04 LTS or newer installed" | |
echo "Updating system" | |
sudo apt-get update | |
sudo apt-get dist-upgrade |