Why rent computers when you can build the cloud at home? Say no to big tech and seize the means of computing the future :3
#SelfHosting #HomeLab #Linux #ArchLinux #Proxmox #SysAdmin #OpenSource #FOSS #Jellyfin #FishShell #Tech
Why rent computers when you can build the cloud at home? Say no to big tech and seize the means of computing the future :3
#SelfHosting #HomeLab #Linux #ArchLinux #Proxmox #SysAdmin #OpenSource #FOSS #Jellyfin #FishShell #Tech
HERE IS YOUR #bash history #recap / #rewind / #year_in_review !!!
grep -v "^[[:space:]]*#" ~/.bash_history |sed -E 's/^ *(sudo|doas) *//g' |awk '{print $1}' |sort |uniq -c |sort -n |tail -n $((LINES-2))
Example from this laptop:
54 updateall
57 nsxiv
58 pipx
63 pkg_info
73 tail
92 git
106 ssh
109 w3m
110 less
127 echo
138 type
194 searchall
214 grep
225 ststatus
275 duck
286 ll
292 vi
341 man
433 cd
453 ls
(Of course, it's not strictly a YEAR in review. Bash can timestamp the history, but most people don't have that turned on by default)
@rl_dane I saw this just before sleep
I tried with #Fish
Fish store history as #YAML
I tweaked the command to make it barely works
Since it's YAML, it's store the timestamps
So, i tried to do an actual #year_in_review
3 hours later, here it is !
https://gitlab.com/pinage404/dotfiles/-/commit/5089def105806afe92684609a004081cf5aa136d
🐟 My favorite shell just got a new release
https://linuxiac.com/fish-shell-4-3-released-with-scripting-and-terminal-improvements/
This is how I do test-driven development in Elixir. This function is saved in .config/fish/functions so it preloads whenever I open the terminal. Fish shell is the one I've been using forever.
Then I can do either
onchange test/indie/domains_test.exs
OR
onchange test/indie/domains_test.exs --only dnssec
If I want to run specific tags only.
This is how I do test-driven development in Elixir. This function is saved in .config/fish/functions so it preloads whenever I open the terminal. Fish shell is the one I've been using forever.
Then I can do either
onchange test/indie/domains_test.exs
OR
onchange test/indie/domains_test.exs --only dnssec
If I want to run specific tags only.