This file contains 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
// | |
// _oo0oo_ | |
// o8888888o | |
// 88" . "88 | |
// (| -_- |) | |
// 0\ = /0 | |
// ___/`---'\___ | |
// .' \\| |// '. | |
// / \\||| : |||// \ | |
// / _||||| -:- |||||- \ |
This file contains 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains 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
KP = [ | |
[0,0,4,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,0,0,0,0,0,0,4,0,0,0], | |
[0,0,4,0,0,4,4,4,4,4,4,4,0,0,4,4,4,4,4,4,0,0,4,0,4,0,4,0], | |
[4,4,4,4,4,0,0,0,0,4,0,0,0,0,4,4,0,0,4,4,0,0,0,4,0,4,0,0], | |
[0,4,4,4,0,0,4,4,0,4,0,0,0,0,4,4,0,0,4,4,0,0,4,4,0,4,4,0], | |
[4,0,4,0,4,0,4,4,0,4,0,0,0,0,4,4,4,4,0,0,0,0,0,0,4,0,0,0], | |
[0,0,4,0,0,0,0,0,4,4,0,0,0,0,4,4,0,0,0,0,0,0,0,0,4,0,0,0], | |
[0,0,4,0,0,0,0,0,0,4,0,0,0,0,4,4,0,0,0,0,0,0,0,0,4,0,0,0]] |
This file contains 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
BOX_NAME=vagrant-build | |
BASE_DIR="`pwd`/machines" | |
BOX_DIR="${BASE_DIR}/${BOX_NAME}" | |
mkdir -p ${BASE_DIR} | |
VBoxManage createvm --name "${BOX_NAME}" --ostype RedHat_64 --basefolder ${BASE_DIR} | |
VBoxManage registervm "${BOX_DIR}/${BOX_NAME}.vbox" | |
mkdir -p tmp |
This file contains 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
#!/bin/sh | |
# Just copy and paste the lines below (all at once, it won't work line by line!) | |
# MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY! | |
function abort { | |
echo "$1" | |
exit 1 | |
} | |
set -e |
This file contains 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
all: srv.c | |
g++ srv.c /home/eerihug/dev/BakkaLinux/root/usr/local/lib/libzmq.a -lpthread -lrt -o srv | |
g++ cli.c /home/eerihug/dev/BakkaLinux/root/usr/local/lib/libzmq.a -lpthread -lrt -o cli | |
clean: | |
rm cli | |
rm srv |
This file contains 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
" Vunble Bundles Settings {{{"{{{ | |
set nocompatible " be iMproved | |
filetype off " required! | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" let Vundle manage Vundle required! | |
Bundle 'gmarik/vundle' | |
" }}}"}}} |
This file contains 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 <string.h> | |
#include "zmq_init.hpp" | |
#include "transient_session.hpp" | |
#include "named_session.hpp" | |
#include "socket_base.hpp" | |
#include "zmq_engine.hpp" | |
#include "io_thread.hpp" | |
#include "session.hpp" | |
#include "uuid.hpp" |
This file contains 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
<html> | |
<body> | |
<a href="t:dispatch?controller=Main&command=shutdown"><h1>TEST</h1></a> | |
<body> | |
</html> |