Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
####### # # E-scripts on kitten. # # Note 1: use the eev command (defined in eev.el) and the # ee alias (in my .zshrc) to execute parts of this file. # Executing this file as a whole makes no sense. # An introduction to eev can be found here: # # (find-eev-quick-intro) # http://anggtwu.net/eev-intros/find-eev-quick-intro.html # # Note 2: be VERY careful and make sure you understand what # you're doing. # # Note 3: If you use a shell other than zsh things like |& # and the for loops may not work. # # Note 4: I always run as root. # # Note 5: some parts are too old and don't work anymore. Some # never worked. # # Note 6: the definitions for the find-xxxfile commands are on my # .emacs. # # Note 7: if you see a strange command check my .zshrc -- it may # be defined there as a function or an alias. # # Note 8: the sections without dates are always older than the # sections with dates. # # This file is at <http://anggtwu.net/e/kitten.e> # or at <http://anggtwu.net/e/kitten.e.html>. # See also <http://anggtwu.net/emacs.html>, # <http://anggtwu.net/.emacs[.html]>, # <http://anggtwu.net/.zshrc[.html]>, # <http://anggtwu.net/escripts.html>, # and <http://anggtwu.net/>. # ####### # «.video» (to "video") # «.install» (to "install") # «.install-black-box» (to "install-black-box") # «.npm-logs» (to "npm-logs") # «.screwlisp» (to "screwlisp") # «.vterm» (to "vterm") # «.tmp-kitten-app» (to "tmp-kitten-app") # «.ports» (to "ports") # https://kitten.small-web.org/ # https://kitten.small-web.org/ # (find-fline "~/.local/bin/") # (find-fline "~/.local/bin/" "kitten") ##### # # video # 2025jul31 # ##### # «video» (to ".video") # https://kitten.small-web.org/ # (find-fline "/tmp/kitten/" "Kitten_-_Home_1-kitten.small-web-1.mp4") # (code-video "kittenvideo" "/tmp/kitten/Kitten_-_Home_1-kitten.small-web-1.mp4") # (find-kittenvideo "0:00") * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) # (find-fline "/tmp/kitten/") rm -Rv /tmp/kitten/ mkdir /tmp/kitten/ cd /tmp/kitten/ youtube-dl -t --restrict-filenames --all-subs https://kitten.small-web.org/ ##### # # Install from the git repository # 2025jul31 # ##### # «install» (to ".install") # (find-angg ".emacs" "kitten") # https://kitten.small-web.org/ # https://kitten.small-web.org/reference/#installing-kitten # https://kitten.small-web.org/reference/#markdown-support # https://kitten.small-web.org/reference/#kitten-s-interactive-shell-repl # https://kitten.small-web.org/tutorials/kitten-s-interactive-shell-repl/ # (find-fline "~/.local/bin/") # (find-fline "~/.local/bin/" "kitten") # (code-c-d "kittenlocal" "~/.local/share/small-tech.org/kitten/") # (code-c-d "kittenruntime" "~/.local/share/small-tech.org/kitten/runtime") # (find-kittenlocalfile "") # (find-kittenruntimefile "") # (find-kittenruntimesh "find * | sort") # (find-kittenfile "") # (find-kittengrep "grep --color=auto -nH --null -e unprivi $(cat .files)") # (find-kittenfile "install" "# Paths") # (find-kittenfile "install" "BINARY_HOME=") # (find-kittenfile "install" "KITTEN_RUNTIME_DIRECTORY=") * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) # (find-fline "~/usrc/kitten/") rm -Rfv ~/usrc/kitten/ mkdir f ~/usrc/kitten/ cd ~/usrc/kitten/ git clone https://codeberg.org/kitten/app . find * -type f | sort > .files cd ~/usrc/kitten/ ./install |& tee oi npm audit npm audit fix * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) cd ~/usrc/kitten/ kitten * (eepitch-vterm) * (eepitch-kill) * (eepitch-vterm) cd ~/usrc/kitten/ kitten s .help .id .ls .settings .sign-in .sign-out .stats kitten.version Hello = ({ name = 'Aral' }={}) => kitten.html`<h1>Hello, ${name}</h1>` kitten.html`<${Hello} />` kitten.db.kittens # (code-c-d "kitten" "~/usrc/kitten/") # (find-kittenfile "") # (find-kittenfile "install") # (find-kittenfile "install" "styleBold=") # (find-kittengrep "grep --color=auto -nH --null -e style install") ##### # # Installation: blackboxish way, with "wget -qO- ... | bash" # 2025aug01 # ##### # «install-black-box» (to ".install-black-box") # https://kittens.small-web.org/ * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) rm -Rv /tmp/kitten/ mkdir /tmp/kitten/ cd /tmp/kitten/ wget https://kittens.small-web.org/install wget -qO- https://kittens.small-web.org/install | bash # (find-fline "/tmp/kitten/") # (find-fline "/tmp/kitten/install") # (find-fline "~/.local/bin/") # (find-fline "~/.local/bin/" "kitten") # (find-fline "~/.local/share/" "small-tech.org") # (find-fline "~/.local/share/small-tech.org/") # (find-fline "~/.local/share/small-tech.org/kitten/") # (find-fline "~/.local/share/small-tech.org/kitten/app/") ##### # # npm-logs # 2025aug01 # ##### # «npm-logs» (to ".npm-logs") # (find-fline "~/.npm/_logs/") # (find-fline "~/.npm/_logs/2025-07-31T20_34_12_047Z-debug-0.log") ##### # # screwlisp # 2025aug01 # ##### # «screwlisp» (to ".screwlisp") # (find-kitten-links "~/KITTEN/") # (find-kitten-links "~/usrc/screwlisps-kitten/") # https://emacs.social/@eduardoochs/114956799696504585 Why single backquotes (with screenshot) # https://mail.google.com/mail/u/0/#sent/FFNDWNNxXfkrpDrKPpnrClqbJhxjHksr # https://codeberg.org/tfw/screwlisps-kitten/src/branch/main/clim/cons-tree-graphics.page.md # (find-git-links "https://codeberg.org/tfw/screwlisps-kitten" "screwlispkitten") # (code-c-d "screwlispkitten" "~/usrc/screwlisps-kitten/") # (find-screwlispkittenfile "") # (find-screwlispkittensh "find * | sort") # (find-screwlispkittensh "find * | sort | grep cons") # (find-screwlispkittengrep "grep --color=auto -nRH --null -e asdf *") # (find-screwlispkittengrep "grep --color=auto -niRH --null -e carnival *") # (code-c-d "screwlispkitten" "~/usrc/screwlisps-kitten/") # (find-screwlispkittenfile "") # (find-screwlispkittensh "find * | sort") # (find-screwlispkittenfile "fundamental/sbcl-slime-eval-lisp-and-die.page.md") # (find-screwlispkittenfile "emacs/writing-experience.page.md") # (find-screwlispkittenwget "emacs/writing-experience.page.md") https://screwlisp.small-web.org/lispgames/LCKR-object-oriented-simulation-simulation/ https://screwlisp.small-web.org/emacs/writing-experience/ (apply 'find-wget-mode '(emacs-lisp-mode) url pos-spec-list)) # https://codeberg.org/tfw/screwlisps-kitten/src/branch/main/clim/cons-tree-graphics.page.md ##### # # Why vterm # 2025aug01 # ##### # «vterm» (to ".vterm") # (find-es "emacs" "comint-osc") ##### # # Make a clone of https://codeberg.org/kitten/app in /tmp/ # 2025aug02 # ##### # «tmp-kitten-app» (to ".tmp-kitten-app") # (code-c-d "kittenapp" "/tmp/kitten-app/") * (eepitch-shell) * (eepitch-kill) * (eepitch-shell) # (find-fline "/tmp/kitten-app/") # (find-fline "/tmp/kitten-app/oi") rm -Rfv /tmp/kitten-app/ mkdir /tmp/kitten-app/ cd /tmp/kitten-app/ git clone https://codeberg.org/kitten/app . ./install 2>&1 | tee oi ** Kitten installs things in: ** (find-fline "~/.local/bin/" "kitten") ** (find-fline "~/.local/share/" "small-tech.org") ** (find-fline "~/.local/share/small-tech.org/kitten/") ** ** Kitten downlo # (find-kittenappsh "du -ch .") # (find-kittenappsh "find * | sort") # (find-kittenappsh "find * | sort | grep node_modules") # (find-kittenappfile "") # (code-c-d "kittenmy" "/tmp/kitten-my/") ##### # # ports # 2025aug02 # ##### # «ports» (to ".ports") # (find-kittenfile "install" "Unprivileged ports start at") https://kitten.small-web.org/tutorials/ https://kitten.small-web.org/tutorials/dynamic-pages/ https://kitten.small-web.org/tutorials/markdown/ # Local Variables: # coding: utf-8-unix # End: