Skip to content

Instantly share code, notes, and snippets.

View pstch's full-sized avatar
🔥
/dev/null

pistache pstch

🔥
/dev/null
View GitHub Profile
[117234.342190] VERIFY3(c < (1ULL << 24) >> 9) failed (36028797018963967 < 32768)
[117234.342324] PANIC at zio.c:267:zio_buf_alloc()
[117234.342414] Showing stack for process 27253
[117234.342419] CPU: 2 PID: 27253 Comm: z_wr_iss Tainted: P C O 3.16.0-4-amd64 #1 Debian 3.16.36-1+deb8u1
[117234.342421] Hardware name: Dell Inc. PowerEdge 1950/0UR033, BIOS 2.7.0 10/30/2010
[117234.342424] 0000000000000000 ffffffff81512391 ffffffffa096ebd5 ffff880323417ca0
[117234.342428] ffffffffa073438f 0000000000000000 0000000000000030 ffff880323417cb0
[117234.342431] ffff880323417c50 2833594649524556 4c553128203c2063 293432203c3c204c
[117234.342435] Call Trace:
[117234.342444] [<ffffffff81512391>] ? dump_stack+0x5d/0x78
[ 1144.858819] SPL: Loaded module v0.7.0-rc2_4_gf200b83
[ 1144.859083] icp: module license 'CDDL' taints kernel.
[ 1144.859086] Disabling lock debugging due to kernel taint
[ 1146.561672] ZFS: Loaded module v0.7.0-rc2, ZFS pool version 5000, ZFS filesystem version 5
[ 1320.524829] sdc: sdc1 sdc9
[ 1320.633921] sdc: sdc1 sdc9
[ 1320.734422] sdc: sdc1 sdc9
[ 1320.865495] sdb: sdb1 sdb9
[ 1320.967222] sdb: sdb1 sdb9
[ 1321.067579] sdb: sdb1 sdb9

Keybase proof

I hereby claim:

  • I am pstch on github.
  • I am pstch (https://keybase.io/pstch) on keybase.
  • I have a public key ASAhkRb5Vlrv-iT2PtXW0A-nqu8vvkK7HtnzWrD_VBEHggo

To claim this, I am signing this object:

@pstch
pstch / switch.py
Last active August 29, 2015 14:10 — forked from Lucretiel/switch.py
from contextlib import contextmanager
class SwitchError(RuntimeError):
pass
@contextmanager
def switch(switch_value, *, ignore_nomatch=True):
blocks = {}
blocks.default = None
//
// Regular Expression for URL validation
//
// Author: Diego Perini
// Updated: 2010/12/05
// License: MIT
//
// Copyright (c) 2010-2013 Diego Perini (http://www.iport.it)
//
// Permission is hereby granted, free of charge, to any person
@pstch
pstch / protectedviews.py
Created November 9, 2012 09:59
Django View that requires login when using site-wide login forms
class ProtectedTemplateView(TemplateView):
def dispatch(self, request, *args, **kwargs):
if not request.user.is_authenticated():
print 'Potatoes !'
return render(request, 'syncoor/auth/login_required.html', {'next' : request.get_full_path(), 'login_form_present' : True})
return super(ProtectedTemplateView, self).dispatch(request,*args, **kwargs)