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
| # Horrorbox v1.4 | |
| # List box used for file panel with bounds checking | |
| import urwid | |
| class SafeListBox(urwid.ListBox): | |
| def keypress(self, size, key): | |
| if key in ('up', 'down'): | |
| focus_pos = self.focus_position | |
| max_pos = len(self.body) - 1 |
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
| #!/usr/bin/env python3 | |
| import os | |
| import sys | |
| import gzip | |
| import json | |
| import pandas as pd | |
| from datetime import datetime, timedelta | |
| from shapely.geometry import shape, MultiPoint, mapping | |
| from collections import Counter | |
| import argparse |
OlderNewer