Thes instructions have been tested on OSX, but should work just as fine on Linux.
Required:
- CMake
- clang
import java.nio.file.Path; | |
import java.util.List; | |
import java.util.Random; | |
import java.util.ArrayList; | |
public class Markov { | |
/** Regular expression for breaking up words. */ | |
private static final String WORD_REGEX = "(?<=\\w\\W)"; |
/** | |
rocket parser and binary/integer value converter | |
(c) 2017 orIgo / iNSANE^C!S | |
# Output File Format | |
The format can be made more compact, if required; if < 128 max keys with max 2 interpolation types, the interpolation type can be incorporated into the high bit of the row field. | |
Similarily, if less resolution is required for the value field, etc .. |
I hereby claim:
To claim this, I am signing this object:
// A simple SQRT table generator | |
// | |
// Author: orIgo / iNSANE^C!S 2017 | |
// License: Buy-Me-A-Beer License 1.0 | |
// | |
// Produces a "stretched" sqrt table | |
// that fits in the range 0-RANGE | |
// and outputs an asm include file. | |
// | |
// Binary file generation is left |
============= start.S ====================== | |
.global start | |
.text | |
start: | |
lea.l _DemoBase(PC),a0 | |
lea.l (PC,_DemoBase),a1 | |
lea.l (_DemoBase,PC),a2 | |
lea.l _DemoBase,a0 | |
lea.l _DemoBaseEnd(PC),a3 |
/** | |
* Grunt task to replace file names for require-statements with shorter names | |
* reducing final file size slighty. | |
* | |
* (C) 2016 mattias@allbinary, All Binary AB | |
* | |
* Example configuration: | |
* shortify_js: { | |
* build: { | |
* options: { |
#!/bin/sh | |
if [ -z $COMPOSE_VERSION ]; then | |
#1.8.0-rc1 exists | |
COMPOSE_VERSION=1.7.0 | |
fi | |
if [ `whoami` = "root" ]; then | |
echo "Do not run as root!" | |
exit 2 |
/* bling.js */ | |
window.$ = document.querySelectorAll.bind(document); | |
Node.prototype.on = window.on = function (name, fn) { | |
this.addEventListener(name, fn); | |
} | |
NodeList.prototype.__proto__ = Array.prototype; |