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/perl | |
| # | |
| # Creates maildirs for everyone in /etc/passwd who receives mail. | |
| # Copies all their mail in /var/spool/mail into their maildir. | |
| # Assumes that nothing is trying to modify the mailboxes in /var/spool/mail | |
| # This assumption could be removed by locking the mailboxes and deleting | |
| # the mail after moving it. | |
| # version 0.00 - first release to the public. | |
| # | |
| # Originally published by Russell Nelson with modifications by Richard Welty. |
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 python | |
| """addtomaildir | |
| Reads an RFC 822 message (possibly with leading "From " line) on stdin | |
| and adds it to a Maildir. The exact details of where it lands and what | |
| it's called in the Maildir depend on various header values in the input | |
| message: | |
| * if no "Status" header, the message goes in "new", otherwise in "cur" |
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/perl -w | |
| # | |
| # $Id: mb2md.pl,v 1.26 2004/03/28 00:09:46 juri Exp $ | |
| # | |
| # mb2md-3.20.pl Converts Mbox mailboxes to Maildir format. | |
| # | |
| # Public domain. | |
| # | |
| # Republished by Philipp Klaus. | |
| # Referred to by <http://blog.philippklaus.de/2010/02/convert-mbox-to-maildir/> |
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 | |
| # Using "ifconfig" and "route" (deprecated) | |
| # <http://tldp.org/HOWTO/Linux+IPv6-HOWTO/conf-ipv6-in-ipv4-point-to-point-tunnels.html> | |
| # You should rather use this one instead (makes use of the tool "ip"): <https://gist.github.com/962408> | |
| # Run like this: | |
| # sudo ./tunnelbroker-net.linux-deprecated.sh |
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 | |
| # IPv6 Tunnel setup of an tunnelbroker.net tunnel on Linux using the configuration file `/etc/network/interfaces` | |
| # (needs the `ip` tool from the iproute suite, Ubuntu package: <http://packages.ubuntu.com/iproute>) | |
| # | |
| # Run like this: | |
| # ./tunnelbroker-net.linux.etc-network-interfaces.sh | |
| # | |
| # 2011 by Philipp Klaus | |
| # Published on <http://blog.philippklaus.de/2011/05/ipv6-6in4-tunnel-via-hurricane-electric-tunnelbroker-net-tunnel-setup-on-ubuntu-11-04/> |
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 | |
| # by Philipp Klaus in 2011 on <http://wp.me/p1fyOX-V1> | |
| cat << EOF | |
| This script installs the if-up script /etc/network/if-up.d/startipv6tunnel | |
| which helps your set up a SixXS 6in4 static IPv6 tunnel on Ubuntu / Debian. | |
| EOF | |
| wget https://gist.github.com/raw/965020/startipv6tunnel.sh | |
| cat << EOF | |
| Please configure the script to your needs. I will open the vi text editor, so you | |
| can adjust the setup to your needs. To exit the vi editor enter :q and press [Enter]. |
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 | |
| # IPv6 Tunnel setup of an sixxs.net tunnel on Linux using the configuration file `/etc/network/interfaces` | |
| # (needs the `ip` tool from the iproute suite, Ubuntu package: <http://packages.ubuntu.com/iproute>) | |
| # | |
| # Run like this: | |
| # ./setup_etc-network-interfaces_static-ipv6-tunnel-via-sixxs.sh | |
| # | |
| # 2011 by Philipp Klaus | |
| # Published on <http://blog.philippklaus.de/2011/05/sixxs-static-6in4-ipv6-tunnel-on-ubuntu-debian/> |
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 python | |
| # creosote.py - lightweight message passing with datagrams | |
| # JeffBauer@bigfoot.com | |
| # referenced and explained in <http://slav0nic.org.ua/static/books/python/net_thread/NetProg.ppt> | |
| import sys, socket | |
| BUFSIZE = 1024 | |
| PORT = 7739 |
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/python | |
| ############################################################ | |
| # wiimotecomm 0.1.1 by Cadex # | |
| # # | |
| # Tiny tool for testing communication with a Wiimote # | |
| # by sending custom data # | |
| # # | |
| # originally on http://www.wiili.com/index.php/Wiimotecomm # | |
| # republished by Philipp Klaus # |
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
| /* | |
| * Copyright (c) 1999-2002 Vojtech Pavlik | |
| * | |
| * This program is free software; you can redistribute it and/or modify it | |
| * under the terms of the GNU General Public License version 2 as published by | |
| * the Free Software Foundation. | |
| * | |
| * http://abstrakraft.org/cwiid/browser/wminput/action_enum.txt | |
| * | |
| */ |