Skip to content

Instantly share code, notes, and snippets.

View -
#!/usr/bin/perl
$addaction = sub {
my $command = shift;
if ($command =~ s#^/ignore ## && length($command)) {
open(FILTERS, "</home/cwage/.ttytterfilters") or die $!;
my $filters = <FILTERS>;
close(FILTERS);
chomp($filters);
View -
16:17 < MasterMaA> !seen MagicalTux
16:17 <@gribble> MagicalTux was last seen in #bitcoin 2 years, 2 weeks, 3 days, 23 hours, 10 minutes, and 26 seconds ago: <MagicalTux> muauahaha one less competitor!!
View -
cwage@portaplotz:~$ dig +trace quietlife.net
; <<>> DiG 9.8.1-P1 <<>> +trace quietlife.net
;; global options: +cmd
. 94827 IN NS g.root-servers.net.
. 94827 IN NS h.root-servers.net.
. 94827 IN NS i.root-servers.net.
. 94827 IN NS j.root-servers.net.
. 94827 IN NS k.root-servers.net.
. 94827 IN NS l.root-servers.net.
View -
[2014-03-10 10:53:31] <afoolswisdom> In some cases biases should be allowed to cancel out. In other cases, biases should be contained and then ignored.
/whois a foolswisdom
Andrei Zmievski (a) (f:266/121146) (u:13343)
"Coder, photographer, beer judge and brewer, Russian, and San Franciscan. Software architect at @AppDynamics."
URL: http://t.co/VPi9vzq9Ft
Location: San Francisco, CA
Picture: http://pbs.twimg.com/profile_images/1843828229/headshot_bw_m_copy_normal.jpg
Do you follow this user? ... false
View -
# m h dom mon dow command
*/15 * * * * /home/cwage/ftbultimate/save.sh
cwage@mcminerson:~/ftbultimate$ cat save.sh
#!/bin/sh
screen -x minecraft -X stuff save-all
View gist:9e0b1039507dd07f75f0
Perhaps, one may hope, human beings will one day attain a scientific understanding of society
comparable to the modern scientific understanding of most aspects of the natural world. On that day,
we may find ways of restructuring society to the benefit of all. But we cannot now predict what that
understanding will look like, nor should we attempt to implement the policies that we guess will one
day be proven to be beneficial. In the meantime, we can anticipate many pretenders to scientific
accounts of society, after the style of Marxism. These will be theories resting on dubious premises that
only certain political ideologues find convincing. These ideologues may, as in the case of the Marxists,
adopt the quintessentially unscientific attitude of regarding those who question the ideology as enemies
to be suppressed.
View -
#!/bin/sh
# If Kindle, copy Kindle Clippings
if mountpoint /media/Kindle
then
cp /media/Kindle/documents/My\ Clippings.txt ~/Dropbox/
fi
View -
---------------------------------------------------------------------------
-- @author Julien Danjou &lt;julien@danjou.info&gt;
-- @copyright 2008 Julien Danjou
-- @release v3.4.13
---------------------------------------------------------------------------
-- Grab environment we need
local util = require("awful.util")
local tag = require("awful.tag")
local pairs = pairs
View -
cwage@felix:~$ HEAD http://chris.quietlife.net/2013/01/20/a-sentence-that-hayek-wrote/
200 OK
Connection: close
Date: Sun, 06 Jul 2014 19:41:22 GMT
Server: Apache/2.2.22 (Debian)
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Client-Date: Sun, 06 Jul 2014 19:41:23 GMT
Client-Peer: 96.126.112.9:80
Client-Response-Num: 1
View -
#!/bin/sh
if [ $# -ne 2 ]
then
echo "Usage: $0 <server> <key>"
exit 1
fi
WHERE=$1
KEY=$2