SynQ.js Quick Start
arguments: String: Key Name, String: Data[, String: Password]
var destruct, construct, roll, unroll, compress, decompress; | |
/* DO NOT USE for secure projects, there are only 32 possible outputs */ | |
/* The input (de/con)structors */ | |
/** Destructs (attempts to flatten) the input | |
* @parameter input: the input to flatten | |
*/ | |
destruct = (input) => { | |
if(input === undefined || input === null) |
function parseURL(url) { | |
if(url === undefined || url === null) | |
return {}; | |
var url = url.toString(), | |
data = url.match(/^((([^:\/?#]+):)?(?:\/{2})?)(?:([^:]+):([^@]+)@)?(([^:\/?#]*)?(?:\:(\d+))?)?([^?#]*)(\?[^#]*)?(#.*)?$/), | |
i = 0, | |
e = ""; | |
data = data || e; |
arguments: String: Key Name, String: Data[, String: Password]
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<script type="text/javascript" src="https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"></script> | |
</head> | |
<body> |
package paramour; | |
import java.io.*; | |
import java.util.Scanner; | |
import javax.script.*; | |
public class Paramour { | |
private static Scanner input = new Scanner(System.in); | |
private static String JAVA_STRING = ""; |
<div class="pretty-input"> | |
<textarea translate="no" class="notranslate"> | |
### Paramour 28.0.0 | |
author: Ephellon Dantzler | |
date: Fri Aug 5, 2016 | |
time: 21:00 CST -06:00 | |
license: "MIT" | |
### | |
# Version Emulation |
JS TS (TuxedoScript 16.8.7)
Inspiration: ECMA Script6, CoffeeScript, Java, and Python
Not for use in IE
A Pen by Mink CBOS - Ephellon Dantzler on CodePen.
Sync your data across multiple tabs and iframes! (I modified the shirt idea from some other source, but I can't find it, I'm pretty sure it was from "HTML5 Rocks.")
There's also built-in help, see SynQ.help('*')
.
A Pen by Mink CBOS - Ephellon Dantzler on CodePen.
'use strict'; | |
/*****************NATIVE forEACH*********************/ | |
Array.prototype.myEach = function(callback) { | |
for (var i = 0; i < this.length; i++) | |
callback(this[i], i, this); | |
}; | |
//tests |