- Michele Titolo @micheletitolo
- Who's built, designed, and spec'd a lot of APIs
- Talk will focus on web APIs, but applies to many programmatic APIs, too
- good: it exists (and bonus points if it's interactive: I/O Docs is one nice example)
| #! /usr/bin/env python | |
| ''' | |
| Module to remove empty folders recursively. Can be used as standalone script or be imported into existing script. | |
| ''' | |
| import os, sys | |
| def removeEmptyFolders(path, removeRoot=True): | |
| 'Function to remove empty folders' | |
| if not os.path.isdir(path): |
| #!/bin/bash | |
| # current Git branch | |
| branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,') | |
| # v1.0.0, v1.5.2, etc. | |
| versionLabel=v$1 | |
| # establish branch and tag name variables | |
| devBranch=develop |