- 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 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 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 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 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 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
<script type="text/javascript" src="jquery.min.js"></script> | |
<script type="text/javascript" src="script.js"></script> | |
<style> | |
nav#main a[data-current] { color: red; } | |
</style> | |
<nav id="main"> | |
<a href="#!/">A</a> | |
<a href="#!/derp">B</a> |
This file contains 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
console.log("Hello from thesides!"); | |
function fib(n) { | |
return n < 2 ? n : fib(n-1) + fib(n-2); | |
} | |
console.log("Fib(5): " + fib( 5)); | |
console.log("Fib(15): " + fib(15)); | |
console.log("Fib(25): " + fib(25)); | |
console.log("Fib(35): " + fib(35)); |
This file contains 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
toSource2 = (data) -> | |
typ = typeof data | |
if typ == "number" and isNaN data | |
"NaN" | |
else if ["string", "number", "boolean"].indexOf(typ) != -1 | |
JSON.stringify data | |
else if typ == "function" | |
"(#{data.toString()})" | |
else if data instanceof Array | |
"[#{data.map(toSource2).join(", ")}]" |
This file contains 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 | |
echo "Tmux !!!" | |
tmux new-session -d /home/mc/launch.sh |
This file contains 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
function fib(n) { | |
return n < 2 ? n : fib(n-1) + fib(n-2); | |
} | |
print(fib(35)); |