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
19:07 < xXaimee[emovamp]Xx> solarized is a theme, taglist is for ctags shit, perldoc is for perl documentation (really don't need that as I don't perl anymore), gist gists (That's broke, | |
should rm that), ack is for grepping, but uses `ack (which is a better grep)` instead, snipmate gives snippes, which are cool chunks of code that can basically be | |
autopasted in, jellybeans is a theme, mac-classic is a theme, html5 is for highlighting html5 elements, autocorrect is for... autocorrecting, perl is more perl | |
shit, nerdtree explores fs, nerdcommenter is the only mass commenting solution that doesn't suck, syntastic checks syntax, gundo is a magical undo tree shower, | |
textile is for textile (a thing kinda like markdown) highlighting, abolish is for dealing wiht text replacement, cucumber is for stupid cuke highlighting, fugitive | |
is for vim integration, haml = haml highlighting, |
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 <stdio.h> | |
#include "str.h" | |
void test_str_raw() | |
{ | |
char string[512]; | |
corcstr_copy_raw(string, "moo", 512); | |
if(strcmp(string, "moo") != 0) | |
printf("test_str_raw() failed!\n"); |
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
START_TEST (test_str_append) | |
{ | |
CorcString *cs; | |
cs = corcstr_create(); | |
corcstr_append(cs, "moo", 3); | |
fail_if(strcmp(cs->string, "moo") != 0, | |
"CorcString appending failed!"); | |
corcstr_append_char(cs, ' '); |
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
CorcString **corcstr_split(CorcString *in, char sep) | |
{ | |
int i = 0; | |
char *instr, *ptr, *placeholder; | |
CorcString **out, *cs; | |
instr = strdup(in->string); | |
placeholder = instr; | |
while (ptr = strchr(placeholder, sep)) |
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() -> |
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
#!/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
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
-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
#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; |