This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Format 'git status' output for use in my prompt | |
set -eu | |
untracked="" | |
modified="" | |
for line in $(command git status --porcelain=v1 2> /dev/null | command cut -c-2); do | |
if [[ $line == ?? ]]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# | |
# Foo documentation build configuration file, created by | |
# sphinx-quickstart on Wed Jul 12 21:34:14 2017. | |
# | |
# This file is execfile()d with the current directory set to its | |
# containing dir. | |
# | |
# Note that not all possible configuration values are present in this | |
# autogenerated file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[run] | |
source = test_foo | |
branch = True | |
[report] | |
show_missing = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.pex | |
.tox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pytest | |
@pytest.mark.parametrize('val', [ | |
b'\xac\x10\x02G', | |
b'\xfe\x80\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xde\xad\xbe\xef', | |
b'\x7f\x00\x00\x01', | |
]) | |
def test_fail(val): | |
assert False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from argparse import ArgumentParser | |
import pkg_resources | |
def main(): | |
parser = ArgumentParser('Check that a requirements.txt file is satisifed ' | |
'by the current environment.') | |
parser.add_argument('filename') |
I hereby claim:
- I am rouge8 on github.
- I am rouge8 (https://keybase.io/rouge8) on keybase.
- I have a public key whose fingerprint is 8615 0BD5 3032 4028 AAD0 86A1 D112 A173 40AD 85F8
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eu | |
VENV_DIR=/tmp/fastavro-venv | |
function cleanup() { | |
rm -rf "$VENV_DIR" | |
} | |
function benchmark() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules |
NewerOlder