Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
16 kB
0
Indexable
Never
sudo pacman -Syyu
sudo pacman -S archlinux-keyring
sudo pacman -Syyu
reboot
sudo pacman -S telegram-desktop
sudo pacman -S bluez bluez-utils
lsmod | grep btusb
modprobe btusb
sudo systemctl start bluetooth.service
sudo systemctl enable bluetooth.service
bluetoothctl
power on
agent on
defaut-agent
scan on
devices
trust ID
pair ID
trust ID
connect ID
scan off
quit
sudo nano /etc/bluetooth/main.conf
reboot


sudo pacman -S --needed base-devel
sudo pacman -S archlinux-keyring
sudo pacman -S git tree neofetch neovim python-pynvim axel wget tmate testdisk expac telegram-desktop ripgrep
sudo pacman -S git tree neofetch
sudo pacman -Rcns mplayer
sudo pacman -S wget
sudo pacman -S python-pip

sudo pacman -Syu
sudo pacman -Sc
sudo pacman -Syu --disable-download-timeout
curl -O https://download.sublimetext.com/sublimehq-pub.gpg && sudo pacman-key --add sublimehq-pub.gpg && sudo pacman-key --lsign-key 8A8F901A && rm sublimehq-pub.gpg
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/stable/x86_64" | sudo tee -a /etc/pacman.conf
sudo pacman -Syu sublime-text

git clone https://aur.archlinux.org/visual-studio-code-bin.git
git clone https://aur.archlinux.org/firebase-tools.git
git clone https://aur.archlinux.org/ngrok.git
git clone https://aur.archlinux.org/vimb-git.git
git clone https://aur.archlinux.org/mendeleydesktop.git


sudo pacman -S wget
sudo pacman -Sy tmate
sudo pacman -S testdisk

sudo pacman -S luakit
sudo pacman -S webkit2gtk

sudo pacman -S qutebrowser
sudo pacman -S gst-plugins-{base,good,bad,ugly} gst-libav

makepkg -si
ngrok config add-authtoken 2CqR4A9SVR0TX0gayfY4mhTzBQB_58kqY5ZQMm7w1ASXhqz1Y



sudo pip install pyrebase4
sudo pip install pyngrok
sudo pip install ipynb-py-convert ipynb-py-convert jupytext ipython

sudo pacman -S jq
sudo pacman -S elinks lynx w3m aria2
sudo pacman -S tmux
sudo pacman -S neovim-qt
sudo pacman -S locate

yay -S google-chrome
sudo pacman -Syyu
sudo pacman -S taskdisk
sudo pacman -S disktask
sudo pacman -S expac


pacman -Qe #ls installed pkg
pactree sublime-text-3
sudo pacman -S neovim-qt
sudo pacman -S tmux
sudo pacman -Sy elephant-shed-tmate
sudo pacman -S abiword
sudo pacman -S gnumeric
sudo pacman -S tree

sudo python -m pip install ipykernel
sudo python -m ipykernel install --user
sudo python -m pip install firebase-admin
python
sudo python -m pip install validators
sudo pacman -S copyq
sudo pacman -S python-qtconsole
sudo pacman -S emacs
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.emacs.d\n~/.emacs.d/bin/doom install
sudo pacman -S vlc
sudo pacman -S ripgrep
sudo pacman -S strace

sudo pacman -Sy tmate
tmate
ssh UUK2HM8dUTptU5DuDMZtuWs4b@nyc1.tmate.io
sudo pacman -Sy elephant-shed-tmate
tmate show-messages

sudo pacman -S transmission-cli
sudo systemctl enable transmission.service

sudo pacman -S transmission-gtk
.vnote-linux-x64_v3.13.1.AppImage

telegram-cli -N --permanent-peer-ids
sudo pacman -S filezilla
sudo snap install zoom-client
sudo pip install jupyter
sudo pacman -S falkon


yay -S google-chrome







