It is Friday. I don't have to work. I have to travel.
He was an American philosopher, mathematician, and computer scientist, and a major figure in analytic philosophy in the second half of the 20th century. He made significant contributions to philosophy of mind, philosophy of language, philosophy of mathematics, and philosophy of science. Outside philosophy, Putnam contributed to mathematics and computer science. Together with Martin l Davis he developed the Davis–Putnam algorithm for the Boolean satisfiability problem and he helped demonstrate the unsolvability of Hilbert's tenth problem.
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
@dataclass | |
class TwitchConfig: | |
token: str = os.environ["TWITCH_OAUTH_TOKEN"] | |
bot: str = os.environ.get("TWITCH_BOT_NAME", DEFAULT_BOT) | |
channel: str = os.environ.get("TWITCH_CHANNEL", DEFAULT_CHANNEL) | |
def __repr__(self): | |
return f"TwitchConfig(bot: {self.bot}, channel: {self.channel})" |
It is Friday. I don't have to work. I have to travel. I want to continue to bridge the gap between Vim/Bash and Twitchchat, but if anything else comes up, I am going to let my ADHD take me away.
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
from pathlib import Path | |
import re | |
import sys | |
DEFAULT_LINES_TO_GRAB = 5 | |
# BLACKLISTED_USERS = [] | |
BLACKLISTED_USERS = ["beginbotbot", "nightbot"] | |
from optparse import OptionParser |
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
:vnoremap <leader>gg :Gist<cr>; beginbot @+<cr> |
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 json | |
import socket | |
from log import Log | |
from config import TwitchConfig | |
from command_parser import CommandParser | |
CONNECTION_DATA = ("irc.chat.twitch.tv", 6667) | |
ENCODING = "utf-8" | |
CHAT_MSG = "PRIVMSG" |
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
d then access the contents in Vimscript from register |
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
d then access the contents in Vimscript from register |
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
d then access the contents in Vimscript from register |