(2020-11-10)
All are from the esolangs language list.
I may have missed some; I only looked through langs with 'brain' or 'fuck' in the name.
name | key points | ⭐ |
---|---|---|
!!Fuck | trivial substitution | |
( ͡° ͜ʖ ͡°)fuck | trivial substitution |
-- Maps input string to leftover string | |
type Reg = String -> String | |
-- Literal match | |
lit :: String -> Reg | |
lit s (s ++ s') = s' | |
-- Optional; regex EXPR? | |
opt :: Reg -> Reg |
s='s={}\ns=s.format(repr(s))\nprint(s)' | |
s=s.format(repr(s)) | |
print(s) |
function render(html) { | |
/* Render a single element */ | |
const template = document.createElement('template'); | |
html = html.trim(); // Never return a text node of whitespace as the result | |
template.innerHTML = html; | |
return template.content.firstChild; | |
} |
(2020-11-10)
All are from the esolangs language list.
I may have missed some; I only looked through langs with 'brain' or 'fuck' in the name.
name | key points | ⭐ |
---|---|---|
!!Fuck | trivial substitution | |
( ͡° ͜ʖ ͡°)fuck | trivial substitution |
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed vitae condimentum orci, nec facilisis eros. Integer laoreet metus ac eros convallis vehicula. Duis ornare est et libero fermentum fermentum. Vivamus nec iaculis risus. Nulla erat urna, aliquet ac laoreet at, convallis eget nibh. Fusce nec porttitor sem. Nunc scelerisque dictum nisi, a pharetra urna egestas quis. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed vitae condimentum orci, nec facilisis eros. Integer laoreet metus ac eros convallis vehicula. Duis ornare est et libero fermentum fermentum. Vivamus nec iaculis risus. Nulla erat urna, aliquet ac laoreet at, convallis eget nibh. Fusce nec porttitor sem. Nunc scelerisque dictum nisi, a pharetra urna egestas quis. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac tur
import gi | |
gi.require_version('Gtk', '3.0') | |
from gi.repository import Gtk, Gdk, GObject, GLib | |
import cairo | |
import math | |
import io | |
import PIL.Image as Image | |
import random |
/* USAGE: Go to Spotify page for playlist, copy+paste into console, scroll */ | |
songs = {}; | |
const songCnt = parseInt(document.querySelector('.ebHsEf.RANLXG3qKB61Bh33I0r2').textContent, 10); | |
console.log(songCnt + ' songs'); | |
id = setInterval(function() { | |
const nodes = Array.from(document.querySelectorAll('.h4HgbO_Uu1JYg5UGANeQ.wTUruPetkKdWAR1dd6w4')); |
{-# LANGUAGE BlockArguments #-} | |
import Data.Foldable (for_) | |
import Data.Bifunctor (bimap, first) | |
fizzbuzz :: Int -> String | |
fizzbuzz n = (test 3 "fizz" . test 5 "buzz") id (show n) | |
where | |
test |
================================== | |
INSTALLING NIXOS WITH OPT-IN STATE | |
Based mostly on: | |
grahamc.com/blog/erase-your-darlings | |
gist.github.com/mx00s/ea2462a3fe6fdaa65692fe7ee824de3e | |
nixos.org/manual/nixos/stable/ |
{ | |
environment.etc = { | |
# Utility scripts. Must be manually symlinked into /root | |
"my-scripts".source = let | |
scripts = [ | |
{ | |
"script-name.sh" = '' | |
echo 'script content'; | |
''; |