2023-08-19
Recycle Bin, Trash Can Cli Alternative

trash-cli (with python binding) may work cross-platform, but manage its own recycle bin instead of the system if using windows or macos.

empty-trash-cli

windows

cmdutils which has recycle and bin commands

cmd-recycle

nircmd

1
2
nircmd moverecyclebin *.tmp

macos

do this manually:

1
2
3
4
# i don't trust this.
#rm -rf ~/.Trash/*
osascript -e 'tell app "Finder" to empty'

trash

rmtrash in nightproductions’s cli tools

Read More

2022-10-16
Agi Playground, A Place For Agi To Act/Code Freely

search for “artificial general intelligence” in github and hit many results.

some article says deep neural networks are t2 level, human are t3 level (connected dnns) and to train a t3 level intel you need t4 level intel (like the earth, or a group of t3 intels, you can’t be 1-to-1 now, you must be forgiving). this proves my provision of putting agi into gui or human interfaces.

to train a t2 level intel, you need t3 intel, such as yourself or your users.

you must setup this playground then you begin to learn stuff and libraries of AGI. but once you have one, don’t move around, stick to it! you need time to develop the general adaptor and make clear and achievable goals!

terminal, GUI, program, API, network

please check my previous efforts on building AGI, namely: AGI, lazero, metalazero

nsjail with docker

firejail

Read More

2022-09-08
Expect Send Special Control Chars

Read More

2022-08-13
Force Pty Allocation When Spinning Up Tmux Over Ssh

1
2
kali -t tmux attach -t <target_session_name>

or:

1
2
kali -o RequestTTY=no tmux attach -t <target_session_name>

situation:

1
2
3
$ ssh 192.0.2.125 tmux attach
open terminal failed: not a terminal

The solution is to simply force pseudo-terminal allocation.

1
2
3
$ ssh -t 192.0.2.125 tmux attach
[...]

Define RequestTTY in OpenSSH SSH client configuration file to make this permanent.

1
2
3
4
$ cat ~/.ssh/config
Host 192.0.2.125
RequestTTY yes

Read More

2022-07-11
Terminal autocomplete

Linux support in alpha, currently MacOS only:

fig

warp

why my vim stops working?

warp known issues

Read More