Skip to content

Instantly share code, notes, and snippets.

View wttw's full-sized avatar

Steve Atkins wttw

View GitHub Profile
Hi there,
I'm contacting you on behalf of GitHub Support because we've received a DMCA takedown notice regarding your repository https://github.com/wttw/labs.
You can view the notice in the attached file.
In this case only certain files were identified as allegedly infringing. Since it's not possible to disable individual files within a GitHub repository, we're giving you a 24 hour opportunity to remove the content named in the takedown. Please follow the steps in the following article to remove the content from the history:
https://help.github.com/articles/remove-sensitive-data
alt3.aspmx.l.google.com is made up of alt3 and a pointer to inside
alt1.aspmx.l.google.com, which in turn is made up of alt1.aspmx.l and a
pointer to google.com.
Raw:
0000 f4 0f 24 31 10 20 d4 ca 6d 55 43 4c 08 00 45 00 ..$1. ..mUCL..E.
0010 00 f4 3a 16 00 00 29 11 4c 91 d8 ef 20 0a c0 a8 ..:...).L... ...
0020 50 b0 00 35 d6 2f 00 e0 dd a1 bf b9 85 00 00 01 P..5./..........
0030 00 05 00 00 00 05 06 67 6f 6f 67 6c 65 03 63 6f .......google.co
columnNames, err := rows.Columns()
if err != nil {
log.Fatalln(err) // or whatever error handling is appropriate
}
columns := make([]interface{}, len(columnNames))
columnPointers := make([]interface{}, len(columnNames))
for i := 0; i < len(columnNames); i++ {
columnPointers[i] = &columns[i]
}
if err := rows.Scan(columnPointers...); err != nil {
perl -MLingua::EN::Syllable -n -e '/^v/ && syllable($_) < 3 && print' /usr/share/dict/words
v
vaagmer
vaalite
vacant
vacate
vaccine
vache
vachette
# /dns/<qtype>/<host>
sub resolve {
my $self = shift;
my $qtype = $self->param('qtype');
my $query = $self->param('query');
$query =~ s/^\s*//;
$query =~ s/\s*$//;
if($qtype eq 'reverse') {
$qtype = 'ptr';
if($query =~ /^[0-9a-f:.]+$/) {
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.golang.godoc</string>
<key>ProgramArguments</key>
<array>
<!-- ensure this is the absolute path to your godoc install -->
<string>/usr/local/go/bin/godoc</string>

Keybase proof

I hereby claim:

  • I am wttw on github.
  • I am wise_steve (https://keybase.io/wise_steve) on keybase.
  • I have a public key whose fingerprint is 7393 3400 738B ABFD 3C7A 4F31 B3E7 BD58 856D CBBC

To claim this, I am signing this object:

@wttw
wttw / main.cc
Created November 18, 2012 20:32
node-iptrie bug example
// g++ main.cc btrie.cc
#include "btrie.h"
int main()
{
btrie tree4=0;
struct in_addr a1, a2;
inet_pton(AF_INET, "10.80.116.0", &a2);
Platter:node steve$ make
Waf: Entering directory `/Users/steve/node/node/build'
DEST_OS: darwin
DEST_CPU: x64
Parallel Jobs: 1
Product type: program
[51/75] libv8.a: deps/v8/SConstruct -> build/default/libv8.a
/usr/bin/python "/Users/steve/node/node/tools/scons/scons.py" -j 1 -C "/Users/steve/node/node/build/default/" -Y "/Users/steve/node/node/deps/v8" visibility=default mode=release arch=x64 toolchain=gcc library=static snapshot=on
scons: Reading SConscript files ...
scons: done reading SConscript files.