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
#Botdom | |
21:50:19 <Kyogo> ...and then you realized that, in reality, this is all a dream. deviantART doesn't exist, never has, and never will. And fella was simply the teddie bear you sleep with every night. | |
21:50:57 <Pickley> <,< | |
21:51:08 <Pickley> Is my 4000$ imaginary | |
21:51:14 <Pickley> It must be. | |
21:51:18 <Pickley> this is all a dream... | |
21:51:26 <HidekiRyuuzaki> HOLD IT | |
21:51:37 <HidekiRyuuzaki> If Da dosen't exist...explain the existence of this room! | |
21:51:43 <HidekiRyuuzaki> dA* |
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
#################################################### | |
# Ouroboros, the simple IRC bot! # | |
# # | |
# Author: Justin Eittreim # | |
# Contact: eittreim.justin@live.com # | |
# Web: http://DivinityArcane.deviantart.com/ # | |
# # | |
# Python version: 3.2 (May work in lower versions.)# | |
#################################################### |
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
# Perl dAmnPacket parser - Part of dAmnPearl | |
# Author: Justin Eittreim <eittreim.justin@live.com> | |
# Date: Wed Oct 31 2012 23:59 | |
package dAmnPacket; | |
sub parse { | |
my $packet = $_[0]; | |
my %self = (); | |
$self{command} = ''; |
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
sub tablumps { | |
my $string = $_[0]; | |
# Dev links | |
$string =~ s/&dev\t([^\t])\t([^\t]+)\t/:dev$2:/g; | |
# Icons | |
$string =~ s/&avatar\t([^\t]+)\t([^\t]+)\t/:icon$1:/g; | |
# Abbr/Acronym |
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
; Simple NASM bootloader, or OS, if you please. | |
; Boots up and displays a black screen, and prints a message. | |
[ORG 0x7C00] ; Specify where to load the code. | |
msg: db 'Hello!' ; Define the msg. | |
len: equ $-msg ; Define the msg length. | |
; Create our "PRINT" function, which takes two arguments: | |
; 1: The message |
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
#include <stdio.h> | |
size_t strlen(const char *__s); | |
char* strstr(const char *__haystack, const char *__needle); | |
char* strcpy(char* __dest, const char* __src); | |
char* strncpy(char* __dest, const char* __src, size_t __n); | |
void* malloc(size_t __size); | |
void* memcpy(void* __dest, const void* __src, size_t __n); | |
// This is supposed to be simple, no negative positions, etc. |
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
_hex = {'0':0, '1':1, '2':2, '3':3, '4':4, '5':5, | |
'6':6, '7':7, '8':8, '9':9, 'A':10, 'B':11, | |
'C':12, 'D':13, 'E':14, 'F':15} | |
def bit(n1, n2): | |
if str(n1).upper() not in _hex: | |
raise ValueError('Invalid n1') | |
elif str(n2).upper() not in _hex: | |
raise ValueError('Invalid n2') |
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
<?php | |
class httpd | |
{ | |
private $sock = null; | |
private function http_response($client, $code, $err) | |
{ | |
socket_write($client, "HTTP/1.1 $code $err\r\nContent-type: text/plain\r\n\r\n"); | |
} |
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
''' Simple Python HTTPD (Webpage Server) | |
- Justin Eittreim <eittreim.justin@live.com> | |
- http://DivinityArcane.deviantart.com/ | |
- :) ''' | |
import sys | |
pyver = float(sys.version[:3]) | |
from socket import socket, AF_INET, SOCK_STREAM |
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
// A very simple dAmn bot in Go | |
// - Justin Eittreim <eittreim.justin@live.com> | |
// - http://DivinityArcane.deviantart.com/ | |
package main | |
import ( | |
"fmt" | |
"net" | |
"runtime" |
OlderNewer