I hereby claim:
- I am jperras on github.
- I am jperras (https://keybase.io/jperras) on keybase.
- I have a public key ASCVivxJMcbrFE90EG9HP9m-8n2c6R4QT9RupAR8allhRgo
To claim this, I am signing this object:
scrooloose/nerdcommenter | |
jreybert/vimagit | |
tpope/vim-fugitive | |
airblade/vim-gitgutter | |
tpope/vim-abolish | |
tpope/vim-unimpaired | |
sbdchd/neoformat | |
junegunn/fzf | |
junegunn/fzf.vim | |
sheerun/vim-polyglot |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
def foo(bar) | |
print bar | |
end | |
foo = 42 | |
foo foo | |
# Any guesses as to what this will do? :) |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
from graphitepager import __version__ | |
import os | |
try: | |
from setuptools import setup | |
except ImportError: | |
from distutils.core import setup | |
I hereby claim:
To claim this, I am signing this object:
# -*- coding: utf-8 -*- | |
import itertools | |
import operator | |
def trim(data, delta): | |
"""Trims elements within `delta` of other elements in the list.""" | |
output = [] |
from unidecode import unidecode | |
# Regular expression to match most "punctuation" | |
punctuation_re = re.compile(r'[\t !"#$%&\'()*\-/<=>?@\[\\\]^_`{|},.]+') | |
def slugify(text, delimiter=u'-'): | |
"""Generates an ASCII-only slug.""" | |
result = [] | |
for word in punctuation_re.split(text.lower()): |
import re | |
version_pattern = re.compile(r"/v(?P<version>[0-9a-z\-\+\.]+)", re.IGNORECASE) | |
class VersionedAPIMiddleware(object): | |
""" | |
Allows a Werkzeug/Flask application to have a versioned API. | |
This middleware will extract out the API version specification in a URL |