Skip to content

Instantly share code, notes, and snippets.

View lamby's full-sized avatar

Chris Lamb lamby

View GitHub Profile
diff --git a/debug_toolbar/panels/sql.py b/debug_toolbar/panels/sql.py
index f0d3323..1a9310d 100644
--- a/debug_toolbar/panels/sql.py
+++ b/debug_toolbar/panels/sql.py
@@ -7,7 +7,7 @@ import traceback
import django
from django.conf import settings
from django.db import connection
-from django.db.backends import util
+from django.db.backends import util, BaseDatabaseWrapper
We can't assume that "process_view" is called on our panels because a
middleware may render and then return a response.
diff --git a/debug_toolbar/panels/request_vars.py b/debug_toolbar/panels/request_vars.py
index 956e028..97eb80d 100644
--- a/debug_toolbar/panels/request_vars.py
+++ b/debug_toolbar/panels/request_vars.py
@@ -32,10 +32,13 @@ class RequestVarsDebugPanel(DebugPanel):
'get': [(k, self.request.GET.getlist(k)) for k in self.request.GET],
We can't assume that "process_view" is called on our panels because a
middleware may render and then return a response.
diff --git a/debug_toolbar/panels/request_vars.py b/debug_toolbar/panels/request_vars.py
index 956e028..97eb80d 100644
--- a/debug_toolbar/panels/request_vars.py
+++ b/debug_toolbar/panels/request_vars.py
@@ -32,10 +32,13 @@ class RequestVarsDebugPanel(DebugPanel):
'get': [(k, self.request.GET.getlist(k)) for k in self.request.GET],
We can't assume that "process_view" is called on our panels because a
middleware may render and then return a response.
diff --git a/debug_toolbar/panels/request_vars.py b/debug_toolbar/panels/request_vars.py
index 956e028..97eb80d 100644
--- a/debug_toolbar/panels/request_vars.py
+++ b/debug_toolbar/panels/request_vars.py
@@ -32,10 +32,13 @@ class RequestVarsDebugPanel(DebugPanel):
'get': [(k, self.request.GET.getlist(k)) for k in self.request.GET],
diff --git a/djcelery/management/commands/celeryd.py b/djcelery/management/commands/celeryd.py
index cffadf7..3270de3 100644
--- a/djcelery/management/commands/celeryd.py
+++ b/djcelery/management/commands/celeryd.py
@@ -4,10 +4,13 @@ Start the celery daemon from the Django management command.
"""
from celery.bin import celeryd
+from celery.bin.base import Option
@lamby
lamby / gitsh
Created February 11, 2014 18:51 — forked from hmarr/gitsh
#!/bin/sh
echo -n "gitsh% "
while read line; do
if [ "$line" = ":exit" ]; then
exit
fi
sh -c "git $line"
echo -n "gitsh% "

Keybase proof

I hereby claim:

  • I am lamby on github.
  • I am lamby (https://keybase.io/lamby) on keybase.
  • I have a public key whose fingerprint is 0F1E 5C1F 1D3D F7DB AEE0 4288 E7FF 2E5B 634F 9A20

To claim this, I am signing this object:

#!/bin/sh
NAME="Stretching_out_for_trustworthy_reproducible_builds_creating_bit_by_bit_identical_binaries"
wget --no-clobber --continue -O${NAME}.webm http://meetings-archive.debian.net/pub/debian-meetings/2015/debconf15/${NAME}.webm
wget --no-clobber --continue -O${NAME}.srt "https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=debconfsubs/debconfsubs.git;a=blob_plain;f=2015/debconf15/english/${NAME}.en.srt;hb=HEAD"
mplayer -sub ${NAME}.srt ${NAME}.webm
#!/bin/sh
exec /home/lamby/git/projects/dotfiles/bin/ifupdown "${@}"
golang-check.v1 (AUTOREMOVAL)
flagged for removal in 32.2 days
bugs:
- '796806'
dependencies_only: false
last_checked: 2015-09-05 04:00:37
rdeps:
- golang-gopkg-vmihailenco-msgpack.v2
- golang-yaml.v2
- prometheus