I hereby claim:
- I am Ignition on github.
- I am ignition (https://keybase.io/ignition) on keybase.
- I have a public key whose fingerprint is 3369 FEC8 F029 70BC 3F4C CF92 76F8 B186 01EA 5F21
To claim this, I am signing this object:
CREATE (:Country {name: "Croatia"}); | |
CREATE (:Country {name: "Belgium"}); | |
CREATE (:Country {name: "Czech Republic"}); | |
CREATE (:Country {name: "Sweden"}); | |
CREATE (:Country {name: "Greece"}); | |
CREATE (:Country {name: "Malta"}); | |
CREATE (:Country {name: "Albania"}); | |
CREATE (:Country {name: "Latvia"}); | |
CREATE (:Country {name: "United Kingdom"}); | |
CREATE (:Country {name: "Italy"}); |
I hereby claim:
To claim this, I am signing this object:
Rules: fill a 10x10 grid using the following rules | |
1) each sqaure contains one number | |
2) each number from 1 to 100 is written once | |
3) 1 can start anywhere | |
4) position of the n+1th number either | |
- 3 squares away along row/column from the nth square | |
- 2 squares away along a diagonal from the nth square | |
eg. | |
_ _ _ ? _ _ _ |
set nocompatible " be iMproved, required | |
filetype off " required | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'gmarik/Vundle.vim' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'tpope/vim-surround' | |
Plugin 'tpope/vim-dispatch' | |
Plugin 'tpope/vim-obsession' | |
Plugin 'tpope/vim-sleuth' |
#include <iostream> | |
#include <functional> | |
#include <cstdio> | |
#include <ctime> | |
#include "Memoize.h" | |
using namespace std; | |
int main() |
For Ubuntu/Debian, make sure your machine has its mac address registered so I can be put on the correct subnet. Ask CS support. | |
apt-get install ssh-client krb5-user libpam-krb5 |
//https://gitorious.org/boost-dev/boost-dev, coroutine branch | |
//g++ -I path/to/boost-dev -std=c++11 code.cpp -static -L path/to/boost-dev/stage/lib/ -lboost_context | |
#include <boost/coroutine/all.hpp> | |
#include <boost/bind.hpp> | |
#include <boost/range.hpp> | |
#include <iostream> | |
#include <vector> | |
using namespace std; |
#include <iostream> | |
#include <future> | |
#include <thread> | |
int main() | |
{ | |
// future from a packaged_task | |
std::packaged_task<int()> task([](){ return 7; }); // wrap the function | |
std::future<int> f1 = task.get_future(); // get a future | |
std::thread(std::move(task)).detach(); // launch on a thread |
#include <stdio.h> | |
#define f(v,k) (((v << 2) | (~v >> 6)) ^ k) | |
int main(int argc, char *argv[]){ | |
unsigned char c = 0x01, v, p[17] = {0x00}, k = 0x00, * t, | |
z[] = {0x87, 0xA3, 0x85, 0x96, 0x81, 0x90, 0x8C, 0xC4, 0xA4, | |
0xCA, 0xC5, 0xA9, 0x88, 0x8B, 0x9D, 0x80, 0xEE}; | |
do{ | |
t = z; | |
while (!((t - z) & 0x10)){ | |
v = f(*t, k) ^ *((t++) + 1); |
#include <omp.h> | |
#include <cstdlib> | |
#include <iostream> | |
#include <list> | |
#include <time.h> | |
bool ompon = false; | |
std::list<int> intList; | |
const int N = 1000; |