This file contains 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
Index: sys/netinet/ip_carp.c | |
=================================================================== | |
RCS file: /home/ncvs/src/sys/netinet/ip_carp.c,v | |
retrieving revision 1.52.2.2.2.1 | |
diff -u -d -r1.52.2.2.2.1 ip_carp.c | |
--- sys/netinet/ip_carp.c 25 Nov 2008 02:59:29 -0000 1.52.2.2.2.1 | |
+++ sys/netinet/ip_carp.c 18 Feb 2009 11:09:32 -0000 | |
@@ -239,7 +239,7 @@ | |
carp_hmac_prepare(struct carp_softc *sc) | |
{ |
This file contains 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
Index: sys/dev/em/e1000_82540.c | |
=================================================================== | |
RCS file: /home/ncvs/src/sys/dev/em/Attic/e1000_82540.c,v | |
retrieving revision 1.3.4.2 | |
diff -u -d -r1.3.4.2 e1000_82540.c | |
--- sys/dev/em/e1000_82540.c 2 May 2008 23:52:01 -0000 1.3.4.2 | |
+++ sys/dev/em/e1000_82540.c 16 May 2008 10:02:04 -0000 | |
@@ -310,6 +310,7 @@ | |
/* Disable HW ARPs on ASF enabled adapters */ | |
manc = E1000_READ_REG(hw, E1000_MANC); |
This file contains 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 | |
ssh-keygen -R $* |
This file contains 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
minor concern: | |
2006-03-25 Paul Jakma <[email protected]> | |
* ospf_interface.c: (ospf_if_lookup_recv_if) Ignore loopbacks, | |
we can never ever receive packets on those. Should fix | |
case where CARP is run with address in same subnet as real | |
interface. Problem report and diagnosis thanks to: | |
Landon Fuller <[email protected]>. | |
However, ospf_read() still can't deal deterministically with |
This file contains 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
:syntax enable | |
:filetype indent on | |
:set backspace=indent,eol,start | |
:set modeline | |
:set ts=2 sw=2 expandtab ai | |
:set bg=dark |
This file contains 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 | |
class Geoff | |
def initialize(numeric = nil) | |
numeric ||= 1 | |
@number = numeric.to_i | |
end | |
def to_s | |
["Geoff", title].join(" ") |
This file contains 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
# sh update_install | |
Stopping processwatch: processwatch. | |
Will be doing an Debian update | |
DEBIAN | |
Now performing an Debian update.... | |
BOOL is false | |
INFO: Installing the Hetzner Perl modules | |
INFO: installing per-user PHP config generator | |
generate-user-php-config syntax OK | |
INFO: creating build tree |
This file contains 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
# Iterate through all directories in /usr/www except zendfram. | |
# For each one, find all its files and pass each one in turn | |
# to a sed script that replaces the path to the zend framework. | |
for dir in `ls /usr/www/*`; do | |
if [ "$dir" = "zendfram" ]; then | |
continue | |
fi | |
find $dir -type f -print0 | xargs -0 -n 1 \ |
This file contains 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
Firewall upgrade: | |
================= | |
The firewall3.jnb2 and firewall4.jnb2 servers are reference builds for | |
where we want to go with stabilization and standardization. They have | |
both amd64 and i386 versions of the FIREWALLNG kernel config in their | |
/usr/src tree, but their /usr/obj is (obviously) only built for amd64. | |
They are referred to in the instructions below as "good server". | |
The "New firewall pair" lab's firewall1.jnb1 and firewall1.jnb2 have |
This file contains 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
def ignoring_nil_associations | |
begin | |
yield | |
rescue NoMethodError => error | |
if error.message =~ /nil:NilClass/ | |
nil | |
else | |
raise error | |
end | |
end |
OlderNewer