Skip to content

Instantly share code, notes, and snippets.

@aerok
aerok / main.c
Last active February 17, 2016 10:34
findroute
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#define VERSION "0.1"
#define PATH "/proc/net/route"
static int find_route (struct in_addr ia)
@aerok
aerok / forgive.brainfuck
Created January 30, 2015 07:30
brainfuck
+++++++ [ > ++++++++++ < - ] > -- . > ++++++++++ [ > ++++++++++ < - ] > --- . > +++++++++++ [ > ++++++++++ < - ] > ++++ . ------ . --- . +++++ . > ++++++++++ [ > ++++++++++ < - ] > +++ . > ++++ [ > +++++++++++ < - ] > . > +++++ [ > ++++++ < - ] > ++ . > ++++++++++ [ > ++++++++++ < - ] > ++ . > +++++++++++ [ > ++++++++++ < - ] > + . +++ . < < + . ++ . > > ++++ . << ---- . >>> +++++ [ > ++++++ < - ] > ++ . > +++++++++++ [ > ++++++++++ < - ] > - . > ++++++++++ [ > ++++++++++ < - ] > + . > +++++++++ [ > +++++++ < - ] > .
@aerok
aerok / cool.js
Last active August 29, 2015 14:09
cool.js
// To genertate random letter
(Math.floor(Math.random()*900000000+100000000)).toString(16).replace(/\d+/g,'');