aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2023-01-07 14:38:16 +0000
committerterminaldweller <thabogre@gmail.com>2023-01-07 14:38:16 +0000
commit36a7decd5c84b3a3eefd33f73d502afa32692cb1 (patch)
treeac05686a428dd6e68c758a72b213857a7af6f29b
parentupdate (diff)
downloadscripts-36a7decd5c84b3a3eefd33f73d502afa32692cb1.tar.gz
scripts-36a7decd5c84b3a3eefd33f73d502afa32692cb1.zip
update
-rw-r--r--.newsboat/urls1
-rw-r--r--.zshrc16
-rw-r--r--postit1
3 files changed, 17 insertions, 1 deletions
diff --git a/.newsboat/urls b/.newsboat/urls
index 5777210..18345a3 100644
--- a/.newsboat/urls
+++ b/.newsboat/urls
@@ -24,6 +24,7 @@ https://rssgen.terminaldweller.com/?action=display&bridge=TwitterBridge&context=
https://rssgen.terminaldweller.com/?action=display&bridge=TwitterBridge&context=By+username&u=TheBlock__&norep=on&noretweet=on&nopinned=on&nopic=on&noimg=on&noimgscaling=on&format=Atom "~the_block"Twitter
https://rssgen.terminaldweller.com/?action=display&bridge=TwitterBridge&context=By+username&u=whale_alert&norep=on&noretweet=on&nopinned=on&nopic=on&noimg=on&noimgscaling=on&format=Atom "~whatle_alert"Twitter
https://rssgen.terminaldweller.com/?action=display&bridge=TwitterBridge&context=By+username&u=nobitexmarket&norep=on&noretweet=on&nopinned=on&nopic=on&noimg=on&noimgscaling=on&format=Atom "~nobitex"Twitter
+https://rssgen.terminaldweller.com/?action=display&bridge=TwitterBridge&context=By+username&u=CVEnew&norep=on&noretweet=on&nopinned=on&nopic=on&noimg=on&noimgscaling=on&format=Atom "~CVEnew"Twitter
# (Youtube)
# Horror
diff --git a/.zshrc b/.zshrc
index 0eb1ed0..97cce16 100644
--- a/.zshrc
+++ b/.zshrc
@@ -308,6 +308,7 @@ alias ir_proxy="proxychains4 -q -f ~/proxies/ir/proxychains.conf"
alias ice_proxy="proxychains4 -q -f ~/proxies/ice/proxychains.conf"
alias tor_carrier_proxy="proxychains4 -q -f ~/proxies/tor_carrier/proxychains.conf"
alias glow="glow --style ~/.config/glow/dark.json --pager --local"
+alias mdcat="mdcat --local --fail --paginate"
alias nmap="grc nmap"
alias fdisk="grc fdisk"
alias blkid="grc blkid"
@@ -328,7 +329,8 @@ alias ping="grc ping"
alias list_iptables="sudo iptables -nvL --line-numbers"
alias sensors_pp="sensors -A -j 2> /dev/null | json_pp -json_opt pretty,canonical | pygmentize -l json -P style=$PYGMENTIZE_STYLE | $PAGER"
alias vdiff="vimdiff"
-alias virt-top="/nix/store/gn20hprla1p86fkvml4c6im3839vmlzn-virt-top-1.1.1/bin/virt-top"
+# alias virt-top="/nix/store/gn20hprla1p86fkvml4c6im3839vmlzn-virt-top-1.1.1/bin/virt-top"
+alias finger="/nix/store/rqc8gdpx6dzwk38dx01ddb4kfcrkyiwq-bsd-finger-0.17/bin"
alias fox_in_a_box='ssh -X -i /home/devi/devi/vagrantboxes.git/main/dispffox/.vagrant/machines/default/libvirt/private_key vagrant@virt-dispffox.vagrant-libvirt "XAUTHORITY=/home/vagrant/.Xauthority firefox"'
alias run_doh_client="sudo doh-client -d doh.terminaldweller.com -r 185.130.47.81:443 -p getnsrecord --proxy-host 127.0.0.1:9995 --proxy-scheme socks5h --timeout 10"
alias bun="ALL_PROXY=socks5h://127.0.0.1:9995 bun"
@@ -337,6 +339,10 @@ alias sotn="bw_mednafen ~/roms/sotn/Castlevania\ -\ Symphony\ of\ the\ Night.cue
alias silent_hill="bw_mednafen ~/roms/silent_hill/Silent Hill (v1.1).cue"
alias bombadillo='ssh -tt -i /home/devi/devi/vagrantboxes.git/main/openbsd/.vagrant/machines/default/libvirt/private_key vagrant@bomb-host.vagrant-libvirt proxychains4 -q bombadillo '
alias mount="grc mount"
+alias picocom="picocom --escape b"
+# https://wiki.slipfox.xyz/wiki/ANSI_escape_code#OSC_(Operating_System_Command)_sequences)
+# https://github.com/sos4nt/dynamic-colors
+alias turn_green='echo -e "\033]10;#005f5f\007"'
# change the 4th terminal color to #0000ff
# echo -e '\e]P40000ff'
@@ -646,6 +652,14 @@ timezsh() {
# git diff $@ --name-only | fzf -m --ansi --preview $preview
# }
+
+# https://unix.stackexchange.com/questions/81408/how-can-i-figure-out-which-ptys-are-from-which-qemu
+list_virsh_ptys() {
+ for i in `virsh list | awk '{print $2}' | egrep -v "^$|Name"`; do
+ printf "%-14s:%s\n" $i $(virsh ttyconsole $i | grep -v "^$");
+ done
+}
+
pod2w3m() {
pod2html $1 | w3m -T text/html
}
diff --git a/postit b/postit
index 4c30967..3ed0539 100644
--- a/postit
+++ b/postit
@@ -48,3 +48,4 @@ rust tutorial https://www.youtube.com/watch?v=ygL_xcavzQ4
https://wms.cs.kuleuven.be/cs/studeren/master-artificial-intelligence/MAI_SIP/masters-thesis/thesis-topic-proposals
https://www.ssllabs.com/ssltest
ntfs-3g
+https://virastaran.net/a/w/11467/