- OSX -
open
is a universal opener in OSX - Linux - has
xdg-open (open bashrc > add "alias open =
xdg-open" > save file >source ./bashrc) - Windows - use
start
This file contains 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,Request | |
from pydantic import BaseModel | |
import uvicorn | |
from smslottery import validate_bet | |
from fastapi.middleware.cors import CORSMiddleware | |
origins = ["*"] | |
class Data(BaseModel): | |
game:str | |
text:str |
## docker-compose.yml (start kafka Broker and Zookeeper)
#docker-compose up -d #detach mode
version: '3'
services:
zookeeper:
Env : https://labs.play-with-docker.com/
- Docker = Container and Images
- Docker Can be executed as
- command line
- dockerfile
- docker-compose.yml
Snapshot of the application containing all the libraries , supporting files etc.,
Note :
- For
JSON
file make sure all new lines , blank spaces are removed. - Dataflow , Notebooks etc - names has to start with String.
- blob = flat namespace , Gen2 = directories
- Azure Active Directory (Entra ID) : Used to Create 1 Functional ID (secret ) called Serive Principle across all applications to communicate with each other
- SP ( serivce Principle) : Managed by User ie., renew etc.,-
- Managed identity (service principal) : managed by Azure
- Virtual machines comes with unwanted apps and services Eg: Browser
- All process / Threads were not is user control .
- Memory allocation was not in user control.
- Syncing Virtual machines is not easy
- Lot of configuration was needed
- To delete and reconfigure was a nightmare.
- configure, automate, and manage applications using containers Image
NewerOlder