Add Weather Data Caching to Fastfetch
Add the ability to cache weather data to reduce load time and conserve resources with Fastfetch using the command module and a custom shell script.
https://www.adamsdesk.com/posts/fastfetch-weather-data-cache/
Add Weather Data Caching to Fastfetch
Add the ability to cache weather data to reduce load time and conserve resources with Fastfetch using the command module and a custom shell script.
https://www.adamsdesk.com/posts/fastfetch-weather-data-cache/
After jailbreaking my #kindle I decided to see what else I can do. Since it runs on #linux I was able to create a fetch utility to show some of the system information.
The project README is non existent at the moment but I’ll get that added when I get a chance.
I'm putting together an script to archive @backup_brain DB exports and archived images to git, but the images are big so we need to use git lfs (large file support) and THAT requires registering the extension of all the files you wish to manage with LFS
so, I needed to find all the extensions of all the images I'd already archived and then add them to git lfs.
ended up writing these "3" #bash commands which is… a thing.
Running sh commands on Android is easy.
You need a terminal ENV which runs unprivileged. You need package management. You need csh zsh ksh bash skills
It's full blown, comes with minimal packages, so you can extend with anything from vim, Yes VIM to htop, neofetch, to c programming, with all the cherry 🍒 on top
I use termux
You may get it on fDroid, the home site, but NOT from playstore
Update:
I was just warned that the Play Store version is horrifically broken please read the post from the contributor
Thank you @traecer
#bash #csh #zsh #ksh #fish #sh #Linux #command #line #termux #programming #OpenSource #POSIX #technology
Someone help me out, is this too many? XD
$ alias |wc -l115$ typeset -F |wc -l191$ typeset -f |wc 2934 8863 80790
Je
Imakso, mirinde utilas shell-command-on-region (M-| ), per kiu oni metas tekston kiel enigo al programo.
Mi ĵus malkovris hodiaŭ la egale utilan sh-execute-region, kiu rulas liniojn kiel ŝelprogramo! Mi agordis ĝin hodiaŭ al C-c |. 
Tiuanime, hodiaŭ mi skribis simplan funkcion, execute-buffer. Se vi redaktas skripton, per ĝi povas simple ruli la nunan dosieron kaj vidi la eligon. Tre utilas por ŝelo kaj bc-umado, ktp, kiel mi ofte faras.
(global-set-key (kbd "C-c \\") 'execute-buffer)(defun execute-buffer () "Execute the current buffer’s file, sending output to a buffer." (interactive) (shell-command (format "\"%s\"" (buffer-file-name))))