Skip to content

Instantly share code, notes, and snippets.

Avatar

Dwayne Bailey dwaynebailey

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am dwaynebailey on github.
  • I am dwaynebailey (https://keybase.io/dwaynebailey) on keybase.
  • I have a public key ASBvs5t6QBWdk-r59T6OaB2x1DsXodHshqwpq8Ewv_5LSwo

To claim this, I am signing this object:

@dwaynebailey
dwaynebailey / test_query.py
Created Feb 4, 2015
Speed testing SUBSTRING_INDEX replacements
View test_query.py
from pootle_store.models import Store
from pootle_app.models import Directory
from django.db import connection
import timeit
import os
project = "firefox"
def get_path_sortkey(path):