Skip to content

Instantly share code, notes, and snippets.

View dwaynebailey's full-sized avatar

Dwayne Bailey dwaynebailey

View GitHub Profile

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 February 4, 2015 01:06
Speed testing SUBSTRING_INDEX replacements
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):