Skip to content

Instantly share code, notes, and snippets.

View zowepsilon's full-sized avatar
📗
reading HoTT

Zowε zowepsilon

📗
reading HoTT
View GitHub Profile
@zowepsilon
zowepsilon / fib.sh
Last active October 15, 2024 18:21
if [ $1 -le 1 ]; then
echo $1
else
prev="$(expr $1 - 1)"
x="$(curl https://gist.githubusercontent.com/anatom3000/0aa0deb9607fd87cc938b55d05c6ff7b/raw/ | bash -s $prev)"
prev="$(expr $1 - 2)"
y="$(curl https://gist.githubusercontent.com/anatom3000/0aa0deb9607fd87cc938b55d05c6ff7b/raw/ | bash -s $prev)"
expr $x + $y
fi
curl https://gist.githubusercontent.com/anatom3000/d02e0ff5e149ea6c296dd60a19aa5403/raw/ | bash
import math
import time
from threading import Thread
def _closest(value, list):
scale = []
for i in list:
scale.append(abs(value - i))
a = min(scale)
if value + a in list:
@zowepsilon
zowepsilon / settings.json
Created June 23, 2020 06:07
Parametres de generation
{
"generate_features": true,
"bonus_chest": false,
"seed": 0,
"dimensions": {
"minecraft:overworld": {
"generator": {
"type": "minecraft:noise",
"seed": -1464245863,
"biome_source": {