Skip to content

Instantly share code, notes, and snippets.

View pedroelsner's full-sized avatar

Pedro R. Elsner Begosso pedroelsner

View GitHub Profile
@tuxknowledge
tuxknowledge / gist:4666985
Last active September 28, 2016 01:22
Notepad++ Helferlein
import fnmatch
import os
src = '<Path>'
pattern = '*.py'
matches = []
for root, dirnames, filenames in os.walk(src):
for filename in fnmatch.filter(filenames, pattern):
matches.append(os.path.join(root, filename))
@iros
iros / API.md
Created August 22, 2012 14:42
Documenting your REST API

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method: