Skip to content

Instantly share code, notes, and snippets.

View acb122's full-sized avatar

Xander Barnes acb122

View GitHub Profile
@bag-man
bag-man / C - Language Tests
Last active April 19, 2016 20:14
Language tests
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <pthread.h>
void end() {
printf("Game over.\n");
exit(0);
}
@ftdysa
ftdysa / make-tags.js
Created September 14, 2014 03:03
Get all tags for ghost
var config = require('./../../../../config');
var sqlite3 = require('sqlite3');
var dbfile = config.development.database.connection.filename;
var db = new sqlite3.Database(dbfile);
db.serialize(function() {
db.all("select * from tags", function(err, rows) {
console.log(JSON.stringify(rows));
})