minor update

This commit is contained in:
Jon Dough
2024-01-17 13:20:39 +05:30
parent 114d8fc4e4
commit 3e9f3e8cc0
3 changed files with 64 additions and 24 deletions

View File

@@ -5,7 +5,8 @@
"filename": "meta", "filename": "meta",
"date": "01/08/2023", "date": "01/08/2023",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["meta", "code", "project", "web", "markdown", "typescript_javascript", "css"] "tags": ["meta", "code", "project", "web", "markdown", "typescript_javascript", "css"],
"archived": false
}, },
"bananopie": { "bananopie": {
"title": "Bananopie", "title": "Bananopie",
@@ -13,7 +14,8 @@
"filename": "bananopie", "filename": "bananopie",
"date": "26/12/2023", "date": "26/12/2023",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["code", "python", "cryptocurrency"] "tags": ["code", "python", "cryptocurrency"],
"archived": false
}, },
"golfing-and-scheming": { "golfing-and-scheming": {
"title": "Golfing and Scheming", "title": "Golfing and Scheming",
@@ -21,7 +23,8 @@
"filename": "golfing_and_scheming", "filename": "golfing_and_scheming",
"date": "23/12/2023", "date": "23/12/2023",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["code", "typescript_javascript", "python", "scheme", "code golf"] "tags": ["code", "typescript_javascript", "python", "scheme", "code golf"],
"archived": false
}, },
"hash-functions": { "hash-functions": {
"title": "Hash Functions", "title": "Hash Functions",
@@ -29,7 +32,8 @@
"filename": "hash_functions", "filename": "hash_functions",
"date": "13/12/2023", "date": "13/12/2023",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["cryptography"] "tags": ["cryptography"],
"archived": false
}, },
"rushed-captcha": { "rushed-captcha": {
"title": "Rushed Captcha Rewrite", "title": "Rushed Captcha Rewrite",
@@ -37,7 +41,8 @@
"filename": "rushed_captcha_rewrite", "filename": "rushed_captcha_rewrite",
"date": "13/12/2023", "date": "13/12/2023",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["project", "hosting", "typescript_javascript", "ruby", "faucets"] "tags": ["project", "hosting", "typescript_javascript", "ruby", "faucets"],
"archived": false
}, },
"dbless-captcha": { "dbless-captcha": {
"title": "DBless Captcha", "title": "DBless Captcha",
@@ -45,7 +50,8 @@
"filename": "dbless_captcha", "filename": "dbless_captcha",
"date": "13/11/2023", "date": "13/11/2023",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["project", "ruby", "docs"] "tags": ["project", "ruby", "docs"],
"archived": false
}, },
"downloading-my-spotify-playlist-for-free": { "downloading-my-spotify-playlist-for-free": {
"title": "Downloading my Spotify Playlist for Free", "title": "Downloading my Spotify Playlist for Free",
@@ -53,7 +59,8 @@
"filename": "downloading_my_spotify_playlist_for_free", "filename": "downloading_my_spotify_playlist_for_free",
"date": "27/10/2023", "date": "27/10/2023",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["code", "typescript_javascript", "bash"] "tags": ["code", "typescript_javascript", "bash"],
"archived": false
}, },
"ryuji-rust": { "ryuji-rust": {
"title": "Ryuji Rust", "title": "Ryuji Rust",
@@ -61,7 +68,8 @@
"filename": "ryuji_rust", "filename": "ryuji_rust",
"date": "27/10/2023", "date": "27/10/2023",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["rust", "project"] "tags": ["rust", "project"],
"archived": false
}, },
"llm": { "llm": {
"title": "LLM", "title": "LLM",
@@ -69,7 +77,8 @@
"filename": "llm", "filename": "llm",
"date": "16/09/2023", "date": "16/09/2023",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["opinion"] "tags": ["opinion"],
"archived": false
}, },
"hex-to-bytes-and-back": { "hex-to-bytes-and-back": {
"title": "Hex to Bytes and Back", "title": "Hex to Bytes and Back",
@@ -77,7 +86,8 @@
"filename": "hex_to_bytes_and_back", "filename": "hex_to_bytes_and_back",
"date": "15/09/2023", "date": "15/09/2023",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["typescript_javascript", "code", "math"] "tags": ["typescript_javascript", "code", "math"],
"archived": false
}, },
"rss-feed": { "rss-feed": {
"title": "RSS!", "title": "RSS!",
@@ -85,7 +95,8 @@
"filename": "rss_feed", "filename": "rss_feed",
"date": "19/08/2023", "date": "19/08/2023",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["meta", "typescript_javascript", "project", "web"] "tags": ["meta", "typescript_javascript", "project", "web"],
"archived": false
}, },
"fermats-little-theorem": { "fermats-little-theorem": {
"title": "Fermats Little Theorem", "title": "Fermats Little Theorem",
@@ -93,7 +104,8 @@
"filename": "fermats_little_theorem", "filename": "fermats_little_theorem",
"date": "12/08/2023", "date": "12/08/2023",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["code", "typescript_javascript", "math"] "tags": ["code", "typescript_javascript", "math"],
"archived": false
}, },
"wikipedia-rabbitholes": { "wikipedia-rabbitholes": {
"title": "Wikipedia Rabbitholes", "title": "Wikipedia Rabbitholes",
@@ -101,7 +113,8 @@
"filename": "wikipedia_rabbitholes", "filename": "wikipedia_rabbitholes",
"date": "09/08/2023", "date": "09/08/2023",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["reading", "history", "wikipedia"] "tags": ["reading", "history", "wikipedia"],
"archived": false
}, },
"eve": { "eve": {
"title": "Eve", "title": "Eve",
@@ -109,7 +122,8 @@
"filename": "eve", "filename": "eve",
"date": "06/08/2023", "date": "06/08/2023",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["cryptography"] "tags": ["cryptography"],
"archived": false
}, },
"month-start-unix": { "month-start-unix": {
"title": "Finding the Unix Timestamp of the Start of the Month with Javascript", "title": "Finding the Unix Timestamp of the Start of the Month with Javascript",
@@ -117,7 +131,8 @@
"filename": "month_start_unix", "filename": "month_start_unix",
"date": "01/04/2023", "date": "01/04/2023",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["code", "web", "typescript_javascript"] "tags": ["code", "web", "typescript_javascript"],
"archived": false
}, },
"190k-faucet": { "190k-faucet": {
"title": "190000 Payouts!", "title": "190000 Payouts!",
@@ -125,7 +140,8 @@
"filename": "190k_faucet", "filename": "190k_faucet",
"date": "12/02/2023", "date": "12/02/2023",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["project", "web", "milestone", "cryptocurrency", "faucets"] "tags": ["project", "web", "milestone", "cryptocurrency", "faucets"],
"archived": false
}, },
"adding-commas": { "adding-commas": {
"title": "Adding Commas to Numbers", "title": "Adding Commas to Numbers",
@@ -133,7 +149,8 @@
"filename": "adding_commas", "filename": "adding_commas",
"date": "15/11/2022", "date": "15/11/2022",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["code", "typescript_javascript"] "tags": ["code", "typescript_javascript"],
"archived": false
}, },
"solving-problems-with-a-timeout": { "solving-problems-with-a-timeout": {
"title": "Solving Problems With a Timeout", "title": "Solving Problems With a Timeout",
@@ -141,7 +158,8 @@
"filename": "solving_problems_with_a_timeout", "filename": "solving_problems_with_a_timeout",
"date": "19/08/2022", "date": "19/08/2022",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["bot", "typescript_javascript"] "tags": ["bot", "typescript_javascript"],
"archived": true
}, },
"gobanme-v1-2": { "gobanme-v1-2": {
"title": "GoBanMe v1.2", "title": "GoBanMe v1.2",
@@ -149,7 +167,8 @@
"filename": "gobanme_v1-2", "filename": "gobanme_v1-2",
"date": "30/05/2022", "date": "30/05/2022",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["release", "cryptocurrency"] "tags": ["release", "cryptocurrency"],
"archived": true
}, },
"fake-typing-effect": { "fake-typing-effect": {
"title": "Making a Fake Typing Effect", "title": "Making a Fake Typing Effect",
@@ -157,7 +176,8 @@
"filename": "fake_typing_effect", "filename": "fake_typing_effect",
"date": "27/01/2022", "date": "27/01/2022",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["code", "web", "typescript_javascript"] "tags": ["code", "web", "typescript_javascript"],
"archived": false
}, },
"ryuji-docs": { "ryuji-docs": {
"title": "Ryuji Documentation", "title": "Ryuji Documentation",
@@ -165,7 +185,8 @@
"filename": "ryuji_docs", "filename": "ryuji_docs",
"date": "02/08/2023", "date": "02/08/2023",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["code", "project", "web", "docs", "typescript_javascript"] "tags": ["code", "project", "web", "docs", "typescript_javascript"],
"archived": false
}, },
"saki-docs": { "saki-docs": {
"title": "Saki Documentation", "title": "Saki Documentation",
@@ -173,6 +194,7 @@
"filename": "saki_docs", "filename": "saki_docs",
"date": "02/08/2023", "date": "02/08/2023",
"author": "jetstream0/Prussia", "author": "jetstream0/Prussia",
"tags": ["code", "project", "web", "build", "docs", "typescript_javascript"] "tags": ["code", "project", "web", "build", "docs", "typescript_javascript"],
"archived": false
} }
} }

