Just download the download-env.bat and run it, it's magic.
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 <cstdlib> | |
#include <stdio.h> | |
#include "enet/enet.h" | |
#include "cube.h" | |
//justice | |
//#define PROTOCOL_VERSION 258 // bump when protocol changes | |
//collect |
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
namespace test | |
{ | |
struct CustomProperty | |
{ | |
const char *key; | |
const char *value; | |
CustomProperty(const char *key, const char *value) : key(key), value(value) {} | |
CustomProperty(const char *key, bool value) : key(key), value(newstring(value ? "true" : "false")) {} | |
CustomProperty(const char *key, long long value_) : key(key) { |
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
local process = require"luvit.process" | |
local table = require "table" | |
local time = require "os".time | |
local fs = require "luvit.fs" | |
local process = require "luvit.process" | |
local math = require "math" | |
if not process.argv[1] then | |
process.stderr:write(("Usage: %s <filename>\nPrints a random line from a file\n"):format(process.argv[0])) | |
return |
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
svn log -v | grep -E "^r([0-9]+)" | awk '{print $3}' | sort | uniq -c | sort -bnr |
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
/lua_eval [ client = require("net").createConnection(23, 'towel.blinkenlights.nl', function (err) | |
if err then error(err) end; print("Connected..."); client:pipe(process.stdout) | |
end) ] | |
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
require "copas" | |
require "Json" | |
require "class" | |
--!TODO: SSL! FIXME | |
--require("ssl") | |
local ip = "127.0.0.1" | |
local port = 2167 | |
local DEBUG = true |
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
$step = 0.001; | |
bcscale (30); | |
function f($x) | |
{ | |
return @bcsqrt( | |
bcsub( | |
'1', | |
bcpow( | |
$x, |