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 argparse | |
| def parse_line(line: str) -> dict: | |
| start_index = line.index(':') | |
| record_line = line[start_index:] | |
| record = { | |
| 'byte_count': int(record_line[1:3], 16), | |
| 'address': record_line[3:7], | |
| 'type': record_line[7:9], |
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
| " This is a personal used vimrc, single file for basic settings | |
| " indent | |
| set autoindent | |
| set smartindent | |
| " TAB | |
| set tabstop=2 | |
| set shiftwidth=2 | |
| set expandtab |
OlderNewer