Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am plathrop on github.
  • I am plathrop (https://keybase.io/plathrop) on keybase.
  • I have a public key ASC6lbT3y2GamrmavwajJeO3Ie5pHfE83kZhTwsjhzcOHwo

To claim this, I am signing this object:

import krux_boto
import krux_foo
import krux.cli
class Application(krux.cli.Application):
def add_cli_arguments(self, parser):
krux_boto.KruxBoto.add_cli_arguments(parser)
krux_foo.KruxFoo.add_cli_arguments(parser)
super(Application, self).add_cli_arguments(parser)
plathrop@bolt.tertiusfamily.net ~➔ codesign -v ~/Downloads/Dungeon\ Crawl\ Stone\ Soup\ -\ Console.app/
/Users/plathrop/Downloads/Dungeon Crawl Stone Soup - Console.app/: resource envelope is obsolete (version 1 signature)
#!/usr/bin/env bash
# Execute a command suppressing all output.
function silently {
$@ &> /dev/null
}
Unlinked item held by dead monster:
plate armour
item #83: base: 2; sub: 5; plus: 0; plus2: 0; special: 0
quant: 1; ident: 0x20000100; ident_type: 0
_ x: -2; y: -2; link: 27055

Keybase proof

I hereby claim:

  • I am plathrop on github.
  • I am plathrop (https://keybase.io/plathrop) on keybase.
  • I have a public key whose fingerprint is C2D1 1D4E DF1E B46D 88D9 394B 5FA7 9C1E 7DDC 5B89

To claim this, I am signing this object:

use_dynamo = '0'
if use_dynamo > 0:
print "hello!"
if use_dynamo:
print "world!"
### From: http://git.itanic.dy.fi/?p=linux-stable;a=commitdiff_plain;h=9b17038d06c8ca74ca510d1a546a5dfd67f86e25
###
# From: Jan Kara <jack@suse.cz>
# Date: Thu, 13 Jan 2011 23:45:48 +0000 (-0800)
# Subject: writeback: avoid livelocking WB_SYNC_ALL writeback
# X-Git-Tag: v2.6.37.1~145
# X-Git-Url: http://git.itanic.dy.fi/?p=linux-stable;a=commitdiff_plain;h=9b17038d06c8ca74ca510d1a546a5dfd67f86e25
#
# writeback: avoid livelocking WB_SYNC_ALL writeback
#
In [1]: d1 = {'a': 1}
In [2]: d2 = {'a': 2}
In [3]: d1 == d2
Out[3]: False
In [4]: d2 = {'a': 1, 'b': 2}
In [5]: d1 == d2
>>> """SELECT COUNT(1) FROM Ticket_Classes c WHERE c.event = Events.id AND c.STATUS = %s ) = 0""" % (globals.gEventStatusLive, AdbTicketClasses.kTicketClassOnSale), includeTicketClasses=1
File "<stdin>", line 1
SyntaxError: can't assign to operator