mkdir ~/.config/nvim
touch ~/.config/nvim/init.vim
curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
mkdir ~/.config/nvim/vim-plug
touch ~/.config/nvim/vim-plug/plugins.vim
~/.config/nvim/vim-plug/plugins.vim
sudo ~/.config/nvim/vim-plug/plugins.vim
~/.config/nvim/vim-plug/plugins.vim
cat ~/.config/nvim/vim-plug/plugins.vim
subl ~/.config/nvim/vim-plug/plugins.vim
cat ~/.config/nvim/vim-plug/plugins.vim
ls
ls -a
touch ~/.config/nvim/init.vim
subl ~/.config/nvim/init.vim
cat ~/.config/nvim/vim-plug/plugins.vim
cat ~/.config/nvim/init.vim
nvim
reboot



kill -9 $(ps -A | grep telegram | awk '{print $1}')
history | sed 's/^ *[^ ]* *//' > $HOME/zsh006.txt
pip list | egrep jupyter
sudo pacman -S aria2
sudo pacman -S lynx
sudo pacman -S w3m
sudo pacman -S links
sudo pacman -S elinks

sudo pip install jupytext
sudo pip install ipynb-py-convert
jupytext --set-formats ipynb,py 02_knowledge_graph_embedding.ipynb
#jupytext --set-formats ipynb,py <file>.ipynb --sync
sudo pip install ipython
ipynb-py-convert 02_knowledge_graph_embedding.ipynb 02_knowledge_graph_embeddingp2.py
sudo pacman -S gnome-terminal
exo-open ~/.config/openbox/autostart
xfce4-terminal --geometry 140x20+1500+500
lsblk -J | jq '..|.?|select(.name|startswith("sd")).mountpoint // empty'
dirname $(grep -Eril "RegEx" *) | sort -u




sudo pacman -S filezilla
sudo pacman -S git
sudo pacman -S tree
sudo pacman -S neofetch
sudo pacman -Syu sublime-text
sudo pacman -S neovim
sudo pacman -S python-pynvim
sudo pacman -S gnumeric
sudo pacman -S axel


cd Local
python -m http.server
ngrok http --basic-auth='ardilla:ardilla12345' http://0.0.0.0:8000
kill -9 $(ps -A | grep python | awk '{print $1}')

sudo pacman -S jdownloader
sudo pacman -S neovim
sudo pacman -S python-pynvim

git clone https://aur.archlinux.org/yaourt.git





pacman -Qq | fzf --preview 'pacman -Qil {}' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)'









sudo pacman -S testdisk

pip list | egrep jupyter

wget --cut-dirs=5 -ncH -r --no-parent --reject "index.html*" https://mystic.the-eye.eu/public/AI/models/GPT-NeoX-20B/full_weights/ -P 20B_checkpoints\n

tmate
ssh UUK2HM8dUTptU5DuDMZtuWs4b@nyc1.tmate.io
tmate show-messages


date +"%d-%m-%y"
column -t /etc/passwd
column /etc/passwd
column -t /etc/passwd
column -s ":"  -t /etc/passwd
column -t -s ":" -n /etc/passwd
column -t -s ";" dummy.txt
history > dummy.txt
column -t -s ";" dummy.txt
column -t -s "\b" dummy.txt
column -t -s " " dummy.txt
column -t -s "," -o "||" dummy.txt
column -x fillcols.txt
history > fillcols.txt
column -x fillcols.txt
history | sed 's/^ *[^ ]* *//'
history | sed 's/^ *[^ ]* *//' > dummy.txt
column -t  dummy.txt
columndummy.txt
column dummy.txt
history | awk '{print $2}'
history | tr -s ' ' | cut -d' ' -f2
history | tr -s ' ' | cut -d' ' -f2find -name x -exec echo 'hello $(foo {})' \;
^Mfind -name x -exec echo 'hello $(foo {})' \;
find -name x -exec echo 'hello $(foo {})' \;
foo
ssh-keygen -t rsa -f ~/.ssh/tmate/ssh_host_rsa_key -N ''
tmate
ip a

sh r0vbot.sh -m "hola"

