diff --git a/bun/uts-forester.js b/bun/uts-forester.js index 2d9923e..3256d0d 100644 --- a/bun/uts-forester.js +++ b/bun/uts-forester.js @@ -22,8 +22,8 @@ function getAppliedMode(userPreference) { function setAppliedMode(mode) { document.documentElement.dataset.appliedMode = mode - // const ninja = document.querySelector('ninja-keys'); - // ninja.setAttribute('class', mode); + const ninja = document.querySelector('ninja-keys'); + ninja.setAttribute('class', mode); } function rotatePreferences(userPreference) { diff --git a/justfile b/justfile index 1e9b12f..b3a61d4 100644 --- a/justfile +++ b/justfile @@ -1,9 +1,11 @@ -# to access recipes without prefixing `just`, run `source ./init.sh` after openning each new terminal +export PROJECT_ROOT := justfile_directory() + default: just --list + @echo '💡Tip: run "source ./init.sh" after openning each new terminal, to access recipes without prefixing "just"' -new +X: - ./new.sh {{X}} +new +PARAMS: + ./new.sh {{PARAMS}} build: ./build.sh @@ -51,5 +53,9 @@ penrose SOURCE: mkdir -p output/penrose/ cp -f {{SOURCE}} output/penrose/ +envs: + #!/usr/bin/env bash + echo "PROJECT_ROOT: $PROJECT_ROOT" + # act: # ./act.sh diff --git a/trees/index.tree b/trees/index.tree index aaccde2..37414d7 100644 --- a/trees/index.tree +++ b/trees/index.tree @@ -1,10 +1,6 @@ \title{home} \tag{root} -\author{utensil} - -\date{2024-04-24} - \import{macros} \p{I'm [[utensil]], my notes are hosted here.} diff --git a/trees/uts-0018.tree b/trees/uts-0018.tree index 4ca2afb..890580d 100644 --- a/trees/uts-0018.tree +++ b/trees/uts-0018.tree @@ -43,7 +43,7 @@ - add [[uts-001P]] - learn about [monorepo tools](https://monorepo.tools/): nx seems to have most [feature-complete](https://monorepo.tools/#tools-review) support for [most stacks](https://nx.dev/getting-started/intro#pick-your-stack), moon is the next best choice for [Bun.js](https://moonrepo.dev/docs/guides/javascript/bun-handbook)+[Rust](https://moonrepo.dev/docs/guides/rust/handbook) projects that I have in mind. Other resources: - [Building a Monorepo with Rust](https://earthly.dev/blog/rust-monorepo/) -- I need to learn more about [Salva](https://salva.rs/): fluids simulation in Rust that works with [Rapier](https://github.com/dimforge/rapier.js/), but it doesn't seem to have a JS binding yet, rapier even has an [r3f](https://github.com/dimforge/rapier.js/) package, and plugins for bevy. See [FLUID SIMULATION - SIGGRAPH 2007 Course Notes](https://www.cs.ubc.ca/~rbridson/fluidsimulation/fluids_notes.pdf) to learn more about fluid simulation. +- I need to learn more about [Salva](https://salva.rs/): fluids simulation in Rust that works with [Rapier](https://github.com/dimforge/rapier.js/), but it doesn't seem to have a JS binding yet, rapier even has an [r3f](https://github.com/dimforge/rapier.js/) package, and a plugin for bevy. See [FLUID SIMULATION - SIGGRAPH 2007 Course Notes](https://www.cs.ubc.ca/~rbridson/fluidsimulation/fluids_notes.pdf) to learn more about fluid simulation. - learn about [WLJS](https://jerryi.github.io/wljs-docs/) for Wolfram Mathematica, recalled [my early Mathematica notebooks](https://github.com/utensil/mathematica-notebooks), and wish to do SSR for them }