Keybase proof
I hereby claim:
- I am nyuszika7h on github.
- I am nyuszika7h (https://keybase.io/nyuszika7h) on keybase.
- I have a public key whose fingerprint is 708C A9A5 38A5 1A4B CD30 B412 4844 8E83 ACB1 6B55
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
99[[No more]n]sZ[[no more]n]sz[dn]sn[[s]n]ss[[Take one down and pass it around, ]n1-d0=zd0!=n[ bottle]nd1!=s[ of beer on the wall.]ps0]st[[Go to the store and buy some more, 99 bottles of beer on the wall.]ps0]sg[d0=Zd0!=n[ bottle]nd1!=s[ of beer on the wall, ]nd0=zd0!=n[ bottle]nd1!=s[ of beer.]ps0d0=gd0!=td0<r]srlrx0lrx |
#!/usr/bin/env python | |
# Quick and dirty IRC triviabot script | |
testing = False # test bot *offline* using stdin/stdout debug shell | |
lurkmode = False # "lurk" mode - ask questions infrequently | |
exec_shell = False | |
# - based somewhat on example code at http://www.osix.net/modules/article/?id=780 | |
# - based on ircbot.ps by darkf | |
# - got some help from reading old stackoverflow pages: |
# -*- coding: utf-8 -*- | |
# | |
# Copyright 2014-2015, nyuszika7h <nyuszika7h@openmailbox.org> | |
# Copyright 2015, fwilson <fwilson@fwilson.me> | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is |
Make sure to configure the pidfile in your bot before adding this script to crontab, or else it will spawn lots of copies!
config pidfile botname.pid
flush
Edit the script and fill in the bot's directory, pidfile and config file. Then put something like this in your crontab:
These are NoScript surrogates for some pastebins that require JavaScript but offer a raw version. The surrogates allow you to view pastes, but not create new pastes.
noscript.surrogate.dropbin.replacement = location.replace("/t" + location.pathname);
noscript.surrogate.dropbin.sources = !dropb.in
noscript.surrogate.dropbin.exceptions = ^https?://dropb\.in/(?:t/|$)
# Copyright 2015, nyuszika7h <nyuszika7h@openmailbox.org> | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: | |
# | |
# The above copyright notice and this permission notice shall be included in |
javascript:void(open('https://web.archive.org/save/'+encodeURI(document.location)))
supybot.plugins.GitHub.format.before.push: cif [ceq [echo $after__short] 0000000] "utilities ignore" "echo \\"[\x0310$repository__name\x03]\\" \x0307$sender__login\x03 [gh.pushinfo] [gh.numcommits] \x0309$ref__branch\x03 [format join \\" \\" [gh.fpushinfo] \\"\x0313$compare__tiny\x03\\"]" | |
supybot.plugins.GitHub.format.push: echo "[\x0310$repository__name\x03]" [color 07 [gh.commitauthor]] \x0314$__commit__id__short\x03 $__commit__message__firstline | |
supybot.plugins.GitHub.format.commit_comment: echo "[\x0310$repository__name\x03]" \x0307$comment__user__login\x03 commented on commit \x039$comment__commit_id__short\x03 \x0313$comment__html_url__tiny\x03 | |
supybot.plugins.GitHub.format.issues: echo "[\x0310$repository__name\x03]" \x0307$sender__login\x03 $action issue [concat "\x0309#$issue__number\x03" [cif [ceq [echo $label__name] [echo $$label__name]] "echo :" "echo \\" as \x0308$label__name\x03:\\""]] $issue__title \x0313$issue__html_url__tiny\x03 | |
supybot.plugins.GitHub.format.issue_comment: echo "[\x0310$repos |