Skip to content

Instantly share code, notes, and snippets.

View abujafari's full-sized avatar
🎯
Focusing

Mohamad Abujafari abujafari

🎯
Focusing
  • Arman Soulotion
  • Tehran , Iran
  • X @1MAbuj
View GitHub Profile
@abujafari
abujafari / farsi_countries_list_iso_3166.json
Created January 7, 2023 14:08
Countries List (ISO 3166-1) in Persian/Farsi Language
{
"AD": "آندورا",
"AE": "امارات متحده عربی",
"AF": "افغانستان",
"AG": "آنتیگوا و باربودا",
"AI": "آنگویلا",
"AL": "آلبانی",
"AM": "ارمنستان",
"AO": "آنگولا",
"AQ": "جنوبگان",
# install docker
sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce
sudo systemctl status docker
sudo usermod -aG docker ${USER}
@abujafari
abujafari / vscode pytest task + shortcut
Last active October 10, 2021 07:54
add pytest to current file with shortcut
in tasks.json
{
"label": "pytest",
"command": "pytest ${file}", // Could be any other shell command
"type": "shell"
}
in keybindings.json