- 4Chan: Community where everything matters but everyone is anonymous.
- StackOverflow: Geek community where only knowledge matters and anonymity is optional.
- Imgur: Community where the username is most often part of the message.
- IRC: Not a community. The common room of your community's lodgings.
- Twitter: Nobody's really sure what exactly it is.
- Facebook: Originally made by a douchebag, now home to many more.
- MySpace: Where bands hang out before they die.
- Bandcamp: Where the rest of the bands are.
- YouTube: One of the rare things that has gotten better after Google bought it.
- Github: Code. Code-code-code. Octopuses. Lolcats.
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
| # coding: utf-8 | |
| """ | |
| NaNoWriMo.org helper mod | |
| Provides wordcounts (.wc) and word war | |
| (.sprint) helpers. | |
| Depends on: | |
| core mods (azbot >= 1.4.0) | |
| lxml |
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
| # coding: utf-8 | |
| """ | |
| Personality mod | |
| Scans all conversation and intervenes | |
| when it picks up on specific patterns. | |
| Responses are varied randomly, and most | |
| have a mood index; mood is changed by | |
| whetever you say to the bot. |
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
| # coding: utf-8 | |
| """ | |
| Channel management | |
| Depends on: | |
| core mods (azbot >= 1.4.0) | |
| """ | |
| import _util | |
| def join(opts, args=[]): |
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
| """ | |
| Wolfram|Alpha mod | |
| Provides .wa and .time and other | |
| calculation-related commands. | |
| Depends on: | |
| core mods (azbot >= 1.4.0) | |
| wolframalpha (pip install ~) |
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
| # Append to: nanowrime.py | |
| import time | |
| import datetime | |
| from threading import Thread | |
| class nanotimer(Thread): | |
| def set(self, time = 15, func = lambda: 0, *args): | |
| self.time = time * 60 | |
| self.func = func |
I'm thinking about a language concept. Dunno if it already exists or what. Just a random idea. For convenience, let's call it Rall (for Random Async/Lazy Language). For simplicity's sake, I've made the syntax similar to Python or Ruby or CoffeeScript.
In a normal language:
# doA() will run, complete,
# and 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
| """ | |
| Markovbot mod | |
| Depends on: | |
| core mods (>= 1.3.0) | |
| Config options: | |
| markovbot: | |
| # These are good defaults. Change with care. |
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/python | |
| """ | |
| https://code.google.com/p/pycleverbot | |
| This library lets you open chat session with cleverbot (www.cleverbot.com) | |
| Example of how to use the bindings: | |
| >>> import cleverbot | |
| >>> cb=cleverbot.Session() | |
| >>> print cb.Ask("Hello there") |
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
| // Proposed by passcod @ Nov 07 2012 06:47:22 | |
| self.attack = function(to) { | |
| var user = to || Object.keys(bot.users)[Math.floor(Object.keys(bot.users).length * Math.random())]; | |
| var attack = store.attacks[Math.floor(store.attacks.length * Math.random())]; | |
| return attack.replace(/\{defender\}/g, user).replace(/\{attacker\}/g, bot.caller).replace(/{year}/g, Math.round(Math.random() * 10000) + (Math.random() * 100 < 35 ? "BC" : "")); | |
| } |