Warning: this is an htmlized version!
The original is here, and
the conversion rules are here.
#######
#
# E-scripts sobre as coisas do Bruno Macedo.
#
# 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/bmac.e>
#           or at <http://anggtwu.net/e/bmac.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/>.
#
#######




# «.remastering-chroot»	(to "remastering-chroot")

# (find-angg ".emacs" "bmac")


# https://github.com/Renderedner
# https://github.com/Renderedner/notes
# https://github.com/Renderedner/elisp


* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
rm -Rfv /tmp/notes/
cd      /tmp/
git clone https://github.com/Renderedner/notes
cd      /tmp/notes/

export PAGER=cat
git branch --list -a
git for-each-ref
git log --oneline --graph --all -20

# (find-fline "/tmp/")
# (find-fline "/tmp/notes/")
# (find-gitk  "/tmp/notes/")

# (code-c-d "notes" "/tmp/notes/" :anchor)
# (find-notesfile "")
# (find-notes "TCC.e" ".parallel-branches-example")

https://www.facebook.com/vanianoeli.ba/posts/pfbid09N7fUwxFZBvfpgH8h94xXGmfP2jMMWFSNyvu44LBhBkgNocTFGeF5aw9nBhJFms1l O QUE NÃO É ORIENTAR?




#####
#
# remastering-chroot
# 2025may07
#
#####

# «remastering-chroot»  (to ".remastering-chroot")
# (find-notes "tinycore.e" ".remastering-chroot")
# (find-telegachat "@macedobruno#247095" "Agora da' pra rodar o tinycore no vterm!")
# https://distro.ibiblio.org/tinycorelinux/16.x/x86/release/TinyCore-current.iso

* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
cp -v $S/https/distro.ibiblio.org/tinycorelinux/16.x/x86/release/TinyCore-current.iso /tmp/tc.iso

sudo umount /tmp/tc/mnt/tmp/
     rm -rf /tmp/core.gz
sudo rm -rf /tmp/tc/
mkdir       /tmp/tc/
mkdir       /tmp/tc/mnt

# https://wiki.tinycorelinux.net/doku.php?id=wiki:remastering
# https://wiki.tinycorelinux.net/doku.php?id=wiki:remastering#unpacking

sudo mount /tmp/tc.iso /tmp/tc/mnt/ -o loop,ro
cp /tmp/tc/mnt/boot/core.gz /tmp/tc/
sudo umount /tmp/tc/mnt

mkdir /tmp/tc/extract
cd    /tmp/tc/extract
zcat  /tmp/tc/core.gz | sudo cpio -i -H newc -d
ls
du -ch
ls -la bin
ls -la bin | grep sh

sudo chroot /tmp/tc/extract /bin/sh
  exit

cat > /tmp/tc/run.sh <<'%%%'
#!/bin/sh
exec sudo chroot /tmp/tc/extract /bin/sh
%%%
chmod 755 /tmp/tc/run.sh
# (find-fline "/tmp/tc/run.sh")

/tmp/tc/run.sh
  exit


# (defun eepitch-tinycore () (interactive) (eepitch-vterm "/tmp/tc/run.sh"))

* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
/tmp/tc/run.sh
  exit

* (eepitch-tinycore)
* (eepitch-kill)
* (eepitch-tinycore)
ls
pwd
./bin/ls
echo $PATH
PATH=$PATH:/bin
ls
exit









#  Local Variables:
#  coding:               utf-8-unix
#  End: