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
# ..:77I777777777777777777777I. . | |
# ..?77777777777777777777777777777$+.. | |
# . ~7777777I7777777777777777777777777$~.. | |
# .7I7777...7777777777777777777777777$7+. | |
# .?7777.. ..77777777777777777777777$$7. | |
# .77777 777777777777777777777$$$$$I | |
# .77777.. ...7777777777777777777$$$$$$$$ | |
# .7777777 .77$777777777777777777$$$$$$$$ | |
# .77777777777777777777777777777$$$$$$$$$$ | |
# .77777777777777777777777777$$$$$$$$$$$$$ |
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
'''A simple utility for running UNIX shell commands''' | |
KEEP_STDOUT = 0x1 | |
KEEP_STDERR = 0x1 << 1 | |
ECHO_STDOUT = 0x1 << 2 | |
ECHO_STDERR = 0x1 << 3 | |
def shell(command, input_=None, output_=(KEEP_STDOUT | KEEP_STDERR | ECHO_STDOUT | ECHO_STDERR), wait=True): | |
''' |
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 sublime | |
import sublime_plugin | |
import itertools | |
class LogFilterCommand(sublime_plugin.WindowCommand): | |
def run(self, search_type = 'string', invert_search=False): | |
self.search_type = search_type | |
self.invert_search = invert_search |