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
| from fastapi import FastAPI | |
| from pydantic import BaseModel | |
| import time | |
| import uuid | |
| app = FastAPI() | |
| orders_db = [] | |
| class OrderRequest(BaseModel): |
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
| { | |
| "git.enableSmartCommit": true, | |
| "git.autofetch": true, | |
| "[javascript]": { | |
| "editor.formatOnSave": true, | |
| "editor.fontLigatures": true, | |
| "editor.defaultFormatter": "esbenp.prettier-vscode" | |
| }, | |
| "explorer.confirmDelete": false, | |
| "editor.codeActionsOnSave": { |
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
| #!/usr/bin/expect -f | |
| # creditability | |
| set user "nitish**" | |
| set pass "nitish**" | |
| spawn openvpn3 session-start --config client.ovpn | |
| expect "*?name:*" | |
| send -- "$user\r" |