Wszystko Nowy

user:thomas Gisty stworzone przez użytkownika

title:mygist Gisty z podanym tytułem

filename:myfile.txt Gisty zawierające pliki z podanym tytułem

extension:yml Gisty zawierające pliki z podanym rozszerzeniem

language:go Gisty zawierające pliki z podanym językiem

topic:homelab gists with given topic

Zarejestruj się

Zaloguj się


Wszystko Nowy Zarejestruj się Zaloguj się

Wszystkie Gisty

Ostatnio utworzono
Najdawniej utworzono
Ostatnio zaktualizowano
Najdawniej zaktualizowano
capitalex's Avatar

capitalex / callatz.chr

0 polubień
0 forków
2 plików
Ostatnio aktywne 1 year ago
1 move, y <=> x, move
2 move, x, x <=> x, x, eval
3 move, x <=> x
4
5 odd, y <=> x, x, x, x, x, x, odd
6 odd <=> x, eval
7
8 eval, x, x <=> y, eval
9 eval, x <=> x, x, x, odd
10 eval <=> move
capitalex's Avatar

capitalex / mem.js

0 polubień
0 forków
2 plików
Ostatnio aktywne 1 year ago
1 /**
2 Input program:
3 mem(A,_), mem(A,_) <=> fail
4 prog(L,_,_,_), prog(L,_,_,_) <=> fail
5 pc(_), pc(_) <=> fail
6
7 prog(L,"add",B,A), mem(B,Y) \ mem(A,X), pc(L) <=> mem(A,X+Y), pc(L+1)
8 prog(L,"sub",B,A), mem(B,Y) \ mem(A,X), pc(L) <=> mem(A,X-Y), pc(L+1)
9 prog(L,"mult",B,A), mem(B,Y) \ mem(A,X), pc(L) <=> mem(A,X*Y), pc(L+1)
10 prog(L,"div",B,A), mem(B,Y) \ mem(A,X), pc(L) <=> mem(A,X/Y), pc(L+1)
capitalex's Avatar

capitalex / fruitcake-2.js

0 polubień
0 forków
2 plików
Ostatnio aktywne 1 year ago
1 /**
2 *
3 * Automatically generated
4 * Do not edit
5 *
6 * Created using CHR.js AOT compiler
7 * (CHR.js version v3.3.21)
8 * http://github.com/fnogatz/CHR.js
9 *
10 */
capitalex's Avatar

capitalex / fruitcake.js

0 polubień
0 forków
2 plików
Ostatnio aktywne 1 year ago
1 /**
2 *
3 * Automatically generated
4 * Do not edit
5 *
6 * Created using CHR.js AOT compiler
7 * (CHR.js version v3.3.21)
8 * http://github.com/fnogatz/CHR.js
9 *
10 */
capitalex's Avatar

capitalex / tables-with-var-pass.nv

0 polubień
0 forków
3 plików
Ostatnio aktywne 1 year ago
1 |#variables|
2 , @table id, @table row, @table size
3 , pretty print rows iterator, pretty print row index
4
5
6 |_| Define our tables
7 |#table, singles|
8 , 1st
9
10 |#table, doubles|
capitalex's Avatar

capitalex / output.txt

0 polubień
0 forków
2 plików
Ostatnio aktywne 1 year ago
1 123
2 234
3 25
4 singles #1: {
5 ['1st'] = 123
6 }
7 singles #2: {
8 ['1st'] = 234
9 }
10 singles #3: {
capitalex's Avatar

capitalex / old-bullet-move.nv

0 polubień
0 forków
2 plików
Ostatnio aktywne 1 year ago
1 |#port, on move bullets, needs, @move bullets|
2 |#port body, on move bullets, lua|
3 local dt = state.dt
4 local bullets = state.bullets
5 for _, bullet in ipairs(bullets) do
6 if not (bullet.frozen and counters["game is paused"] > 0) then
7 bullet.frozen = false
8 bullet.x = bullet.x + math.cos(bullet.angle) * 350 * dt
9 bullet.y = bullet.y + math.sin(bullet.angle) * 350 * dt
10 local in_bounds
capitalex's Avatar

capitalex / zombie-more-vera.nv

0 polubień
0 forków
1 plików
Ostatnio aktywne 1 year ago
1 |#port, on draw zombie
2 , needs, @draw zombie
3 , reads, @zombie index|
4 |#port body, on draw zombie, lua|
5 print("DRAWING ZOMBIE", zombie_index)
6 local zombie = state.zombies[zombie_index]
7 love.graphics.setColor(0.145, 0.133, 0.169)
8 love.graphics.circle("fill", zombie.x + 5, zombie.y + 5, zombie.r)
9
10 love.graphics.setColor(0.882, 0.314, 0.282)
capitalex's Avatar

capitalex / zombies.nv

0 polubień
0 forków
1 plików
Ostatnio aktywne 1 year ago
1 |#port, on draw zombie
2 , needs, @draw zombie
3 , reads, @zombie index|
4 |#port body, on draw zombies, lua|
5 local zombies = state.zombies
6 love.graphics.setColor(0.145, 0.133, 0.169)
7 love.graphics.circle("fill", zombie.x + 5, zombie.y + 5, zombie.r)
8
9 love.graphics.setColor(0.882, 0.314, 0.282)
10 love.graphics.circle("fill", zombie.x, zombie.y, zombie.r)
yumaikas's Avatar

yumaikas / mechanistic_pumpkin_bread_recipe.nv

0 polubień
0 forków
1 plików
Ostatnio aktywne 1 year ago
1 |_| Pumpkin Bread Recipe
2
3 || start oven, gather equipment, gather ingredients
4
5 | start oven, imperial | oven fahrenhiet:375
6 | start oven, metric | oven celcius:190
7
8 | gather equipment |
9 fetch medium bowl, fetch large bowl,
10 fetch half teaspon,
Nowsze Starsze

Obsługiwane przez Opengist ⋅ Load: 266ms⋅

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