Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Fuck Aggro Gator
// @namespace http://somethingafal.com
// @version 0.1
// @description FUCK AGGRO GATOR
// @author Afal
// @match http://forums.somethingawful.com/*
// @grant none
// ==/UserScript==
/* jshint -W097 */

Keybase proof

I hereby claim:

  • I am dafrancis on github.
  • I am afal (https://keybase.io/afal) on keybase.
  • I have a public key whose fingerprint is E5A0 1223 135C D411 02E6 9857 BE32 EB05 B8F7 244E

To claim this, I am signing this object:

@dafrancis
dafrancis / index.html
Created October 20, 2014 21:08
squares
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Squares</title>
<style>
html, body { margin:0; padding:0; }
#mycanvas { border:1px solid #000000; }
#mainbody { width:800px;margin:14px auto; }
</style>
function beAwesome() {
[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((+(!+[]+!+[]+!+[]+[!+[]+!+[]]))[(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+
@dafrancis
dafrancis / README.md
Last active December 11, 2015 12:09
Why would anyone want to use templating languages when you can use SPEEDY document.createElement()? #WOW #COOL #YOLO

DONUT (DO Not Use This)

Tired of those horribly slow templating languages?

Want a super fast templating language that doesn't involve strings?

Do you like your libraries small and simple?

Then DO Not Use This

#include <stdio.h>
#include <stdlib.h>
int square(int x){
return x * x;
}
int *map(int array[], int size, int (*f)(int)){
int i;
int *out = calloc(size, sizeof(int));
use strict;
use vars qw($VERSION %IRSSI);
use URI::Escape;
use Irssi qw(command_bind signal_add);
sub same {
my ($server, $msg, $nick, $address, $channel) = @_;
if($msg =~ /^same$/) {
$server->command("msg $channel same") if ($channel);
<snippet>
<content><![CDATA[
"""
:MI 8M:
DMMM. MMMM.
.MMM. .MMM
MM, IMM
8MM MMM
@dafrancis
dafrancis / blog.css
Created April 14, 2012 14:05
Real Time Blog with Meteor
body {
background: #CCC;
}
h1 {
margin: 0;
}
#main {
min-width: 340px;
var Matrix = function (rows, cols, bombs, rupoors) {
var i, j;
this.grid = [];
this.rows = rows;
this.cols = cols;
this.bombs = bombs;
this.rupoors = rupoors;
this.leftToDig = (rows * cols) - (bombs + rupoors);
// fill Matrix with empty holes...