Všechno Nové

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Registrovat

Přihlásit se


Všechno Nové Registrovat Přihlásit se
's Avatar

capitalex

Připojeno 1 year ago

Nedávno Vytvořeno
Nejméně nedávno Vytvořeno
Nedávno Aktualizováno
Nejméně nedávno Aktualizováno
Všechny gisty 122 Forkováno 1
capitalex's Avatar

capitalex / halfass.min

0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 5 months ago
1 (symbol make-wiki (==>) (args rest first build-sitemap-for)) ::
2
3 (symbol build-sitemap-for
4 (str :dir ==>) (get-wiki-pages make-list-of-links write-wiki)
5 ) ::
6
7 (symbol get-wiki-pages
8 (==>) (
9 get-files get-filenames ("index.html" ==) reject '> sort
10 )
capitalex's Avatar

capitalex / update.min

0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 5 months ago
1 (symbol update
2 (quot|dict :structure quot :path quot :operation ==> quot|dict :updated) (
3 path first :index
4 (
5 ((path size 1 == structure "quot" type? and) (
6 structure structure index get operation -> index set @updated
7 ))
8
9 ((path size 1 == structure "dict" type? and) (
10 structure structure index dict.get operation -> index dict.set @updated
capitalex's Avatar

capitalex / benthos.lua

0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 6 months ago
1 local LEFT, RIGHT, LABEL, SYMBOL = 1, 2, 1, 2
2 local pprint = require "pprint"
3 local function read_symbol(stream)
4 local char, symbol = stream(), {}
5 if not char then return nil end
6 while char:match("%s") do char = stream() end
7 while char:match("%S") do table.insert(symbol, char) char = stream() end
8 return table.concat(symbol)
9 end
capitalex's Avatar

capitalex / february.lua

0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 6 months ago
1 local pprint = require "pprint"
2 local program = [[
3 = = @rpn \\ [3] [4] dup * swap dup * swap + sqrt print
4
5 = @rpn dup . @rpn.data $ =
6 @rpn.data \\ $ $
7
8 = @rpn swap . @rpn.data \\ $x $y =
9 @rpn.data \\ $y $x
capitalex's Avatar

capitalex / lua-scaffold.nv

0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 6 months ago
1 |- lowky, kind forget what all this does -|
2 ||
3 :stacks: (
4 .arity .1
5 @stdio.arity @stdio.1 @stdio.2
6 @jet.arity @jet.1
7 )
8 :rule: (
9 .arity 1 pushsym .1 10 pushsym
10 .arity 1 pushsym .1 33 pushsym
capitalex's Avatar

capitalex / _initialize_state.gd

0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 6 months ago
1 extends Node
2
3 const BLACK_BAR_IMAGE = preload("res://assets/imgs/ui/bg_img.png")
4 # Declare member variables here. Examples:
5 # var a: int = 2
6 # var b: String = "text"
7
8
9 # Called when the node enters the scene tree for the first time.
10 func _ready() -> void:
capitalex's Avatar

capitalex / traits.rs

0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 7 months ago
1 #[derive(Debug)]
2 enum WeaponType {
3 Sword,
4 Club,
5 }
6
7 #[derive(Debug)]
8 struct WeaponComp {
9 weapon: WeaponType,
10 power: i32,
capitalex's Avatar

capitalex / parse.log

0 Lajky
0 Forky
2 Soubory
Naposledy aktivní 8 months ago
1 GIVE (keyword for 'if' [label]) (say [symbol])
2 GIVE (keyword for 'else' [label]) (otherwise-say [symbol])
3 GIVE (99 [symbol]) (bottles [symbol]) (of [symbol]) (beer [symbol])
4 RULE
5 TAKE (n [var]) (bottles [symbol]) (of [symbol]) (beer [symbol])
6 GIVE (n [var]) (bottles [symbol]) (of [symbol]) (beer [symbol]) (on [symbol]) (the [symbol]) (wall! [symbol])
7 GIVE (n [var]) (bottles [symbol]) (of [symbol]) (beer! [symbol])
8 GIVE (You [symbol]) (take [symbol]) (one [symbol]) (down, [symbol]) (pass [symbol]) (it [symbol]) (around! [symbol])
9 GIVE (when [symbol]) (n [var]) (is [symbol]) (1, [symbol]) (say [symbol])
10 GIVE (No [symbol]) (more [symbol]) (bottles [symbol]) (of [symbol]) (beer [symbol]) (on [symbol]) (the [symbol]) (wall! [symbol])
capitalex's Avatar

capitalex / MainActivity.kt

0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 8 months ago
1 package com.ogletree.composecameraexample
2
3 import android.content.ContentResolver
4 import android.content.ContentValues
5 import android.graphics.Bitmap
6 import android.graphics.BitmapFactory
7 import android.graphics.Matrix
8 import android.net.Uri
9 import android.os.Bundle
10 import android.provider.MediaStore
capitalex's Avatar

capitalex / mushroom-path.endless

0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 8 months ago
1 object enter
2 object enter
3 "mushroom-2" >name
4 solid >true
5 object enter
6 222 >x 36 >y 49 >w 41 >h
7 leave >bounds
8 leave >slices
9 object enter
10 "mushroom-3" >name
Novější Starší

Vytvořeno pomocí Opengist ⋅ Load: 186ms⋅

Čeština
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文