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