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
#include <pokemon.h> | |
int main(int argc, char **argv) | |
{ | |
FILE *f; | |
PkmnState s; | |
int i; | |
// Replicate Gen 1 | |
s->IgnoreAbilities(true); | |
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
#ifndef MODE_H | |
#define MODE_H | |
static struct cmode_ mode_list[] = { | |
{ 'i', CMODE_INVITE }, | |
{ 'm', CMODE_MOD }, | |
{ 'n', CMODE_NOEXT }, | |
{ 'p', CMODE_PRIV }, | |
{ 's', CMODE_SEC }, | |
{ 't', CMODE_TOPIC }, | |
{ 'r', CMODE_REGONLY}, |
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
/* | |
* Copyright (c) 2014 Alyx Wolcott <alyx -at- malkier.net> | |
* Rights to this code are as documented in doc/LICENSE. | |
* | |
* To use this module, add a lastfm_api value to the gameserv{} | |
* config block containing your Last.FM API key. | |
*/ | |
#include "../api/http.h" | |
#include "../gameserv/gameserv_common.h" |
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
/* Sigyn - A reasonably sane IRC bot. | |
* Copyright (c) 2011-2012 Alyx Wolcott <[email protected]> | |
* Released under the BSD license. | |
*/ | |
#include "sigyn.h" | |
mowgli_heap_t *channel_heap; | |
mowgli_heap_t *chanuser_heap; |
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
#include "sigyn.h" | |
/*#include "db.h"*/ | |
#include "kclangc.h" | |
DECLARE_MODULE("contrib/factoid", MODULE_UNLOAD_CAPABILITY_OK, _modinit, _moddeinit, | |
"0.1", "Alyx <[email protected]>"); | |
static void cmd_fact(const irc_event_t *event, int parc, char **parv); | |
static KCDB *factdb; |
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
-module(collatz). | |
-export([find_len/2]). | |
find_len(Start, Len) when Start =:= 1 orelse Start =:= 0 -> | |
Len; | |
find_len(Start, Len) when Start rem 2 =:= 1 -> | |
find_len((Start * 3) + 1, Len + 1); | |
find_len(Start, Len) when Start rem 2 =:= 0 -> |
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
From 62cc22747c26d8d94d1dcc5e8528dc39cc8da078 Mon Sep 17 00:00:00 2001 | |
From: Alyx Wolcott <[email protected]> | |
Date: Sat, 16 Feb 2013 22:35:41 +0000 | |
Subject: [PATCH] Changed the TYPE_ defines to an enum | |
--- | |
ext/csyndi/logger.c | 2 +- | |
include/syndi/logger.h | 13 ++++++++----- | |
2 files changed, 9 insertions(+), 6 deletions(-) |
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
#!/usr/bin/env python2.7 | |
import web, os | |
from markdown import markdown | |
##### | |
# CONFIG: | |
##### | |
TITLE = "Stupid CMS Website" | |
BASE = "./docs" |
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
#!/usr/bin/env python | |
import hyperclient, hashlib, random | |
Client = hyperclient.Client('192.157.253.11', 1982) | |
def add_words(String): | |
Words = [] | |
for Word in String.split(): | |
Words.append(Word) | |
if len(Words) == 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
-module(amanda). | |
-author("Alyx Wolcott <[email protected]>"). | |
-include("amqp_client.hrl"). | |
connect(Host, Port) -> | |
{ok, Queue} = start_amqp(), | |
{ok, Sock} = gen_tcp:connect(Host, Port, [{packet, line}]), | |
start_amqp() -> |