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
// install: | |
// npm install websocket | |
// run: | |
// node test.js | |
// evaluating libs with vars in current context instead of 'require' | |
var util = require('util') | |
var vm = require("vm"); | |
var fs = require("fs"); | |
var load = function(path, context) { |
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
''' | |
gcloud sql connect leaderboard --user=root | |
USE leaderboard; | |
CREATE TABLE leaderboard ( | |
player varchar(255), | |
score int(4) | |
); |