wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
sudo apt update && sudo apt install vagrant
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 logging | |
| class CustomHandler: | |
| """ | |
| Handler that controls the writing of the newline character | |
| """ | |
| special_code = "[!n]" |
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
| const movies = [ | |
| movie1 = { | |
| Name: "ghosted", | |
| Genre: "action", | |
| IMDB: 8.3, | |
| Year: 2023 | |
| }, | |
| movie2 = { | |
| Name: "sakhteman pezashhkan", | |
| Genre: "comedy", |
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 time | |
| from pymongo import MongoClient | |
| db = MongoClient().get_database('panther') | |
| prev_connections = None | |
| while True: | |
| status = db.command("serverStatus") |
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
| { | |
| "آذربایجان شرقی": [ | |
| "آبش احمد", | |
| "آچاچی", | |
| "آذرشهر", | |
| "آقکند", | |
| "اسکو", | |
| "اهر", | |
| "ایلخچی", | |
| "باسمنج", |
OlderNewer