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
# Exim filter | |
# The first line above must be exactly like that. | |
# | |
# Since Airvision2 only has a provision to send email notifications for all regions or none, | |
# we add this kludge to forward emails based on the region name included in the email. | |
# Basic steps are these: | |
# 1. Install a mail server on your ubuntu/debian box if it's not there already. (Not as hard as it sounds.) | |
# 2. Configure it to forward nonlocal mail to a smarthost. | |
# 3. Add a user account to Airvision to send notifications to the admin account on the local host. | |
# 4. Install this file (.forward) in the admin account home directory. (Must be writeable only to the user.) |
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
#!/usr/bin/env ruby | |
# riffing on a tune by Paul at po-ru.com | |
# 1. Using a bash shell, install rvm according to instructions. | |
# 2. Install this script in your path, say in ~/bin. | |
# 3. Make it executable. | |
# 4. Add the following alias to your .tcshrc: | |
# alias rvm 'eval `~/bin/rvm.rb \!*`' | |
# 5. Use and enjoy rvm in your tcsh | |
# Note that this script relies on a ruby already installed in the path. | |
# It shouldn't be too hard to enhance it to bootstrap itself using rvm. |
NewerOlder