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
#!/bin/bash | |
# macOS Mojave build >18A326g has a nasty issue. | |
# | |
# Basically, loginwindow likes threads. It's so passionate about threads that | |
# it will continue to collect threads endlessly. Now, the problem with such a | |
# process collecting so many threads is that, as the owner of all processes | |
# running under your account, if the process crashes, say goodbye to most of | |
# macOS. | |
# | |
# Well, this is exactly what happens. loginwindow freezes at 4096 threads and |
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
bin= | |
if [ -z "$1" ]; then | |
read -p 'Please enter the name of a command with missing libraries: ' bin | |
else | |
bin="$1" | |
fi | |
printf ' | |
' |
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 discord | |
paired = { | |
'channel that will trigger the bot': 'channel the bot will copy messages to', | |
'you know the drill': 'i can do this all day' | |
} | |
keyword_data = { | |
'channel that will trigger the bot': ['keyword', 'copybot', ['both of these', 'must be in the same message']] | |
} |
NewerOlder