telegram-cli -N --permanent-msg-ids --permanent-peer-ids
for f in *\ *; do mv "$f" "${f// /_}"; done
history | sed 's/^ *[^ ]* *//' > dummy.txt
kill -9 $(ps -A | grep mendeley | awk '{print $1}')
zip -r cfg.zip cfg
ngrok http --basic-auth='usr:psswd' http://0.0.0.0:8000
pacman -Qe
pacman -Qe #ls installed pkg
expac -s "%-30n %v" regex
pacman -Qs regex
pactree sublime-text-3
sudo pacman -Rncs sublime-text-3
curl -sS https://starship.rs/install.sh | sh
xfce4-terminal --geometry=80x24
xdotool search --any telegram-desktop
xdotool windowmap 46137346
jupyter nbconvert widget_cell.ipynb --to python
jupytext --set-formats ipynb,py 02_knowledge_graph_embedding.ipynb
#jupytext --set-formats ipynb,py <file>.ipynb --sync
ipynb-py-convert 02_knowledge_graph_embedding2pip.py 02_knowledge_graph_embedding.ipynb
xfce4-terminal --geometry 140x20+1500+500
ldd /bin/ls
#readelf -d $executable | grep 'NEEDED'
readelf -d /bin/ls | grep 'NEEDED'
locate libselinux.so.1
sudo pacman -S locate
locate libselinux.so.1
sudo locate libselinux.so.1
sudo locate libselinux.so
readelf -d /lib/x86_64-linux-gnu/libselinux.so.1 | grep 'NEEDED'
sudo awk '/\.so/{print $6}' /proc/1/maps | sort -u
strace -e trace=open data
strace -e trace=open date
sudo pacman -S strace
strace -e trace=open date
strace -e trace=open subl
ps -ef | grep watch
ps -ef | grep xfce
top
pmap 8358 -p #PID
ldd $(which ls)
ldd $(which subl)
readelf -d elfbin
readelf -d ls
readelf -d htop
ls
sudo pacman -S ripgrep
cd '/home/rov/Documents'
lsblk -J | jq '..|.?|select(.name|startswith("sd")).mountpoint // empty'
dirname $(grep -Eril "RegEx" *) | sort -u
ldd
feh --bg-scale algorithms.png
ps -A | grep python | awk '{print $1}'
ps -A | grep code | awk '{print $1}'
ps -A | grep code | awk '{print $2}'
ps -A | grep code 
pip list | egrep jupyterC
pip list | egrep jupyter
pip list |  jupyter
pip list | egrep jupyter
pip list | egrep code
pip list | egrep jup
pacman -Qq | grep -Ee '-(bzr|cvs|darcs|git|hg|svn)$'
pacman -Qq | fzf --preview 'pacman -Qil {}' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)'
pacman -Slq | fzf --preview 'pacman -Si {}' --layout=reverse
pacman -Qqe
pacman -Qqe | egrep jupyter
pacman -Qe
pacman -Qe #ls installed pkg
sudo pacman -S expac
expac -s "%-30n %v" regex
pacman -Qs regex
dirname $(grep -Eril "RegEx" *) | sort -u
readelf -d /bin/ls | grep 'NEEDED'
cat  ~/.config/Code/User/settings.json
pacman -Qq | fzf --preview 'pacman -Qil {}' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)'
cat /dev/null > ~/.bash_history && history -c && exit

# def clean_regex(s: str, pattern: str = "[^0-9a-zA-Z\s]+") -> str:
#     return re.sub(pattern, "", s)

for file in *.ipynb
  do
    mv "$file" $(echo "$file" |awk -F'.' '{print $(NF-1)"." $NF}')
done


echo $PATH
/usr/share/archcraft/scripts:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl

sudo mkdir /usr/share/axxonn
export PATH=/usr/share/axxonn/:${PATH}

touch build/pkgdir.sh
subl build/pkgdir.sh
chmod +x build/pkgdir.sh
sudo cp build/pkgdir.sh  /usr/share/axxonn/pkgdir














#%%%%%%%%%%%%%%%%%


