Skip to content

Instantly share code, notes, and snippets.

View dtsbourg's full-sized avatar

Dylan Bourgeois dtsbourg

View GitHub Profile
{"directed": false, "multigraph": false, "graph": {}, "nodes": [{"id": 44}, {"id": 122}, {"id": 123}, {"id": 125}, {"id": 126}, {"id": 136}], "links": [{"weight": 0.8658580780029297, "source": 44, "target": 122}, {"weight": 0.8629401922225952, "source": 122, "target": 125}, {"weight": 0.8753783702850342, "source": 122, "target": 126}, {"weight": 0.8138229846954346, "source": 123, "target": 136}]}
@dtsbourg
dtsbourg / gist:11150290
Created April 21, 2014 17:44
Clear empty cells
tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero];
Assembly output flag on gcc and g++
gcc -S helloworld.c
@dtsbourg
dtsbourg / gist:9853403
Created March 29, 2014 12:12
.gitignore
git rm -r --cached .
git add .
git commit -m ".gitignore is now working"
@dtsbourg
dtsbourg / minertest
Created January 23, 2014 16:35
Minertest
#include <stdio.h>
#include <string.h>
#include <openssl/sha.h>
#include <sys/stat.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
int main(int argn, char *argv[]) {
int i = 0;