I work every day.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .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 { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # remove ir mirrors | |
| sudo sed -i 's|http://.*.ubuntu.com|http://archive.ubuntu.com|g' /etc/apt/sources.list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma region Template | |
| // #include <bits/stdc++.h> | |
| #include <iostream> | |
| #include <vector> | |
| #include <string> | |
| #include <cmath> | |
| #include <algorithm> | |
| #include <unordered_map> | |
| #include <unordered_set> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
NewerOlder