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 | |
| # | |
| # This script is used to automate and move along the CPAN pipeline of | |
| # module creation, and upload to CPAN. | |
| set -e | |
| function die { | |
| echo "$1" | |
| 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 | |
| # | |
| # This is just a wrapper for : git rebase -i HEAD~4 | |
| BACK=$1 | |
| function die { | |
| echo "$1" | |
| 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
| #!/usr/bin/perl | |
| use strict; | |
| $|++; # piping hot! | |
| my $BROWSER = 'chromium-browser'; | |
| my $man = '/usr/bin/man'; | |
| sub googleit { | |
| my $search = join( " ", @ARGV ); |
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 | |
| use strict; | |
| use Getopt::Long; | |
| use Net::CIDR ':all'; | |
| $|++; | |
| my $re = '.*'; | |
| my $verbose = 0; | |
| my $cidr_str = undef; |
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 | |
| import sys | |
| import random | |
| class Markov: | |
| def __init__(self): | |
| self.h = {} | |
| def add( self, x, y ): |
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
| As a silly system administrator | |
| When I run ifconfig eth0 | |
| Then the MTU must be 1500 | |
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
| send-hook '~t technical@maawg.org' my_hdr From: Peter Blair <pblair@***.com> | |
| send-hook '~t technical@maawg.org' my_hdr Reply-To: technical@maawg.org | |
| send-hook '~t technical@maawg.org' my_hdr Fcc: "" | |
| send-hook '~c technical@maawg.org' my_hdr From: Peter Blair <pblair@***.com> | |
| send-hook '~c technical@maawg.org' my_hdr Reply-To: technical@maawg.org | |
| send-hook '~c technical@maawg.org' my_hdr Fcc: "" |
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 | |
| use strict; | |
| use Net::PortTest; | |
| on 143 => sub { | |
| my $sock = shift; | |
| my $results = {}; | |
| my $rc = -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
| closure: closure.cpp | |
| g++ -W -Wall -Wextra -pedantic -std=c++0x closure.cpp -o closure | |
| clean: | |
| rm closure |
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
| # $OpenBSD: pf.conf,v 1.50 2011/04/28 00:19:42 mikeb Exp $ | |
| # | |
| # See pf.conf(5) for syntax and examples. | |
| # Remember to set net.inet.ip.forwarding=1 and/or net.inet6.ip6.forwarding=1 | |
| # in /etc/sysctl.conf if packets are to be forwarded between interfaces. | |
| set skip on lo | |
| # filter rules and anchor for ftp-proxy(8) | |
| #anchor "ftp-proxy/*" |