Skip to content

Instantly share code, notes, and snippets.

Trent Mick trentm

Block or report user

Report or block trentm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@trentm
trentm / Makefile.py
Created Jul 21, 2010
play boilerplate
View Makefile.py
#!python
#...
@trentm
trentm / Makefile.py
Created Jul 27, 2010
Makefile.py: mk makefile boilerplate
View Makefile.py
# This is a Makefile for the `mk` tool. (Limited) details for that here:
# <http://github.com/activestate/mk>
import sys
import os
from os.path import join
import re
import mklib
from mklib.common import MkError
@trentm
trentm / {{module}}.py
Created Jul 28, 2010
python-module: Python module boilerplate
View {{module}}.py
"""{{ docstring }}"""
import logging
{{ imports }}
#---- globals
log = logging.getLogger("{{ loggername }}")
View 0001-spelling-correction.patch
From 1813d0ffb6f90f360513077e545c52d7a62ede28 Mon Sep 17 00:00:00 2001
From: Trent Mick <trentm@gmail.com>
Date: Fri, 6 Aug 2010 11:17:45 -0700
Subject: [PATCH] spelling correction
---
ChangeLog | 2 +-
doc/api.markdown | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
View 0001-markdown-fix.patch
From 47331252e0174a04ae9eab44c948e04fb85a6cf5 Mon Sep 17 00:00:00 2001
From: Trent Mick <trentm@gmail.com>
Date: Fri, 6 Aug 2010 15:28:08 -0700
Subject: [PATCH] markdown fix
---
doc/api.markdown | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/doc/api.markdown b/doc/api.markdown
View 0004-working-first-pass-at-tab-completion-in-the-repl-see.patch
From e9c3a7813a017983423c0f8b0813fb45fa2b4440 Mon Sep 17 00:00:00 2001
From: Trent Mick <trentm@gmail.com>
Date: Mon, 9 Aug 2010 02:18:32 -0700
Subject: [PATCH 4/4] working first pass at tab-completion in the repl (see inline TODOs)
---
lib/readline.js | 73 +++++++++++++++++++++-----
lib/repl.js | 153 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
2 files changed, 211 insertions(+), 15 deletions(-)
View 0001-repl-completion-multi-column-display-of-completions.patch
From 8f8131916f5d34424415049a8dc2723387602348 Mon Sep 17 00:00:00 2001
From: Trent Mick <trentm@gmail.com>
Date: Wed, 11 Aug 2010 23:14:12 -0700
Subject: [PATCH] repl completion: multi-column display of completions
---
lib/readline.js | 56 ++++++++++++++++++++++++++++++++++++++++++++++--------
1 files changed, 47 insertions(+), 9 deletions(-)
diff --git a/lib/readline.js b/lib/readline.js
View gist:592021
Index: /Users/trentm/as/komodo/src/modules/fastopen/components/koFastOpen.py
===================================================================
--- koFastOpen.py (revision 56871)
+++ koFastOpen.py (working copy)
@@ -355,6 +355,7 @@
g.append(kovg)
cwds = list(kovg.cwds)
if self.pref_enable_project_gatherer and self.project:
+ g.append(fastopen.DirGatherer("projbasedir", [self.project.base_dir], ...))
g.append(fastopen.CachingKomodoProjectGatherer(
You can’t perform that action at this time.