Skip to content

Instantly share code, notes, and snippets.

View TIOsearch.js
// ==UserScript==
// @name TIO fancy search & enter
// @namespace http://tampermonkey.net/
// @version 0.1
// @description sort languages fancily
// @author dzaima
// @match https://tio.run/
// @grant none
// ==/UserScript==
View Build-Instructions.md

If you have questions about the contents of this document, ask them in the forum.

The quick version

Let's try the easy route first:

  • Install Java 8
    • On Windows and Linux, install the latest JRE 8 from Oracle.
    • On macOS, download and install JDK 8.
    • Previous versions of Java are not supported. Later versions of Java (9, 10, whatever) don't work either.
View RoadPaver.js
const DEBUG = false;
//raw directions
const UL = 0; const U = 1; const UR = 2;
const L = 3; const C = 4; const R = 5;
const DL = 6; const D = 7; const DR = 8;
//directions from the reference point
const ul = 16; const u = 17; const ur = 18;
const l = 19; const c = 20; const r = 21;
const dl = 22; const d = 23; const dr = 24;
View gist:6f8b766b4ab6d675e28653156a184426
default shift #
alt ctrl #
# #
MAP
## ## ## ## ## ## ## ## ## ## ## ## ## .. .. ..
## ## ## ## ## ## ## ## ## ## ## ## ## .. .. ..
□’ ¹№ ²# ³# ⁴# ⁵# ⁶# ⁷# ⁸∙ ⁹⁽ ⁰⁾ ┌╔ ≠┼ ┘┐ ## .. ## .. .. ÷# ## κ#
## ## ## ## ## ## ## ## ## ## #∆ ## #╗ ╝# ## .. ## .. .. ## ## ##
View main.js
const STRING = 0,
FUNCTION = 1;
function tokenize (prog) {
var tokens = [];
while (prog != "") {
let token;
prog = prog.replace(/^("(\\.|[^"])*"|[^"][^ ]*)( |$)/, (all, f)=>(token = f,""));
let type = FUNCTION;
if (token[0] == "\"") {
type = STRING;
View mamct.js
67 //base recipes
+5*4 //5 recipes (armor+material block) have 5 versions so 5*4 because 1 of them have been counted
+5*4 //tools, same as above
+3 //pressure plate
= 110
View 5thCycleRLEs.txt
1st RLE
10,1,1,1,1,1,1,3,1,1,2,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,3,1,1,3,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/\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\ /\/\
\/\///\\//\\\/\/ //\\//\\ \/\///\\//\\\/\/ //\\//\\ \/\///\\//\\\/\/ //\\//\\ \/\///\\//\\\/\/ //\\//\\ \/\///\\//\\\/\/ //\\//\\ \/\///\\//\\\/\/ //\\//\\ \/\///\\//\\\/\/ //\\//\\ \/\///\\//\\\/\/
/\/\\\//\\///\/\///\\\///\\\/\/\\\//\\///\/\ ///\\\///\\\ /\/\\\//\\///\/\///\\\///\\\/\/\\\//\\///\/\ ///\\\///\\\ /\/\\\//\\///\/\///\\\///\\\/\/\\\//\\///\/\ ///\\\///\\\ /\/\\\//\\///\/\///\\\///\\\/\/\\\//\\///\/\
\/\/ \/\/ \/\/\\\///\\\///\/\/ \/\/ \/\/////\\\\////\\\\\/\/ \/\/ \/\/\\\///\\\///\/\/ \/\/ \/\/ ////\\\\////\\\\ \/\/ \/\/ \/\/\\\///\\\///\/\/ \/\/ \/\/////\\\\////\\\\\/\/ \/\/ \/\/\\\///\\\///\/\/ \/\/ \/\/
/\/\ /\/\ /\/\ \\//\\// /\/\ /\/\ /\/\\\\\////\\\\/////\/\ /\/\ /\/\ \\//
View chartable2.md
_0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _a _b _c _d _e _f
0_ ¹ ² ³ \t ± « »
1_ æ Æ ø § ° ¦ ¡ ¤ ½
2_   ! " # $ % & ' ( ) * + , - . /
3_ 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
4_ @ A B C D E F G H I J K L M N O
5_ P Q R S T U V W X Y Z [ \ ] ^ _
6_ ` a b c d e f g h i j k l m n o
7_ p q r s t `