Skip to content

Instantly share code, notes, and snippets.

readbuffer=""
s=socket.socket( )
s.connect((HOST, PORT))
s.send("NICK " + NICK + "\r\n")
s.send("USER %s %s bla :%s\r\n" % (IDENT, HOST, REALNAME))
while 1:
readbuffer=readbuffer+s.recv(1024)
temp=string.split(readbuffer, "\n")
readbuffer=temp.pop( )
* General Questions
* You still have a paying job, right?
* Most importantly, will there be cake?
* What specifically are your plans regarding KP? (ie, with regards to games, future games, etc)
** Would users and staff and developers be willing to move to ##transcendence again and stay on freenode, or should migrate irc servers completely. If we choose the later, I do host irc servers and we can get systems setup quite nicely for JUST transcendence. 
* Are you planning to license the Transcendence engine for total conversions ?I mean license the game engine, like the unreal engine that is licensed for other games.
* About Kronosaur Production, are you planning to hire someone to help you or are you going solo for now ?
* can you describe how Transcendence will fit in your new Kronosaur productions
* Any other official development you can reveal to us?
@Ttech
Ttech / gist:1379964
Created November 20, 2011 08:08
D710 C
/* Tune a given FM frequency on the Kenwood TM-D710 transceiver */
/*
* The first argument is the band, 0=Band A, 1=Band B
* The second argument is the frequency in Hz
* The third argument is the serial port
*/
/* A PG-5G cable is used to connect the main unit to the computer */
-auscompgeek- TIME AEST/AEDT (GMT +10/+11)
-Ishman- TIME Mon Jul 18 18:30:29 2011
-DSMK2- TIME Mon Jul 18 19:29:56 2011
-Curudan- TIME Mon Jul 18 19:30:26
-Gambit-- TIME Mon Jul 18 16:29:32 2011
-PKodon- TIME Mon Jul 18 18:30:22 2011
-JimmyJ_- TIME Mon Jul 18 16:30:16
-HaDOS- TIME Mon Jul 18 18:30:13
-d1gdug- TIME Tue Jul 19 00:34:40
-Silly- TIME Mon Jul 18 18:24:41
1. xchat (1561)
2. mirc (736)
3. qwebirc (578)
4. irssi (514)
5. colloquy (419)
6. purple
7. chatzilla
8. weechat
9. xchat-wdk
10. quassel
S:
BitchX-1.1-final+
ERC
eeeViL
AWESOME
AndChat
AndroIRC
Awesome
ChatZilla
public function db_checkKey($key)
{
$query = 'select count(id) from phergie_cache where key=:key';
$statement = $this->db->prepare($query);
$statement->execute(array(':key' => $key));
return (bool) $statement->fetch();
}
@Ttech
Ttech / cache.sql
Created April 15, 2011 18:08
Schema
CREATE TABLE phergie_cache (
id INT UNIQUE PRIMARY KEY,
name VARCHAR(120),
value BLOB,
expiration TIME
);
CREATE TABLE relation (
id INT UNIQUE PRIMARY KEY,
namespace_id INT,
name VARCHAR(100)
CREATE TABLE phergie_cache (
id INT UNIQUE PRIMARY KEY,
expiration TIME,
name VARCHAR(120),
value BLOB
);
andchat|2011-03-24
array|2011-03-25
chatzilla|2011-03-21
chatzilla|2011-03-22
chatzilla|2011-03-23
chatzilla|2011-03-24
colloquy|2011-03-21
colloquy|2011-03-22
colloquy|2011-03-23
colloquy|2011-03-24