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:
-delete | |
Delete files; true if removal succeeded. If the removal failed, an error message is issued. If -delete fails, find's exit status will be nonzero (when it eventually exits). Use of | |
-delete automatically turns on the -depth option. | |
Warnings: Don't forget that the find command line is evaluated as an expression, so putting -delete first will make find try to delete everything below the starting points you speci‐ | |
fied. When testing a find command line that you later intend to use with -delete, you should explicitly specify -depth in order to avoid later surprises. Because -delete implies | |
-depth, you cannot usefully use -prune and -delete together. |
from setuptools import setup, find_packages | |
from pip.req import parse_requirements | |
BASE_DIR = os.path.dirname(os.path.abspath(__file__)) | |
REQUIREMENTS = os.path.join(BASE_DIR, 'requirements.pip') | |
DEPENDENCIES = [unicode(package.req) | |
for package in parse_requirements(REQUIREMENTS)] | |
setup( | |
install_requires = DEPENDENCIES, |
def concatenate(self, files, target, compress=False, progress=1): | |
""" | |
Concatenate all the lines from files into the target. | |
If compress is True, compress the file using gzip. Defaults to False. | |
If progress is an integer, log an INFO message every N files (where | |
N is the integer passed). Defaults to 1. | |
Returns target. |
>>> """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 |
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 |
### 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 | |
# |
use_dynamo = '0' | |
if use_dynamo > 0: | |
print "hello!" | |
if use_dynamo: | |
print "world!" |
I hereby claim:
To claim this, I am signing this object:
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 |
(setq user-full-name "Paul Lathrop" | |
user-mail-address "plathrop@digg.com") | |
(require 'cl) | |
(setq-default indent-tabs-mode nil) | |
(setq inhibit-startup-message t | |
require-final-newline t | |
backup-directory-alist'((".*" . "~/emacs/backups")) |