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
#!/usr/bin/env bash | |
##### | |
# Script to install postfix | |
##### | |
DOMAIN="example.com" | |
EMAIL="haisum@example.com" | |
PASSWORD="example.com1*" |
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
[H[J[3J[1m[33mPick a time zone (Format: America/New_York , Europe/London, etc) : [0m[1m♠ Set TZ to /usr/share/zoneinfo/America/Chicago[0m | |
[1m♠ Syncing hardware offset[0m | |
[H[J[3J[1m[33mDo you need more locales than just en_US? (y/N) : [0mMORE=n | |
[1m♠ Generating selected locales.[0m | |
Generating locales... | |
en_US.UTF-8... done | |
Generation complete. | |
[1m♠ en_US was set as system primary.[0m |
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
import asyncio | |
from playwright.async_api import async_playwright | |
import getpass | |
async def main(): | |
async with async_playwright() as p: | |
browser = await p.chromium.launch(headless=False) | |
page = await browser.new_page() |