This file contains hidden or 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
package main | |
// Delete *.pyc files. | |
// Basically does this: | |
// find . -name '*.pyc' -exec rm {} \; | |
import ( | |
"log" // for writing errors and quitting if something breaks | |
"os" // for command-line args and getting file info | |
"path/filepath" // for walking a directory tree |
This file contains hidden or 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
from uuid import UUID | |
def validate_uuid4(uuid_string): | |
""" | |
Validate that a UUID string is in | |
fact a valid uuid4. | |
Happily, the uuid module does the actual | |
checking for us. |
This file contains hidden or 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
tellme | |
====== | |
:date: 2013-04-02 | |
:tags: computing, Ubuntu | |
:category: computing | |
:slug: tellme | |
:author: Shawn Milochik | |
:email: [email protected] | |
:summary: "tellme" when you're done |
NewerOlder