Computer systems work fast.

I was moving an image file in storage ๐Ÿ–ผ from my camera onto Google's cloud-based web page and app making (development) platform Apps Script.

To do that I changed the file to text, base-64 encoded for a "data:image/jpeg;base64,"... web URL.

Breaking the text to chunks I was pasting ๐Ÿ“‹ over...

//$ base64 ~/storage/shared/DCIM/Camera/20241108_202651.jpg > ~/storage/shared/Download/20241108_202651.jpg_base64.txt
//$ sed -n -e $'1,+24{s/\\S\\+/    + \"&\"/; p}' ~/storage/shared/Download/20241108_202651.jpg_base64.txt"
//$ sed -n -e $'26,+24{s/\\S\\+/    + \"&\"/; p}' ~/storage/shared/Download/20241108_202651.jpg_base64.txt"
//$ ... cut, paste 1-25 (1,+24), 26-50 (26,+24), 51-75 (51,+24), 76-100 (76,+24) ... 201... +83 lines...

... after some time I know now I don't have energy to think of changing the instruction codes to cut & move ~18077 lines of the base64 (encoded binary) image data.

This is less than 0.085รท100 (100ths of) the 1.03 MB (7 M.P. 2275ร—3033) file ๐Ÿ“„.

/9j/4QKqRXhpZgAATU0AKgAAAAgACAEAAAMAAAABDMAAAAEQAAIAAAAIAAAAbgEBAAMAAAABCZAA
OopYwqKDwAOlLNEQ4IGVqN5fm2Kmf6UlC72KSuPlnBHrxUCjzFztxmrBCqnTt+VQiYJHnGRmrjTS
KsluZ+raImqxBCcsO1cj4s+HT6niONNpToRXoEsyqEwBk0ydSsZPc/pWhR4+3gi6Y+VGjYi4b0rc
8M/D54VMk24c5Arv/sarFlEUbuuB1pIWZYzHsUKPbpWfImhJ6EWizNawCIIOOKtlmjzkZz2xTYmE
bjIGe3tT55mB+7nHtWbgZcwyB2KYI57UvmhXxgZqVTvjyo4HX2qG4QlDtAD04Q11LiRTS7W3cACs
ErW8iR5Ax0Fei6fepc2qOuQx6iocU3qTYtTReoGD2psmY0OAN2OKUM0q46AUxondh1x60+VpiKtz

Web based Linux terminal and text input desktop environment - I'm thinking to use Alpine Linux OS on my FairPhone 4 smart-phone, to do:

  • open a new virtual terminal? /usr/bin/sh -c "DISPLAY=:0.0 openvt -l -s -c 2 -f ... " (options -login terminal, -switch to the new VT, -console number 2, -force open โ€” to run a command on it, the "...")
  • run (start, execute) the Shell In A Box project - the web server executable file, with authentication (username and password login), to use a web browser based terminal to access text UI apps in the Linux system.
  • desktop environment idea - build up, with split window views in a multiplexer (read 1 Implementation on Linux console on ArchWiki), a desktop environment in the web shell terminal for Text User Interface applications.

โŒ๏ธ