Skip to content

Instantly share code, notes, and snippets.

@gwatts
gwatts / keybase.md
Created October 27, 2015 03:12
keybase.md

Keybase proof

I hereby claim:

  • I am gwatts on github.
  • I am gwatts (https://keybase.io/gwatts) on keybase.
  • I have a public key whose fingerprint is E699 694B 7696 7358 9A34 4F4E C008 B057 0242 3BF3

To claim this, I am signing this object:

@gwatts
gwatts / github-release-stats.py
Last active March 22, 2021 07:22
Formats the release download stats for a Github project.
#!/usr/bin/python
# Little script to display file download statistics for
# the published releases of a Github project.
#
# (c) Gareth Watts 2015
# <[email protected]>
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@gwatts
gwatts / timeit.py
Last active August 11, 2017 05:09
Simple code timer for Python. Requires Python 3.2+
# The MIT License (MIT)
#
# Copyright (c) 2017 Gareth Watts
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions: