Skip to content

Instantly share code, notes, and snippets.

View paulschreiber's full-sized avatar

Paul Schreiber paulschreiber

View GitHub Profile
@paulschreiber
paulschreiber / tail
Created August 22, 2014 17:45
syslog tailing
tail -f /var/log/syslog | sed 's/#012/\n\t/g'
From: <Info@GiftofLife.on.ca>
Subject: RE: TGLN Inquiry: Comment on Presumed Consent
Date: July 31, 2012 at 1:06:42 PM EDT
Cc: <Info@GiftofLife.on.ca>
Dear Mr. Paul Schreiber:
Thank you for writing to Trillium Gift of Life Network, and for your comments on presumed consent.
Ontario continues to use the “opt-in” system (rather than presumed consent, or the opt-out system) because the people of Ontario do not currently support the implementation of presumed consent. When the Citizens’ Panel toured Ontario in 2007 and raised this issue with the public in towns and cities across the province, the public was evenly split on the issue, with the edge going to those who opposed presumed consent. As well, neither the Ontario Medical Association nor the Canadian Medical Association has spoken in favour of presumed consent.
@paulschreiber
paulschreiber / gist:5077608
Created March 3, 2013 18:52
LinkedIn spam
Return-Path: <denominatorjf843@vanderstoop.nl>
X-Original-To: dropbox@paulschreiber.com
Delivered-To: ps@shrub.ca
Received: from shrub.ca (localhost [127.0.0.1])
by shrub.ca (Postfix) with ESMTP id 9D5B9143A0DA
for <dropbox@paulschreiber.com>; Sun, 3 Mar 2013 03:11:13 -0500 (EST)
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on green
X-Spam-Level: **
X-Spam-Status: No, score=2.0 required=5.0 tests=BAYES_00,HTML_MESSAGE,
TBIRD_SPOOF autolearn=no version=3.3.2
Pauls-MBP:openssl-1.0.1e paul$ make
making all in crypto...
making all in crypto/objects...
make[2]: Nothing to be done for `all'.
making all in crypto/md4...
make[2]: Nothing to be done for `all'.
making all in crypto/md5...
make[2]: Nothing to be done for `all'.
making all in crypto/sha...
make[2]: Nothing to be done for `all'.
Pauls-MBP:openssl-1.0.1e paul$ make
making all in crypto...
( echo "#ifndef MK1MF_BUILD"; \
echo ' /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
echo ' #define CFLAGS "cc -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -arch x86_64 -O3 -DL_ENDIAN -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM"'; \
echo ' #define PLATFORM "darwin64-x86_64-cc"'; \
echo " #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
echo '#endif' ) >buildinf.h
cc -I. -I.. -I../include -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -arch x86_64 -O3 -DL_ENDIAN -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -c -o cryptlib.o cryptlib.c
cc -I
/var/folders/_1/853w7p5x7p97mt8jw45hvd480000gn/T/ruby-build.20130224234545.59265 ~
x openssl-1.0.1e/ACKNOWLEDGMENTS
x openssl-1.0.1e/apps/
x openssl-1.0.1e/apps/app_rand.c
x openssl-1.0.1e/apps/apps.c
x openssl-1.0.1e/apps/apps.h
x openssl-1.0.1e/apps/asn1pars.c
x openssl-1.0.1e/apps/ca.c
x openssl-1.0.1e/apps/ca-cert.srl
x openssl-1.0.1e/apps/CA.com
@paulschreiber
paulschreiber / ruby-build.20130224132426.23268.log
Created February 24, 2013 20:44
ruby 2.0.0-p0 build failure
/var/folders/_1/853w7p5x7p97mt8jw45hvd480000gn/T/ruby-build.20130224132426.23268 ~/.dev/ewb/admitfailure
x openssl-1.0.1e/ACKNOWLEDGMENTS
x openssl-1.0.1e/apps/
x openssl-1.0.1e/apps/app_rand.c
x openssl-1.0.1e/apps/apps.c
x openssl-1.0.1e/apps/apps.h
x openssl-1.0.1e/apps/asn1pars.c
x openssl-1.0.1e/apps/ca.c
x openssl-1.0.1e/apps/ca-cert.srl
x openssl-1.0.1e/apps/CA.com
@paulschreiber
paulschreiber / nv-early-voting.rb
Created October 6, 2012 18:21
Nevada early voting locations scraper
#!/usr/bin/ruby
require 'rubygems'
require 'mechanize'
require 'yaml'
agent = Mechanize.new
county_url_map = {}