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
[19:37:21][ERROR] Error loading op.py: | |
Traceback (most recent call last): | |
File "/home/bot/bot/core/pluginmanager.py", line 134, in load_module | |
importlib.reload(python_module) | |
File "/usr/lib/python3.4/importlib/__init__.py", line 149, in reload | |
methods.exec(module) | |
File "<frozen importlib._bootstrap>", line 1153, in exec | |
File "<frozen importlib._bootstrap>", line 1129, in _exec | |
File "<frozen importlib._bootstrap>", line 1444, in exec_module | |
File "<frozen importlib._bootstrap>", line 1549, in get_code |
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
types | # objects | total size | |
====================================== | =========== | ============ | |
<class '_io.BufferedWriter | 528 | 2.15 MB | |
<class 'str | 21269 | 1.77 MB | |
<class 'dict | 2446 | 712.25 KB | |
<class 'list | 6397 | 705.35 KB | |
<class 'code | 945 | 132.90 KB | |
<class 'type | 121 | 124.95 KB | |
<class 'bytes | 7 | 64.27 KB | |
<class 'tuple | 885 | 57.09 KB |
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
#!/bin/bash | |
pip install --user virtualenv | |
mkdir -p "$HOME/.local/bin" | |
PATH="$HOME/.local/bin:$PATH" | |
virtualenv -p /usr/bin/python3 "$HOME/py3env" | |
source "$HOME/py3env/bin/activate" | |
wget "https://gist.githubusercontent.com/daboross/56df84531683c76ca1db/raw/requirements.txt" -O "$HOME/requirements.txt" | |
pip install -r "$HOME/requirements.txt" |
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
sqlalchemy | |
watchdog | |
lxml | |
beautifulsoup4 | |
pygeoip | |
git+https://github.com/rfk/pyenchant.git | |
py3dns | |
pycrypto | |
pbkdf2 |
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 util import hook | |
disabled = False | |
allowed_nicks = ["Person"] | |
@hook.sieve() | |
def command_switch_sieve(bot, input, plugin): | |
if plugin.type == "command" and disabled and input.chan.lower() == "#queercraft": |
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 util import hook | |
disabled = False | |
allowed_nicks = ["Person"] | |
@hook.sieve() | |
def command_switch_sieve(bot, input, plugin): | |
if plugin.type == "command" and disabled: |
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 re | |
from core import main | |
from util import hook | |
from .utility import strip | |
@hook.event("PRIVMSG") | |
def run_extra_prefix(input, bot, conn, lastparam): | |
""" |
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/python3 /home/daboross/Projects/Python/Eliralin/EliralinRefresh/cloudbot.py --qpt | |
CloudBot3 <http://git.io/cloudbotirc> | |
[14:23:36][INFO] [znc-esper] Created permission manager for zncesper. | |
[14:23:36][INFO] [znc-esper] Reloading permissions for zncesper. | |
/home/daboross/Projects/Python/Eliralin/EliralinRefresh/modules | |
[14:23:36][INFO] Loaded command osrc from osrc.py | |
[14:23:36][INFO] Loaded command time from time_plugin.py | |
[14:23:36][INFO] Loaded command beats from time_plugin.py | |
[14:23:36][INFO] Loaded regex ctcp_version from core_ctcp.py | |
[14:23:36][INFO] Loaded regex ctcp_time from core_ctcp.py |
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
#!/bin/bash | |
gac_diff() { | |
git add -A | |
git diff --cached "$@" | |
} | |
gac_commit() { | |
if [[ -a ".git/do-not-commit" ]]; then | |
return |
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
[2014-04-07][21:39:34][INFO] Config loaded from file. | |
[2014-04-07][21:39:34][INFO] Loaded plugin: rss.py:rb:37 (command) | |
[2014-04-07][21:39:34][INFO] Loaded plugin: rss.py:rss:4 (command) | |
[2014-04-07][21:39:34][INFO] Loaded plugin: rss.py:rss:4 (command) | |
[2014-04-07][21:39:34][INFO] Loaded plugin: wikipedia.py:wiki:15 (command) | |
[2014-04-07][21:39:34][INFO] Loaded plugin: wikipedia.py:wiki:15 (command) | |
[2014-04-07][21:39:34][ERROR] Error compiling encrypt.py: | |
Traceback (most recent call last): | |
File "/home/daboross/Projects/Python/Eliralin/EliralinRefresh/core/loader.py", line 81, in load_file | |
eval(code, namespace) |