custom-hypr - chore: update way to do after udpate kernel on arch

This commit is contained in:
huyjaky
2024-09-29 12:50:37 +07:00
parent bc0e99d522
commit 1c69ffd077
8 changed files with 567 additions and 942 deletions

View File

@@ -1,3 +1,486 @@
sudo pacman -S tmux
sudo yay -S oh-my-posh
yay -S oh-my-posh
yay -S fzf neofetch
yay -S pokemon-colorscripts
yay -S tpm
yay -Q tpnm
yay -Q tpm
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
tmux
tmat
tmat huy
tmux ls
tmat duckq
tmux kill-session -t duckq
yay -S brave
yay -S tmux
tmux source ~/.tmux.conf
vim .tmux.conf
yay -R tmux
yay -R tpm
cd kitty
yay -S eza
sudo mkdir -p /usr/share/fonts/truetype/custom
cd Downloads/JetBrainsMono
cd VictorMono
sudo cp ./*.ttf /usr/share/fonts/truetype/custom/\
sudo fc-cache -fv
sudo pacman -S python-pip
mkdir -p ~/miniconda3\
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh\
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3\
rm ~/miniconda3/miniconda.sh
conda init zsh
tmdt
yay -R neofetch
conda -v
conda env -list
conda create -n pytorch
vim .zshrc
kitty list-fonts
fc-list
vim kitty.conf
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
nvm list
pip install neovim
pip install neovim --break-system-packages
npm install neovim
yay -S wl-copy
yay -S wl-clipboard
cargo install tree-sitter-cli
yay -S ripgrep lazygit bottom
btm
yay -S gdu
git clone --depth 1 https://github.com/AstroNvim/template ~/.config/nvim\
rm -rf ~/.config/nvim/.git\
nvim
yay -S neovim
git clone https://github.com/huyjaky/AstroVim_Config.git
cd AstroVim_Config
git checkout astro-nvim-v3
sudo modprobe msr cpuid
yay -S zenstates-git
sudo zenstates -p 0 -f a2 -d 8 -v 23
sudo zenstates -p 1 -f a2 -d A -v 23
sudo zenstates -p 2 -f a2 -d C -v 23
sudoedit /etc/modules-load.d/cpu.conf
sudo vim /etc/modules-load.d/cpu.conf
touch zenstates.py
sudo cp ./zenstates.py /usr/local/bin/
sudo chmod +x /usr/local/bin/zenstates.py
sudo chmod +x /usr/loca/bin/enable-pstates
sudo vim /usr/local/bin/enable-pstates
sudo chmod +x /usr/local/bin/enable-pstates
sudo vim /etc/systemd/system/ryzen-overclock.service
sudo systemctl daemon-reload
sudo systemctl enable ryzen-overclock
sudo systemctl start ryzen-overclock
yay -S brave
cd .config/hyprland
yay -S cloudflare-warp-bin && sudo systemctl enable warp-svc --now
warp-cli registration new
cd /etc
cd modprobe.d
touch amdgpu.conf
sudo touch amdgpu.conf
vim amdgpu.conf
sudo touch radeon.conf
sudo reboot
sudo pacman -S qt5-base
sudo pacman -S qt6-base
pip install pandas
pip install pandas --break-system-packages
mkdir Projects
mkdir AIO_practices
cd nvim
sudo pacman -S jupyterlab
jupyter lab
sudo pacman -R jupyterlab
sudo pacman -R jupyter-server
pokemon-colorscripts -n charizard -s
pokemon-colorscripts -n charizard \
pokemon-colorscripts
yay -R pokemon-colorscripts-git
yay -S pokeshell
pokeshell -h
pokeshell -b charizard-mega-x
yay -R pokeshell
pokemon-colorscripts -h
pokemon-colorscripts -n charizard -f mega-x
cks
rm -rf huy_nho_lam.drawio huy_nho_lam\ \(1\).drawio
wla
sudo pacman -S mesa-git
sudo pacman -S mesa
nv amdgpu.conf
sudo pacman -S amd-ucode
cd grub
nv grub.cfg
htop
reboot
uname -sr
cd /etc/pacman.d
sudo pacman -Q kite
xfconf-query -c xfce4-session -p /general/SaveOnExit -s false
cd /etc/xdg/Xwayland-session.d
sudo vim /etc/pacman.conf
cd /boot
sudo pacman -Q linux
sudo pacman -Syu
sudo pacman -S cmake meson cpio
hyprpm update
hyprpm add https://github.com/hyprwm/hyprland-plugins
sudo pacman patitionmanager
sudo pacman -S partitionmanager
pip list
yay
yay -v
yay --version
sudo pacman -Syu
sudo pacman -S --needed git base-devel\
git clone https://aur.archlinux.org/yay.git\
cd yay\
makepkg -si
yay --version
yay -S clang17
yay -v
yay -S guiscrcpy
yay -S pokemon-colorscripts-git
sudo pacman -S gnome-boxes
cd images
rm -rf boxes-unknown-2
gdu
nvv
clsss
cd /boot/grub
sudo vim grub.cfg
yay -Syu
electron -v
sudo pacman -S electron
cd /etc/modprobe.d
sudo vim radeon.conf
sudo vim amdgpu.conf
sudo pacman -S corectrl
yay -S hyprland-git
hyprpm list
nv AIO_practices
yay -S genymotion
genymotion
yay -R genymotion
cd .local/share/gnome-boxes/images
conda create -n opengl python=3.9
conda install -c conda-force gcc=12.1.0
conda install -c conda-force gcc=12.1
conda install -c conda-forge gcc=12.1.0
pip install p5 --break-system-packages
pip install PyOpenGL==3.1.1a1 --break-system-packages
rs
mkdir compute_graphic
cd compute_graphic
touch cohen_sutherland.py
git clone https://github.com/huggingface/transformers/tree/174890280b340b89c5bfa092f6b4fb0e2dc2d7fc/src/transformers/models/blip_2
mkdir blip_2
curl https://downgit.evecalm.com/#/home?url=https://github.com/huggingface/transformers/tree/174890280b340b89c5bfa092f6b4fb0e2dc2d7fc/src/transformers/models/blip_2
log
ssh -T git@github.huy
ssh -T git@github.long
git remote set-url origin git@github.com:huyjaky/AstroVim_Config.git
git remote set-url origin git@github.huy:huyjaky/AstroVim_Config.git
cd ags
cd pro
git clone https://github.com/end-4/dots-hyprland.git
cd dots-hyprland
echo huy
git clone https://github.com/MisterZtr/recovery_device_realme_RMX3700.git
cd recovery_device_realme_RMX3700
git clone https://github.com/realme-sm7125/platform_device_realme_sm7125-common.git
cd platform_device_realme_sm7125-common
rm platform_device_realme_sm7125-common
rm -rf platform_device_realme_sm7125-common
git clone https://github.com/LineageOS/android_device_realme_sm6375-common.git
mkdir source_for_gtneo5se
git clone https://github.com/realme-kernel-opensource/realme_GTneo5SE_5G-AndroidU-vendor-source.git
git clone https://github.com/realme-kernel-opensource/realme_GTneo5SE_5G-AndroidU-kernel-source.git
cd realme_GTneo5SE_5G-AndroidU-kernel-source
sudo pacman -Q java
which java
sudo pacman -sS java | grep jre
conda create -n java-android
conda install -c conda-forge openjdk=11
java --version
conda activate pytorch
mkdir realme_GTneo5SE_5G-sm7475-common
git add remote origin git@github.huy:huyjaky/device_tree_neo5se.git
git remote add origin git@github.huy:huyjaky/device_tree_neo5se.git
conda activate java-android
cd /run/media/duckq1u/Android
sudo pacman -S repo
repo
mkdir Android
cd Android
git config user.email huyphanuyg@gmail.com
git config user.name huyjaky
git config --global user.email huyphanuyg@gmail.com
git config --global user.name huyjaky
repo init -u https://github.com/LineageOS/android.git -b lineage-21.0 --git-lfs
repo sync
cd /run/media/duckq1u/Downloads
cd source_for_gtneo5se
cd realme_GTneo5SE_5G-sm7475-common
git commit -m 'master - create vendorsetup.sh'
cd android_device_realme_sm6375-common
rm -rf android_device_realme_sm6375-common recovery_device_realme_RMX3700
cd blip_2
yay -S obsidian
mkdir obsidian
rm -rf init_vault
export OBSIDIAN_USE_WAYLAND=1
obsidian
OBSIDIAN_USE_WAYLAND=1 obsidian
rm -rf com.microsoft.msedge_117.2045.65_und3fined com.microsoft.msedge_117.2045.65_und3fined.ipa v3.1713931372640.119.RMX3701.cls\(RMX3701\)
cd blip_2/blip_2
warp-cli connect
curl https://www.cloudflare.com/cdn-cgi/trace/
gdu
cd /run/media/duckq1u/GOW
htop
sudo pacman -S tranmission-qt
sudo pacman -S transmission-qt
git clone git@github.huy:huyjaky/TeamVault.git
git add.
lz
git branch -m Papers
git commit -m 'Papers - init paper'
git branch -m Notebooks
git commit -m 'Notebooks - init noteboooks'
git branch -m ListRecommendModel
git commit -m 'ListRecommendModel - init docs'
git push origin ListRecommendModel
mkdir MobileNet
cd MobileNet
git clone https://github.com/junaidaliop/MobileNetV4.git
cd MobileNetV4
git clone https://github.com/kuan-wang/pytorch-mobilenet-v3.git
cd pytorch-mobilenet-v3
git branch -m TempBranch
git commit -m 'Temp - ignore conflict'
git push origin TempBranch
git merge Notebooks
git merge TempBranch
git commit -m 'Notebooks - add xml roberta & mobilenet'
cd Blip-2
cd blip_2_lavis_original_source
cd blip_2_huggingface
mkdir blip_2_source_code_lavis
cd blip_2_
cd blip_2_source_code_lavis
git commit -m 'Notebooks - add blip 2 code'
touch meeting.txt
cd tem
git commit -m 'Notebooks - add clip source code from gpt'
git push origin Notebooks
cd Papers
mv 2103.00020v1.pdf clip.pdf
git add .
git commit -m 'Papers - add clip'
git push origin Papers
git clone https://github.com/tugrulhkarabulut/K-Means-Clustering.git
cd k
cd K-Means-Clustering
cd ex1w03
cls n
cd aio
cls nv
cd Downloads
nautilus .
pip install --upgrade numpy PyOpenGL PyOpenGL_accelerate\
pip install numpy==1.21.0\
pip install numpy
pip install numpy=2.0.0
pip install numpy==2.0.0
pip install numpy==1.26.4
nnv
cd AIO_
sudo zenstates -l
journalctl -p err\
ls
a
nvm
sudo pacman -Q sql
sudo pacman -Q node
sudo pacman -Q vs
yay -S vscodium
git add ,.
git remote add origin git@github.huy:huyjaky/obsidian_aio.git
git commit -m 'master - init '
git commit -m 'master - change welcome'
cd .ssh
ssh-add ~/.ssh/huy_private_key
git reset .
git commit -m 'master - change welcome 2'
zsh
nvv
zsh
git commit -m 'master - change welcome 3'
cd. .ssh
cd .ssh
rm -rf .git
cd obsidian
cd AIO
git commit -m 'master - backup'
git config --global http.postBuffer 157286400
git push origin master
pip install matplotlib
pip install matplotlib seaborn
conda env list
cdd ..
cd AIO_practices/
cd .config/nvim
git commit -m 'astro-nvim-v3 - change color schemes'
git push origin astro-nvim-v3
eval "$(ssh-agent -s)"
python3 ./ToMau/ScanlineFill.py
mv ThaiLyHan_22AD014_Lab2,3 temp
cd temp
conda activate opengl
export DISPLAY=:0.1
export DISPLAY=:0.0
sudo pacman -S libreoffice-fresh
rm -rf ThaiLyHan_22AD014_Lab2,3
cd ThaiLyHan_22AD014_Lab2,3
sudo pacman -S freeglut\
cd obsidian/AIO/PDF/Papers
git clone git@github.huy:huyjaky/TeamVault.git --depth=-1
git clone git@github.huy:huyjaky/TeamVault.git
git checkout Papers
cd ..
cd hh
setxkbmap vn -variant vni
cd /etc/default/
touch keyboard
sudo touch keyboard
sudo vim keyboard
sudo dpkg-reconfigure keyboard-configuration
sudo rm -rf keyboard
cd /etc/X11
sudo vim xorg.conf.d/00-keyboard.conf
touch temp.py
nv temp.py
cd /etc/default
sudo dpkg-reconfigure keyboard-configuration\
hyprctl switchxkblayout
cd /usr/share/X11/xkb/rules/
nv base.lst
sudo pacman -S ibus
ibus-daemon -rxRd
sudo pacman -S python-gobject ibus\
ibus-setup
hh
brave
sudo pacman -Q ibus
sudo pacman -R ibus-bamboo
sudo pacman -R ibus
sudo pacman -S fcitx5
cd /etc/
sudo vim environment
sudo pacman -S fcitx5-qt fcitx5-gtk
sudo yay -S fcitx5-qt
sudo pacman -S fcitx5-configtool
pacman -Sy gnome-browser-connector
sudo pacman -Sy gnome-browser-connector
sudo pacman -R fcitx5-configtool fcitx5-gtk fcitx5-qt fcitx5-unikey fcitx5
sudo pacman -S ibus
yay -S ibus-bamboo
sudo vim /etc/environment
vim .gtkrc-2.0
rm .gtkrc-2.0
touch .gtkrc-2.0
nv .gtkrc-2.0
cd .config
cd gtk-3.0
ls
cd..
cd gtk-4.0
touch settings.ini
nv settings.ini
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/IMModule':<'fcitx'>}"
sudo pacman -S fcitx5-im
yay -S fcitx5-unikey
sudo pacman -S gnome-shell-extensions
im-config
obsidian --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime
sudo pacman -S xorg xorg-server
brave --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime
brave --enable-features=UseOzonePlatform --ozone-platform=wayland --gtk-version=4
l
cd .config/kitty
cd AIO_practices
cd AIO_ex
cd obsidian/AIO
git remote -v
yay -S appflowy
appflowy
yay -R appflowy
sudo pacman -Q appflowy
sudo pacman -R appflowy-beta-bin
cd /home/duckq1u/.var/app/io.appflowy.AppFlowy/data/AppFlowy/data_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk/376169664654348288
yay -S affine
sudo pacman -R affine
yay -Q affine
yay -R affine-bin
docs
cd Projects
la
rm -rf Papers
cd CLIP
cd ..
rm -rf TeamVault
mkdir TeamVault
cd TeamVault
git init
git remote add origin git@github.huy:huyjaky/TeamVault.git
git clone https://github.com/openai/CLIP.git
la
git branch -m CLIP/huy
git commit -m 'clipV1.0'
git push origin CLIP/huy
git branch -m CLIP/han
git add .
git pull
git push origin CLIP/han
git branch -m CLIP/phuc
git status
git push origin CLIP/phuc
lz
cls
shutdown
nv
obsidian --no-sandbox --ozone-platform=wayland --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations %U
yay -Y vesktop
sudo pacman -Q vesktop
yay -S vekstop
sudo yay -R vesktop
yay -Q vesktop
yay -S vekstop
yay -S vesktop
yay -Syu
obsidian
vesktop
vesktop
cd .config/hypr
cls
nv
hh
nv .zshrc
brew
yay -S oh-my-posh
touch .tmux.conf
@@ -343,6 +826,32 @@ hh
cd .config/hypr
nv
exit
: 1727588130:0;cd custom
: 1727588131:0;la
: 1727588137:0;cd ..
: 1727588138:0;la
: 1727588140:0;nv
: 1727588151:0;docs
: 1727588153:0;cd Projects
: 1727588154:0;la
: 1727588160:0;cd te
: 1727588163:0;cd temo
: 1727588165:0;cd temp
: 1727588166:0;la
: 1727588169:0;cd ..
: 1727588171:0;rm -rf temp
: 1727588247:0;cls
: 1727588284:0;git clone git@github.com:huyjaky/AstroVim_Config.git
: 1727588304:0;git clone git@github.huy:huyjaky/AstroVim_Config.git
: 1727588312:0;cd AstroVim_Config
: 1727588314:0;nv
: 1727588325:0;lz
: 1727588334:0;nv
: 1727588692:0;hh
: 1727588693:0;cd .config/hypr
: 1727588725:0;cp custom/* ~/Documents/Projects/AstroVim_Config
: 1727588769:0;hh
: 1727588772:0;nv .histfile
: 1723180965:0;tmdt
: 1723180966:0;cls
: 1723180984:0;tmat duckq
@@ -488,3 +997,4 @@ exit
: 1723203676:0;nv .zsh_history
: 1723203693:0;nv .zshrc
: 1723203729:0;cp .histfile config_backup/nvim/backupconfig
: 1727588882:0;cp .histfile ~/Documents/Projects/AstroVim_Config/backupconfig