全部 新建

user:thomas 由用户创建的 Gists

title:mygist 包含指定标题的 Gists

filename:myfile.txt 包含指定文件名的 Gists

extension:yml 包含指定扩展名的 Gists

language:go 包含指定编程语言的 Gists

topic:homelab 具有给定主题的 Gists

注册

登录


全部 新建 注册 登录

所有 Gists

最近 创建
最早 创建
最近 更新
最早 更新
capitalex's Avatar

capitalex / traits.rs

0 喜欢
0 派生
1 文件
最后活跃于 4 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,
autumn's Avatar

autumn / circles animation

0 喜欢
0 派生
1 文件
最后活跃于 4 months ago
the circles performance test in the Myte playground
1 || '@include' https://gist.casuallyblue.dev/autumn/056799f483464c668e0a6a2d9db099df/raw/HEAD/game.nv
2
3 'orbit speed' 0.003
4 'orbit width' 10
5
6 '' start a 400 by 400 game
7 '' create 400 circles
8
9 | '' create 0 circles |
june's Avatar

june / Greek Salad

0 喜欢
0 派生
1 文件
最后活跃于 4 months ago
A small recipe for a Greek salad.
1 |- greek salad -|
2 - chop
3 - romaine lettuce
4 - slice
5 - red onions
6 - dice
7 - cucumbers
8 - chop
9 - bell peppers
10 - cube
june's Avatar

june / Trans Pride Flag

0 喜欢
0 派生
1 文件
最后活跃于 4 months ago
A small Nova program to draw the trans pride flag in the playground.
1 || :@include: (
2 lib/rpn.nv
3 lib/nv/meta.nv
4 lib/platforms/browser_game.nv
5 lib/platforms/browser_dom.nv
6 )
7
8 ||:: create a 400 by 400 canvas
9 :: draw the trans pride flag
june's Avatar

june / Welcome to the Nova Playground

0 喜欢
0 派生
1 文件
最后活跃于 4 months ago
A short welcome with a small music demo.
1 |:: Welcome.|
2 :: This is the new Nova playground.
3 :: Enter or modify the code in this box, then hit 'Run Code' to see it in action.
4 :: Hit 'Step Code' to see your code evaluate step-by-step.
5 :: Hit 'Get Share Url' to generate a sharable link in your address bar.
6 :: Have fun. Ask questions.
7
8 |: A small request. :|
9 :: This playground is a work in progress.
10 :: It can be broken.
sierra's Avatar

sierra / welcome.nv

0 喜欢
0 派生
1 文件
最后活跃于 4 months ago
1 |:: Welcome.|
2 :: This is the new Nova playground.
3 :: Enter or modify the code in this box, then hit 'Run Code' to see it in action.
4 :: Hit 'Step Code' to see your code evaluate step-by-step.
5 :: Hit 'Get Share Url' to generate a sharable link in your address bar.
6 :: Have fun. Ask questions.
7
8 |: A small request. :|
9 :: This playground is a work in progress.
10 :: It can be broken.
capitalex's Avatar

capitalex / parse.log

0 喜欢
0 派生
2 文件
最后活跃于 4 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])
june's Avatar

june / A Short Hike

0 喜欢
0 派生
1 文件
最后活跃于 5 months ago
A micro-narrative written with Nova.
1 | ~ 🚶‍♂️‍➡️ ~ 📍 ~ 🌅 ~ | ~ ☀️ ~
2 | ~ 🚶‍♂️‍➡️ ~ 📍 ~ ☀️ ~ | ~ 🌄 ~
3 | ~ 🚶‍♂️‍➡️ ~ 📍 ~ 🌄 ~ | ~ 🌌 ~
4
5 | ~ 🎒 ~ 🥢 | ~ ✋ ~ 🥢
6 | ~ 🎒 ~ $ | ~ 🏕️ ~ $
7
8 | ~ ✋ ~ 🥢 ~ 👀 ~ 🪨 | ~ 💥 ~ (🥢 🪨)
9
10 | ~ 💥 ~ (🥢 🪨) | ~ ✋ ~ (🥢 💥)
capitalex's Avatar

capitalex / MainActivity.kt

0 喜欢
0 派生
1 文件
最后活跃于 5 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 喜欢
0 派生
1 文件
最后活跃于 5 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
上一页 下一页

由 Opengist 强力驱动 ⋅ Load: 209ms⋅

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