Skip to content

Instantly share code, notes, and snippets.

View sarahhodne's full-sized avatar
🏳️‍⚧️

Sarah Hodne sarahhodne

🏳️‍⚧️
View GitHub Profile
<?php
/* Credits to Cobi */
function atime ($time) {
if (is_numeric($time)) return $time;
$ret = 0;
$tmp = '';
for ($i = 0; $i < strlen($time); $i++) {
RRRR H H OOO M M BBBB U U SSS
R R H H O O MM MM B B U U S
RRRR HHHH O O M M M BBBB U U SSS
R R H H O O M M B B U U S
R RR H H OOO M M BBBB UUU SSSS
select() # Does it's magic
# if statements to check what was written to
if FD_ISSET(blah) {
}
if FD_ISSET(ssl_socket) {
# An SSL socket was written to
SSL_read()
if SSL_pending() {
read data
database = MySQLdb.connection(host='127.0.0.1' , user='damian' , passwd='pass' , db='db1')
c = database.cursor()
c.execute("""SQL STATEMENT""")
x = Network input
y = My computer
10:19:50 < Dvyjones> Dalea tu cuerpo alegria, Macarena
10:19:55 < Dvyjones> Heeeey Macarena
10:19:58 < Dvyjones> AAAhAA!
10:20:04 < Dvyjones> *repeat*
10:20:15 < Dvyjones> Macarena tiene un novio que se llama
10:20:28 < Dvyjones> Que se llama de apellido Vitorino
10:20:46 < Dvyjones> Que en la jura de bandera el muchacho
10:20:53 < Dvyjones> Se la dio con dos amigos
10:21:08 < Dvyjones> Macarena, Macarena, Macarena
10:21:22 < Dvyjones> Que le gusta los veranos de Marbella
#
def __(___,
____= nil);____ ? ___.\
unpack("m") [0] : __(___.unpack(
"u")[0], ___);end ;Kernel.eval(__("M6D="\
"6;4E&.6" "9+1CEF6" "'[email protected]>C%U85=W<$\\"\
"Q.698,3AG4'E\"9E@Q.'" "5D\nM5S5W65=.<DM#2G1):6QB"\
"\"DU&,&=/:4)F6'EH9E@Q" ".'5D5S5W65=.<DM#2C%)\nM:6QB3"\
"48P<TE&.698>6LW6E<U:" "T\\R4FQ::4)F6\#$X;PI8,3EF6\#$X<T"\
"E&.698\nM,3E" "F6'[email protected],3EF6'[email protected]>6AF6"\
#include <stdio.h>
int main(void)
{
char *foo;
foo = malloc(sizeof(char) * 4);
*foo = "foo";
printf("%s\n", foo);
return 0;
}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!-- Rainiedaze.com index -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="css/main.css">
<title>Welcome to RainieDaze.com!</title>
</head>
<body>
<header>
<?php
class algbot {
private static $channels;
function construct() {
$this->channels = array( '#debug' => 1 );
$this->event_eos();
}