Skip to content

Instantly share code, notes, and snippets.

View nickpascucci's full-sized avatar

Nick Pascucci nickpascucci

  • Scotland
  • 03:51 (UTC +01:00)
View GitHub Profile
@nickpascucci
nickpascucci / project.sh
Created January 1, 2012 00:46
A simple project management script
#! /bin/bash
# Project - Simple project management for Linux developers.
# Use:
# IMPLEMENTED
# project start: start a new project in the project management system.
# project pickup: show the log file up to this point
# project list: show current projects and last log entries.
# project checkpoint: create a new log entry and commit to git.
# project import: add an existing project to the database.
@nickpascucci
nickpascucci / todo_parser_2.py
Created October 6, 2011 16:57
Function to parse TODO comments from python source files.
# TODO parser part 2
def get_todos(files):
"""Create a list of TODO information based on the given files.
@param files: List of paths to Python source files.
@return: List of (person, date, file, line, text) tuples corresponding to
TODO comments in the given sources.
"""
comments = []