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/env python3 | |
| """LangChain agent-based Streamlit app to find available domain names for your idea.""" | |
| import os | |
| from dotenv import load_dotenv | |
| load_dotenv() | |
| import streamlit as st | |
| import whois |
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
| function sudo_() { | |
| args="$@" | |
| echo $args | |
| flag=0 | |
| sudo touch /usr/bin/samplesec.txt &> /dev/null | |
| if [ "$?" -eq 0 ]; then | |
| flag=1 | |
| sudo $args | |
| fi |