Skip to content

Instantly share code, notes, and snippets.


Richard nyuszika7h

View GitHub Profile

Keybase proof

I hereby claim:

  • I am nyuszika7h on github.
  • I am 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:

nyuszika7h / 99bottles.dc
Last active Aug 29, 2015
99 Bottles of Beer in dc
View 99bottles.dc
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
View gist:4588000ac992805b1eb8
#!/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
# - based on by darkf
# - got some help from reading old stackoverflow pages:
nyuszika7h /
Last active Aug 29, 2015
3rd-party cookie whitelist
nyuszika7h /
Last active Aug 29, 2015
Script to run supybot-botchk in crontab

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

Edit the script and fill in the bot's directory, pidfile and config file. Then put something like this in your crontab:

nyuszika7h /
Last active Aug 29, 2015
WeeChat auto-ghost script
# Copyright 2015, nyuszika7h <>
# 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
View caroline.github.conf
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
nyuszika7h / limnoria-github-notifico-formats.txt
Last active Dec 2, 2016
Notifico-like formats for Limnoria's GitHub plugin
View limnoria-github-notifico-formats.txt
config 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"
config plugins.GitHub.format.create "echo \"[\x0310$repository__name\x03]\" \x0307$sender__login\x03 created $ref_type \x0309$ref\x03"
config plugins.GitHub.format.delete "echo \"[\x0310$repository__name\x03]\" \x0307$sender__login\x03 \x0304deleted\x03 $ref_type \x0309$ref\x03"
config plugins.GitHub.format.gollum "echo \"[\x0310$repository__name\x03]\" \x0307$sender__login\x03 $__page__action wiki page \x0309$__page__title\x03 \x0313$__page__html_url__tiny\x03"
config plugins.GitHub.format.issue_comment "echo \"[\x0310$repository__name\x03]\" \x0307$sender__login\x03 [cif [ceq [echo $action] created] \"echo commented\" \"echo $action a comment\"] on issue \x0309#$issue__number\x03: $issue__title \x0313$issue__html_url__tiny\x03"
config plugins.GitHub.format.issues "echo \"[\x0310$repository__name\x03]\"
nyuszika7h / titlecap-dark-theme.css
Last active Dec 5, 2016
Dark theme for
View titlecap-dark-theme.css
@namespace url(;
@-moz-document domain("") {
body {
background-color: #222;
color: #fff;
#title:nth-child(2):before {
content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAACLCAYAAABP2c8gAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AwFDhUfmJ1q+gAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAOtUlEQVR42u3dfbAddX3H8fc3CSQEYSAOV5CgPEipAYlFKBAqExoUkQktUqnttECb2qmCCBYiDEXEETVBkIE2HVtAkQ5loNihYNGKFAqh1iBCokEFMUoEvIBEAgkPId/+sZvxctk99zzde8699/2auUPYc86e3+45Zz+7v/09gCRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJ0qiKXr75Njdu3h04qd92yrTgZ+vfN+XLY7D95/fjl2Lj8VMu8KchacRjZY/ff/dpwSf7cL/cCYx6gPTptgMYIJJGNMVdIEkyQCRJBogkyQCRJBkgkiQZIJIkA0SSZIBIkgwQSdLENc1doMkqM7cHzgCOLRd9E7gkIgZ7UJYZFYs3RcQmPykZIFL/hcf/AnOGLD4A+IvMnBsRT4xhWWYCK4aVBWBtZs6JiPV+YjJApP7xNxUHbIAB4GPA4jEsy2ag6kpj64n0G83MHYE3A78F7Aa8Hthy5bUReAJYA/wQ+KlXXwaIVHUg2Qm4A3hhDN5uNnBmRFwzbPmsBq+Zk5lTI+KVmvIHcBH
nyuszika7h /
Created Jun 3, 2016
Bookmarklets to archive a page at the Internet Archive, WebCite and

Archive bookmarklets

Internet Archive