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
package themike.core.script; | |
import groovy.lang.GroovyClassLoader; | |
import java.io.File; | |
import java.io.IOException; | |
import java.lang.reflect.InvocationTargetException; | |
import java.lang.reflect.Method; | |
import java.util.ArrayList; | |
import themike.core.MCore; |
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
void Connection::connectToServer() { | |
char chatBuffer[500]; | |
struct addrinfo *serverInfo; | |
assert(0 == getaddrinfo(this->domainAddress.c_str(), this->portNumber.c_str(), NULL, &serverInfo)); | |
int socketNum = socket(serverInfo->ai_family, serverInfo->ai_socktype, serverInfo->ai_protocol); | |
cout << *(*(*serverInfo).ai_addr).sa_data; |
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
/* Connect to the current connection. */ | |
void Connection::connectToServer() { | |
char chatBuffer[500]; | |
struct addrinfo *serverInfo; | |
assert(0 == getaddrinfo(this->domainAddress.c_str(), this->portNumber.c_str(), NULL, &serverInfo)); | |
int socketNum = socket(serverInfo->ai_family, serverInfo->ai_socktype, serverInfo->ai_protocol); | |
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
:chaos.esper.net NOTICE * :*** Looking up your hostname... | |
�%�y�:chaos.esper.net NOTICE * :*** Checking Ident | |
:chaos.esper.net NOTICE * :*** Found your hostname | |
:chaos.esper.net NOTICE * :*** No Ident response | |
aos.esper.net NOTICE * :*** Found your hostname |
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
michael@Michael-elementaryOS ~/D/S/o/Default> ./SeeDouble | |
Let's get started here. | |
irc.esper.net : 6667 | |
Woo! | |
NICK SeePlusPlus | |
USER SeePlusPlus * 8 :SeePlusPlus | |
:chaos.esper.net NOTICE * :*** Looking up your hostname... | |
�%�y�:chaos.esper.net NOTICE * :*** Checking Ident |
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
michael@Michael-elementaryOS ~/D/S/o/Default> ./SeeDouble | |
Let's get started here. | |
irc.esper.net : 6667 | |
Woo! | |
USER SeePlusPlus 8 * :SeePlusPlus | |
NICK SeePlusPlus | |
:aperture.esper.net NOTICE * :*** Looking up your hostname... | |
y�:aperture.esper.net NOTICE * :*** Checking Ident |
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
cmake_minimum_required (VERSION 2.6) | |
project (SeePlusPlus) | |
set(SRC_FOLDER ${PROJECT_SOURCE_DIR}/src) | |
set(INCLUDE_FOLDER ${PROJECT_SOURCE_DIR}/include) | |
set(V8_FOLDER ${PROJECT_SOURCE_DIR}/libs/v8/out/native/obj.target/tools/gyp) | |
set(SRC_FILES ${SRC_FOLDER}/main.cpp ${SRC_FOLDER}/IrcConnection.cpp) | |
set(INCLUDE_FILES ${INCLUDE_FOLDER}/IrcConnection.h) |
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
DEFINE image1 BG=(255,255,255) | |
BOX 1x1 3x3 (0,0,255) | |
DOT 2x2 (255,0,0) |
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
Good thing Joe was around. So, now we are home. I first thing I do is turn on the TV. ‘This is, TODAY. *intro music* As our top story, yesterday on the Canadian/American border near Niagara Falls, traffic was blocked for several hours. The cause? Gary Smith, fugitive who attacked a Canadian officer, and destroyed public property, was arrested at the scene. No more information is available at this time. Now for the weather.’ | |
So, that solves that issue. That’s all folks, that’s the story. The grand Canadian adventure, there and back again, whatever you want to call it. We did it. And you know what? It was actually a neat story in the end. I should write this stuff down, might make for a good read. I then grab some pen and paper, and start to write on it, ‘The Great Canadian Adventure or The vacation, the diehard conservative, and the insane mayor...’ |
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
Client says: | |
{ | |
'type': 'join', | |
'name': '#directcode' | |
} | |
Server responds. | |
{ |
OlderNewer