A plugin to display certain information from last.fm in IRC.
Download the .rb file, and place it in a subdirectory of your bot entitled
plugins
then require it via require_relative
. Add it to your bot
like so:
Traceback (most recent call last): | |
File "./todolist.py", line 85, in <module> | |
main() | |
File "./todolist.py", line 68, in main | |
logged = newUser() | |
File "./todolist.py", line 28, in newUser | |
words = shadow.load(shadowfile,True,password) | |
File "/home/bread/Documents/code/python/todo/JsonEdit.py", line 43, in load | |
crypt.decrypt_file(key,thefile,thefile + '.dec') | |
File "/home/bread/Documents/code/python/todo/Encryptor.py", line 63, in decrypt_file |
#ALIASES | |
alias ls="ls -b -CF --color=auto --group-directories-first" | |
alias c='clear' | |
alias reload="source ~/.zshrc" | |
alias obreload="killall -USR2 openbox" | |
alias xterm="xterm -fg white -bg black" | |
alias xmp="xmp -d alsa" | |
#alias minecraft="cd $MC;java -Xmx1024M -Xms512M -cp minecraft.jar net.minecraft.LauncherFrame" | |
alias wgetsite="wget -r -H -U agent -l5 -np" | |
alias isrunning="ps ax | grep -v grep | grep -i " |
init-+-5*[agetty] | |
|-2*[autocutsel] | |
|-crond | |
|-2*[dbus-daemon] | |
|-dbus-launch | |
|-dhcpcd | |
|-dropbox---13*[{dropbox}] | |
|-dwb-+-npviewer.bin | |
| `-2*[{dwb}] | |
|-gpg-agent |
(git)-[master] % git push origin master | |
bread@xales.info's password: | |
Counting objects: 6, done. | |
Delta compression using up to 2 threads. | |
Compressing objects: 100% (4/4), done. | |
Writing objects: 100% (4/4), 423 bytes, done. | |
Total 4 (delta 2), reused 0 (delta 0) | |
remote: From /home/bread/ashleyblog | |
remote: 5f2865a..1cdb4f9 master -> origin/master | |
remote: Updating 5f2865a..1cdb4f9 |
[02:40:21] <-- | xales (die@inafire.com) has quit (Killed (Deltafire (Welcome!))) | |
[02:40:36] --> | xales (die@inafire.com) is back on server | |
[02:41:07] <-- | xales (die@inafire.com) has quit (Killed (eofpi_ (Welcome to the asyl--team! I mean team!))) | |
[02:41:21] --> | xales (die@inafire.com) is back on server | |
[02:42:29] <-- | xales (die@inafire.com) has quit (Killed (mr_flea (HAPPY PROMOTION!))) | |
[02:42:48] --> | xales (die@inafire.com) is back on server | |
[02:42:53] <-- | xales (die@inafire.com) has quit (Killed (TestDummy (mr_flea stole you from me because I was too busy being lazy. :<))) | |
[02:43:10] --> | xales (die@inafire.com) is back on server | |
[02:43:12] <-- | xales (die@inafire.com) has quit (Killed (Kramer (A wild xales appears as an IRCop. Congrats!))) | |
[02:43:27] --> | xales (die@inafire.com) is back on server |
[23:02:00] <@xales> ? bread: tell me how fast this is lol | |
[23:02:02] <@xales> ? 22:58:48 -NickServ(NickServ@services.esper.net)- SET allows you to set various control flags | |
[23:02:05] <@xales> ? 22:58:48 -NickServ(NickServ@services.esper.net)- for nicknames that change the way certain | |
[23:02:08] <@xales> ? 22:58:48 -NickServ(NickServ@services.esper.net)- operations are performed on them. | |
[23:02:11] <@xales> ? 22:58:48 -NickServ(NickServ@services.esper.net)- | |
[23:02:14] <@xales> ? 22:58:48 -NickServ(NickServ@services.esper.net)- The following subcommands are available: | |
[23:02:17] <@xales> ? 22:58:48 -NickServ(NickServ@services.esper.net)- ACCOUNTNAME Changes your account name. | |
[23:02:20] <@xales> ? was that all at once? :o | |
[23:02:24] <@bread> ? nope! |
[00:37:28] xalesZNC -- | Awesomeness (Awesome@78.84.144.86): DCC Chat (78.84.144.86) | |
[00:37:28] weechat | xfer: incoming chat request from Awesomeness (50.21.183.176) | |
[00:37:34] xalesZNC -- | Awesomeness (Awesome@78.84.144.86): DCC Chat (78.84.144.86) | |
[00:37:34] weechat | xfer: incoming chat request from Awesomeness (50.21.183.176) | |
[00:37:37] xalesZNC -- | Awesomeness (Awesome@78.84.144.86): DCC Chat (78.84.144.86) | |
[00:37:37] weechat | xfer: incoming chat request from Awesomeness (50.21.183.176) | |
[00:37:40] xalesZNC -- | Awesomeness (Awesome@78.84.144.86): DCC Chat (78.84.144.86) | |
[00:37:41] weechat | xfer: incoming chat request from Awesomeness (50.21.183.176) | |
[00:37:44] xalesZNC -- | Awesomeness (Awesome@78.84.144.86): DCC Chat (78.84.144.86) | |
[00:37:44] weechat | xfer: incoming chat request from Awesomeness (50.21.183.176) |
#!/usr/bin/env ruby | |
# encoding=utf-8 | |
# require 'cinch' | |
require 'wunderground' | |
require 'mash' | |
# These are all very annoying. | |
# rubocop:disable Metrics/LineLength, Metrics/ClassLength, Metrics/CyclomaticComplexity | |
# rubocop:disable Metrics/MethodLength, Metrics/PerceivedComplexity, Metrics/AbcSize |
#!/usr/bin/env ruby | |
# encoding=utf-8 | |
require 'whatcd' # Gazelle API wrapper - gem install whatcd | |
require 'mash' # Cool hashes | |
# These are all very annoying. | |
# rubocop:disable Metrics/LineLength, Metrics/ClassLength, Metrics/CyclomaticComplexity | |
# rubocop:disable Metrics/MethodLength, Metrics/PerceivedComplexity, Metrics/AbcSize |