A for Apple
A is the first letter of the alphabet.
Next letter
The next letter is B for Botato
// Don't want to bother creating types for an untyped dependency? Put | |
// this file anywhere in your codebase: | |
declare module 'third-party-module' | |
// You can add multiple lines, one for each module. |
(defun n->r (n) | |
(let* ((band (isqrt n)) | |
(bandstart (expt band 2)) | |
(nextstart (expt (1+ band) 2))) | |
(list (min band (- n bandstart)) | |
(min band (- nextstart n 1))))) | |
(defun init-rar (size) | |
(let ((ar (make-array (list size size)))) | |
(dotimes (n (expt size 2)) |
// create a bookmark with this value, or paste it directly in the address bar and press return | |
javascript:(() => {document.querySelector('[data-disable-with^=Loading]')?.click(); setTimeout(()=> document.querySelectorAll('.Details-content--closed').forEach(x => x.click()), 4000)})() |
A is the first letter of the alphabet.
The next letter is B for Botato
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
// https://github.com/reaxis/mu | |
(function(d){"object"===typeof exports?module.exports=d():"function"===typeof define&&define.amd?define(d):mu=µ=d()})(function(){function d(){}function m(a){return a.replace(/-(.)/g,function(a,c){return c.toUpperCase()})}function k(a){return"[object Array]"==={}.toString.call(a)}function g(a){return[].slice.call(a)}d.one=function(a){return document.querySelector(a)};d.all=function(a){return g(document.querySelectorAll(a))};d.create=function(a){return document.createElement(a)};var h={one:function(a){return this.querySelector(a)},all:function(a){return g(this.querySelectorAll(a))},each:function(a){a.bind(this)(0);return this},"µAddEventListener":Node.prototype.addEventListener,addEventListener:function(){this.µEventCache=this.µEventCache||[];this.µEventCache.push(arguments);this.µAddEventListener.apply(this,arguments)},on:function(a,b){this.addEventListener(a,b);return this},add:function(){return g(arguments).reduce(function(a,b){k(b)?a.a |
html, body { | |
height: 100%; | |
margin: 0; | |
} | |
body { | |
position: relative; | |
} | |
h1, h2 { |
$ cd /tmp | |
$ mkdir test | |
$ cd test | |
$ git init | |
Initialized empty Git repository in /private/tmp/test/.git/ | |
$ git commit --allow-empty -m root | |
[master (root-commit) 6814cc9] root | |
$ mkdir foo | |
$ echo a > foo/a | |
$ git add foo |
/** | |
* interleave([1,2], [8,7,6,5], [], 'abc') | |
* => [ 1, 8, 'a', 2, 7, 'b', 6, 'c', 5 ] | |
*/ | |
function* interleave() { | |
const its = Array.from(arguments).map(x => x[Symbol.iterator]()); | |
let done; | |
do { | |
done = true; | |
for (const it of its) { |
/** | |
* Leanxml Runtime: lean TS jsxFactory runner for creating XML doms. | |
* | |
* N.B.: Doesn’t work on tagnames with uppercase first letter! | |
*/ | |
const xmldom = require('xmldom'); | |
function leanxml(tagname, attrs, ...children) { | |
return function leanxmlBuilder(doc) { |