View File

@@ -71,4 +71,4 @@ Yay!
This was a pretty "boring" project that didn't involve much thinking or code. But being able to automate small, tedious stuff like this is a pretty underrated perk of having even a little programming knowledge. This was a pretty "boring" project that didn't involve much thinking or code. But being able to automate small, tedious stuff like this is a pretty underrated perk of having even a little programming knowledge.
=== ===
- \[0\]: It's almost like artists are people too, and need to make money to support themselves! In all seriousness though, Spotify pays artists something like $0.003 USD per stream. It makes much more sense to support them through buying albums or going to concerts, instead of wasting time listening to ads. - \[0\]: It's almost like artists are people too, and need to make money to support themselves! In all seriousness though, Spotify pays artists something like $0.003 USD per stream. It makes much more sense to support them through buying albums or going to concerts, instead of wasting time listening to ads. Also, ads just suck.

View File

@@ -79,6 +79,24 @@ Ryuji syntax is typically in the format `[[ something ]]` or `[[ some:thing ]]`
[[ endif ]] [[ endif ]]
``` ```
## If In List Statements
*Not supported in ryuji-rust*
```html
[[ if:tree:*user.friends ]]
<p>Trees are friends, not food.</p>
[[ endif ]]
```
## If Not In List Statements
*Not supported in ryuji-rust*
```html
[[ if:tree:*!user.friends ]]
<p>Trees are food, not friends.</p>
[[ endif ]]
```
## Components ## Components
```html ```html
[[ component:nav-bar ]] [[ component:nav-bar ]]
@@ -204,4 +222,4 @@ These are exported, but there is no real use for them (outside of the module obv
# Usage Examples # Usage Examples
Check Ryuji's [tests](https://github.com/jetstream0/hedgeblog/blob/master/tests.ts) for more examples. Check Ryuji's [tests](https://github.com/jetstream0/hedgeblog/blob/master/tests.ts) for more examples.
There is a real world example in [hedgeblog's code](https://github.com/jetstream0/hedgeblog). For a syntax example, look in the `templates` [directory](https://github.com/jetstream0/hedgeblog/tree/master/templates), or an API example in `saki.ts` and `index.ts`. There is a real world example in [hedgeblog's code](https://github.com/jetstream0/hedgeblog). For a syntax example, look in the `templates` [directory](https://github.com/jetstream0/hedgeblog/tree/master/templates), or an API example in `saki.ts` and `index.ts`. [pla-den-tor](https://github.com/stjet/pla-den-tor) is another of my projects where Ryuji is used.