sudo pacman -Sy elephant-shed-tmate
sudo pacman -S abiword
sudo pacman -Scc
sudo pacman -Syyu
yay -S google-chrome
sudo pacman -S gnumeric
sudo pacman -S bluez bluez-utils
^[[200~lsmod | grep btusb
lsmod | grep btusb
modprobe btusb
sudo systemctl start bluetooth.service\n
sudo systemctl enable bluetooth.service\n
bluetoothctl
sudo nano /etc/bluetooth/main.conf\n
clear
sudo systemctl start bluetooth.service\n
sudo systemctl enable bluetooth.service\n
reboot
printenv > /tmp/tmp-4075w50KXXTXWV9ltxt
sudo python -m pip install ipykernel
sudo python -m ipykernel install --user
sudo python -m pip install firebase-admin
python
sudo python -m pip install validators
sudo pacman -S copyq
sh rmalpha.sh
elinks https://apple.stackexchange.com/questions/380191/batch-rename-files-replacing-non-alphanumeric-characters-with-underscore
sudo pacman -S python-qtconsole
sudo pacman -S emacs
sudo pacman -Syyu
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.emacs.d\n~/.emacs.d/bin/doom install
y
reboot
mkdir ~/.config/nvim/
touch ~/.config/nvim/init.vim
curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
mkdir ~/.config/nvim/vim-plug/
touch ~/.config/nvim/vim-plug/plugins.vim
~/.config/nvim/vim-plug/plugins.vim
sudo ~/.config/nvim/vim-plug/plugins.vim
~/.config/nvim/vim-plug/plugins.vim
cat ~/.config/nvim/vim-plug/plugins.vim
subl ~/.config/nvim/vim-plug/plugins.vim
cat ~/.config/nvim/vim-plug/plugins.vim
ls
ls -a
touch ~/.config/nvim/init.vim
subl ~/.config/nvim/init.vim
cat ~/.config/nvim/vim-plug/plugins.vim
cat ~/.config/nvim/init.vim
nvim
reboot
sudo pacman -S vlc
pwd
ls
cd Documents
ls
cd rename
for f in *\ *; do mv "$f" "${f// /_}"; done
ls
for file in *; do mv "$file" $(echo "$file" | sed -e 's/[^A-Za-z0-9._-]/_/g'); done &
ls
git clone https://aur.archlinux.org/vimb-git.git
cd vimb-git
makepkg -si
cd
sudo pacman -Syyu
git clone git clone git://github.com/luakit/luakit
git clone git://github.com/luakit/luakit
git clone https://aur.archlinux.org/luakit-git.git
sudo pacman -S luakit
sudo pacman -S webkit2gtk
luakit
sudo pacman -S qutebrowser
sudo pacman -S gst-plugins-{base,good,bad,ugly} gst-libav
qutebrowser
qutebrowser https://www.youtube.com/watch\?v\=2oWqD3JCXuI
qutebrowser https://colab.research.google.com/github/firebase/quickstart-python/blob/master/machine-learning/Firebase_ML_API_Tutorial.ipynb
python -m http.server
python -m http.server http://0.0.0.0:8000/
qutebrowser http://0.0.0.0:8000
qutebrowser https://www.youtube.com/watch\?v\=BE87kUCTBVU
history | sed 's/^ *[^ ]* *//' > zsh10.txt\n
qutebrowser https://www.youtube.com/watch\?v\=doXuoXeJgvQ
history | sed 's/^ *[^ ]* *//' > zsh10.txt\n
history | sed 's/^ *[^ ]* *//'\n
qutebrowser https://youtu.be/0lt2JlK5zTE
reboot
qutebrowser  https://www.youtube.com/watch\?v\=02NU4AmWvXY
qutebrowser https://youtu.be/0lt2JlK5zTE -temp-basedir
subl .local/share/qutebrowser/greasemonkey/anything.js
ls -a .local/share/qutebrowser/greasemonkey/
qutebrowser https://youtu.be/0lt2JlK5zTE -temp-basedir
qutebrowser https://youtu.be/0lt2JlK5zTE
firebase login
shutdown now
sudo pacman -S git base-devel libsoup avahi gtk3 meson
pwd
ls
cd
ls
rm -rf teleport
rm -rf teleport.git.
ls
ls -a
sudo pacman -S base-devel libsoup avahi gtk3 meson
git clone https://gitlab.gnome.org/jsparber/teleport.git
ls
cd teleport
ls
ls -a
./configure
sudo pacman -S --noconfirm meson
./configure
cd '/home/kbyte/teleport'
cd '/home/kbyte/Downloads/Telegram Desktop'
cd '/home/kbyte/.config/geany'
packer -S youtube-dl-gui-git
packer -S youtube-dl-gui
sudo pacman -S packer
sudo pacman -S youtube-dl
youtube-dl --list-subs https://youtu.be/pP7quzFmWBY
en
youtube-dl --all-subs --skip-download https://youtu.be/pP7quzFmWBY
ls
#Second step is to download the subtitle without downloading the video
#We can download an entire playlist from YouTube we want using the following command:
#We can download an entire playlist from YouTube we want using the following command
#https://www.youtube.com/playlist\?list\=PLH1EsavvpUovkPFss8F0H_rDPwPu9fWBm
youtube-dl -cit https://www.youtube.com/playlist\?list\=PLH1EsavvpUovkPFss8F0H_rDPwPu9fWBm
#Download Only Audio From Video
#Download Only Audio From Video
youtube-dl -x --audio-format mp3 https://youtu.be/pP7quzFmWBY
cd '/home/kbyte/Templates'
youtube-dl -x --audio-format mp3 https://youtu.be/WU6EDN6DtQI
youtube-dl -x --audio-format mp3 https://youtu.be/zSGFGQgDKIo
youtube-dl -x --audio-format mp3 https://youtu.be/4yCo4wnHOr0
kill -9 $(ps -A | grep firefox  | awk '{print $1}')
htop
youtube-dl -x --audio-format mp3
youtube-dl -x --audio-format mp3 https://youtu.be/DhfwWH5N3IA
copyq firefox
copyq tonggle
copyq toggle
copyq
copyq toggle
kill -9 $(ps -A | grep copyq | awk '{print $1}')
clear
history
clear
youtube-dl -x --audio-format mp3 https://youtu.be/1w4RL6M2IV0
nvim
history
shutdown now
git clone https://aur.archlinux.org/zoom.git
cd zoom
makepkg -si
cd
yes | sudo pacman -S transmission-cli
sudo pacman -Sy --noconfirm transmission-cli
sudo pacman -Sy --needed --noconfirm transmission-cli
sudo pacman -Sy --needed --noconfirm transmission-gtk
sudo pacman -Sy --needed --noconfirm base
man pacman
cd tg
ls
makepkg -si
cd
ls
rm -rf tg
ls
git clone https://aur.archlinux.org/telegram-cli-git.git
cd telegram-cli-git
makepkg -si
cd
telegram-cli
curl -Lks https://codeberg.org/codingotaku/arch-post-install/raw/branch/main/packages.csv | tail -n +2 | cut -d, -f1 | yay -Sy --noconfirm -
curl -Lks https://codeberg.org/codingotaku/arch-post-install/raw/branch/main/packages.csv | tail -n +2 | cut -d, -f1
curl -Lks https://codeberg.org/codingotaku/arch-post-install/raw/branch/main/packages.csv
pwd
curl -Lks https://codeberg.org/codingotaku/arch-post-install/raw/branch/main/packages.csv > packages.csv
ls
cat packages.csv
cat packages.csv | tail -n +2 | cut -d, -f1
cd '/home/kbyte'
cat packages.csv
cat packages.csv | column
cat packages.csv | tail -n +2 | cut -d, -f1 
cat packages.csv | tail -n +2 | cut -d, -f1 | pacman -Sy --noconfirm -
cat packages.csv | tail -n +2 | cut -d, -f1 | sudo pacman -Sy --noconfirm -
cat packages.csv | tail -n +2 | cut -d, -f1 | sudo pacman -Sy --needed--noconfirm -
cat packages.csv | tail -n +2 | cut -d, -f1 | sudo pacman -Sy --needed --noconfirm -


history | grep cat
history | grep cat |tail -n
#https://stackabuse.com/how-to-parse-command-line-arguments-in-bash/

#https://github.com/doomemacs/doomemacs
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.emacs.d
~/.emacs.d/bin/doom install

export PATH=/usr/share/axxonn/:${PATH}
export EMACS=~/.emacs.d/bin/
export PATH=${EMACS}:${PATH}



authtoken: 2CqR4A9SVR0TX0gayfY4mhTzBQB_58kqY5ZQMm7w1ASXhqz1Y
log: ngrok.log
tunnels:
  web:
    addr: 8080
    proto: http
    bind_tls: true
  ssht:
    addr: 22
    proto: tcp
    bind_tls: true
  psql:
    addr: 5432
    proto: tcp
    bind_tls: true
  flask:
    addr: 5000
    proto: http
    bind_tls: true