Skip to content

Instantly share code, notes, and snippets.

View zero-t4's full-sized avatar
🐯

Nadir zero-t4

🐯
  • GPB
  • Moscow
View GitHub Profile
var str = 'class ಠ_ಠ extends Array {constructor(j = "a", ...c) {const q = (({u: e}) => {return { [`s${c}`]: Symbol(j) };})({});super(j, q, ...c);}}' +
'new Promise((f) => {const a = function* (){return "\u{20BB7}".match(/./u)[0].length === 2 || true;};for (let vre of a()) {' +
'const [uw, as, he, re] = [new Set(), new WeakSet(), new Map(), new WeakMap()];break;}f(new Proxy({}, {get: (han, h) => h in han ? han[h] ' +
': "42".repeat(0o10)}));}).then(bi => new ಠ_ಠ(bi.rd));';
try {
eval(str);
} catch(e) {
alert('Your browser does not support ES6!')
}
@HelloWorld017
HelloWorld017 / ascii-draw.js
Created December 2, 2016 15:25
A simple ascii text drawer
const draw = (width, height, text, font, fill) => {
const canvas = document.createElement('canvas');
canvas.width = width;
canvas.height = height;
const ctx = canvas.getContext('2d');
ctx.fillStyle = "#000";
ctx.fillRect(0, 0, canvas.width, canvas.height);
ctx.fillStyle = "#fff";
@ThinkTankShark
ThinkTankShark / Sublime3Shortcuts.textile
Created June 20, 2016 14:49
Sublime Text 3 – Useful Shortcuts (OS X - Mac)

Sublime Text 3 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
<div id="lamp">
<input type="radio" name="switch" value="on" />
<input type="radio" name="switch" value="off" checked="checked"/>
<label for="switch" class="entypo-lamp"></label>
<div class="lamp">
<div class="gonna-give-light"></div>
</div>
</div>
anonymous
anonymous / index.html
Created June 16, 2014 16:14
A Pen by Anonasaurus Rex.
<div id="lamp">
<input type="radio" name="switch" value="on" />
<input type="radio" name="switch" value="off" checked="checked"/>
<label for="switch" class="entypo-lamp"></label>
<div class="lamp">
<div class="gonna-give-light"></div>
</div>
</div>