This file contains 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
class Query: | |
def __init__(self, data): | |
try: | |
self.message = int(data, 16) | |
except ValueError as e: | |
print("You can't have empty strings for conversion") | |
class Poll: | |
def __init__(self, idx, query_data): |
This file contains 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
origin_win ssh://user@1.1.1.1:myrepo (fetch) | |
origin_win ssh://user@1.1.1.1:myrepo (push) |
This file contains 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
PS C:\Users\user> git init myrepo | |
Initialized empty Git repository in C:/Users/user/myrepo/.git/ |
This file contains 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 logging | |
log = logging.getLogger(__name__) | |
def say_hello(): | |
log.info('Hello from helper module!') |