Skip to content

Instantly share code, notes, and snippets.

@jboning
jboning / libgit2.diff
Last active September 12, 2017 01:58
--- libgit2_old.txt 2017-09-12 01:51:34.364598541 +0000
+++ libgit2_new.txt 2017-09-12 01:50:25.834475299 +0000
@@ -5,6 +5,4551 @@
dea1b04997a2b57ca84462d15c761899fbeae2bd6e962f5d1b4bdc49d9e15ef7 ./script/toolchain-mingw32.cmake
020f0f39826b007abfd227cc636143b888f777e27816acda0af660075a5c0959 ./script/coverity.sh
908d8f6dfa7810c9c3c3c10090080a0d5dd6643ea34a15abb27ee6d49ab52329 ./script/install-deps-osx.sh
+1b0d1699b71096ce92606d4547eba69713e5c0c87692cfaabde8072f19754b89 ./tests/clone/transport.c
+3ac1dbf0b020b4a1b7c9f5a6a0cb285a0b8c704ff77c57186ef889cc60578312 ./tests/clone/local.c
+6e00287d2c042c63f61bcbacd5959d150a5bacf955878acc33fd26a68587d7be ./tests/clone/empty.c
+09940b4467a042a21f3be6d692810ffbe72ee2ed45ee73945711fe6c2cea98da ./tests/clone/nonetwork.c
StepMania5.0.9 crash report (build 0, 20150620 @ 17:37:55)
--------------------------------------
Architecture: Mac OS X (i386)
Crash reason: AxisFix
Crashed thread: Main thread
Checkpoints:
Thread: GUI thread
Thread: Main thread

Keybase proof

I hereby claim:

  • I am jboning on github.
  • I am jboning (https://keybase.io/jboning) on keybase.
  • I have a public key whose fingerprint is 948A 09A4 EB72 CCBA 23BD F457 AED8 AEB2 4E83 1C03

To claim this, I am signing this object:

def mark_thread_read(self, thread, time=None):
field = 'read__{0}__{1}'.format(thread.forum.id, thread.id)
time = time or datetime.utcnow()
return Character.objects(Q(id=self.id) & (Q(**{field+'__not__exists': True}) |
Q(**{field+'__lt': time}))).update_one(**{
'set__'+field: time
})