Skip to content

Instantly share code, notes, and snippets.

View alufers's full-sized avatar
🥚
eggtastic

Albert Koczy alufers

🥚
eggtastic
View GitHub Profile
@alufers
alufers / write.w
Created January 12, 2021 02:01
[POLSL] Write subroutine for the international W machine
POB d
SDP Write
STP
d: RST 69
Write: LAD Number
POB Zero
DNS
@alufers
alufers / write.w
Created January 12, 2021 02:01
[POLSL] Write subroutine for the W machine
POB d
SDP Write
STP
d: RST 69
Write: LAD Number
POB Zero
DNS
@alufers
alufers / userscript.js
Created June 13, 2020 12:13
userscript to remove crappy wikipedia translations from the knowledge graph card on Google.
// ==UserScript==
// @name Remove Google Knowledge Graph translations
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Remove crappy wikipedia translations from the knowledge graph card.
// @author alufers
// @match https://www.google.com/*
// @grant none
// ==/UserScript==
@alufers
alufers / 9iri9tr
Created May 30, 2018 14:45
ifijfo`
\frac{d loss}{d a} = \frac {d(\frac {\sum (ax+b-y)^2)}{n})}{da} = \frac {1}{n} \frac {d(\sum(ax+b-y)^2)}{d a} = \frac {1}{n} \sum * 2 (ax + b - y) * \frac {d(ax + b - y)}{ad} = \frac {2} {n} \sum (ax+b-y)*x
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!')
}
@alufers
alufers / genesis_public_key
Created February 8, 2018 17:15
genesis_public_key
047f3144497f3d504a17eaf25ff3f3ef3d43d201c88bf16b99629211d6919e56e596660f64135c8ff5394ad2e3d1b1af7192c27c21b29fadfb4772585d8db39f31
@alufers
alufers / normal.js
Created December 29, 2017 14:14
A tagged template literal that does nothing
function normal (template, ...expressions) {
return template.reduce((accumulator, part, i) => {
return accumulator + expressions[i - 1] + part
})
}
@alufers
alufers / index.html
Last active June 13, 2017 14:46
Game
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
html,
body, canvas {
width: 100%;
height: 100%;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<form action="" method="post">
{"Á":"A",
"Ă":"A",
"Ắ":"A",
"Ặ":"A",
"Ằ":"A",
"Ẳ":"A",
"Ẵ":"A",
"Ǎ":"A",
"Â":"A",
"Ấ":"A",