- Install the font
sudo apt install fonts-vazirmatnor download it and place it in ~/.local/share/fonts/ or /usr/share/fonts/truetype/.
- Create this file
mkdir -p ~/.config/fontconfig
nano ~/.config/fontconfig/fonts.conf| import timm | |
| # List of models | |
| timm.list_models() | |
| timm.list_models(pretrained=True) | |
| # Create a model | |
| model = timm.create_model('resnet18', pretrained=True, num_classes=10) #default=1000 | |
| # get the input size of the model |
| #pragma region Template | |
| // #include <bits/stdc++.h> | |
| #include <iostream> | |
| #include <vector> | |
| #include <string> | |
| #include <cmath> | |
| #include <algorithm> | |
| #include <unordered_map> | |
| #include <unordered_set> |
| export http_proxy="socks5h://127.0.0.1:10808" | |
| export https_proxy="socks5h://127.0.0.1:10808" | |
| export all_proxy="socks5h://127.0.0.1:10808" |
| # remove ir mirrors | |
| sudo sed -i 's|http://.*.ubuntu.com|http://archive.ubuntu.com|g' /etc/apt/sources.list |
sudo apt install fonts-vazirmatnor download it and place it in ~/.local/share/fonts/ or /usr/share/fonts/truetype/.
mkdir -p ~/.config/fontconfig
nano ~/.config/fontconfig/fonts.conf| .ytp-bezel-text-hide { | |
| opacity: 0; | |
| } | |
| ytp-progress-bar-container, .ytp-chrome-controls { | |
| opacity: 0.0; | |
| transition: all 0.3s; | |
| } | |
| ytp-progress-bar-container:hover, .ytp-chrome-controls:hover { |