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
/root/doms/chatter-bot-api-read-only/python/chatterbotapi.py:1: DeprecationWarning: the md5 module is deprecated; use hashlib instead | |
import md5 | |
bot1> Hi | |
bot2> Hello there. | |
bot1> Have you gotten any smarter yet? | |
bot2> Do I look like it? | |
bot1> Wel... What do you look like? | |
bot2> I like the way you talk. Like you. | |
bot1> I am doing my best not to be unpleasant. | |
bot2> Good gossip: you are your best not to be unpleasant. |
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
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.02.22 20:19:55 =~=~=~=~=~=~=~=~=~=~=~= | |
python chatterbotapitest.py | |
chatterbotapi.py:1: DeprecationWarning: the md5 module is deprecated; use hashlib instead | |
import md5 | |
bot1> you're weird. | |
bot2> Weird Good or Weird Bad? | |
bot1> Good. | |
bot2> That's nice of you to say, . | |
bot1> That's nice of you to say1. | |
bot2> Are you getting bored? That is something I haven't heard of. |
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
2012-04-01 01:05:59 [INFO] Starting minecraft server version 1.2.4 | |
2012-04-01 01:05:59 [INFO] Loading properties | |
2012-04-01 01:05:59 [INFO] Starting Minecraft server on *:25565 | |
2012-04-01 01:05:59 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE! | |
2012-04-01 01:05:59 [WARNING] The server will make no attempt to authenticate usernames. Beware. | |
2012-04-01 01:05:59 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose. | |
2012-04-01 01:05:59 [WARNING] To change this, set "online-mode" to "true" in the server.properties file. | |
2012-04-01 01:06:00 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.4-R1.0-b2126jnks (MC: 1.2.4) (Implementing API version 1.2.4-R1.0) | |
2012-04-01 01:06:00 [INFO] [ScavengerHunt] Loading ScavengerHunt v1.2.1 | |
2012-04-01 01:06:00 [INFO] [WorldEdit] Loading WorldEdit v5.3 |
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
import urllib | |
page = urllib.urlopen('http://dl.bukkit.org/downloads/craftbukkit/list/rb/').read() | |
page = page.split('\n') | |
h = page[402] | |
o = h.split(' ') | |
out = o[1] |
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
import urllib | |
page = urllib.urlopen('http://dl.bukkit.org/downloads/craftbukkit/list/rb/').read() | |
page = page.split('\n') | |
h = page[402] | |
o = h.split(' ') | |
out = o[1] |
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
import random | |
x = 0 | |
v = "0" | |
int1 = 1 | |
int2 = inp | |
random.seed() | |
while x != 1000: | |
v = v + "," + str(random.randint(int1,int2)) | |
x += 1 | |
vlist = v.split(",") |
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
import urllib,re,sys; | |
from BeautifulSoup import BeautifulSoup | |
def error(): | |
print "Song lookup failed." | |
print "It is possible that:" | |
print "Song name not in correct format: artistname/songname" | |
print "Example: amateurtransplants/londonunderground" | |
sys.exit() | |
inp = str(sys.argv[1]) | |
a = urllib.urlopen("http://www.azlyrics.com/lyrics/" + inp + ".html").read() |
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
<?php | |
/* | |
* PHP/MySQL todo script | |
* by blha303 ([email protected]) | |
* Change $host, $user and $password to the mysql login info you want to use. | |
* Released under the WTF license. | |
*/ | |
echo "<html> | |
<head><title>Things to do</title></head> | |
<body> |
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
package com.thecherno.rain; | |
import java.awt.Canvas; | |
import java.awt.Color; | |
import java.awt.Dimension; | |
import java.awt.Graphics; | |
import java.awt.image.BufferStrategy; | |
import java.awt.image.BufferedImage; | |
import java.awt.image.DataBufferInt; |
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
# Group inheritance | |
# | |
# Any inherited groups prefixed with a g: are global groups | |
# and are inherited from the GlobalGroups.yml. | |
# | |
# Groups without the g: prefix are groups local to this world | |
# and are defined in the this groups.yml file. | |
# | |
# Local group inheritances define your promotion tree when using 'manpromote/mandemote' |
OlderNewer