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
| // | |
| // NSString+Levenshtein.h | |
| // PyHelp | |
| // | |
| // Modified by Michael Bianco on 12/2/11. | |
| // <http://mabblog.com> | |
| // | |
| // Created by Rick Bourner on Sat Aug 09 2003. | |
| // [email protected] |
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
| # Enable tab completion | |
| import rlcompleter | |
| import pdb | |
| pdb.Pdb.complete = rlcompleter.Completer(locals()).complete | |
| # Sometimes when you do something funky, you may lose your terminal echo. This | |
| # should restore it when spanwning new pdb. | |
| import termios, sys | |
| termios_fd = sys.stdin.fileno() | |
| termios_echo = termios.tcgetattr(termios_fd) |
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
| #import <Foundation/Foundation.h> | |
| @interface Communicator : NSObject <NSStreamDelegate> { | |
| @public | |
| NSString *host; | |
| int port; | |
| } | |
| - (void)setup; |
NewerOlder