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
# | |
# To create a new virtual enviroment (venv): | |
# $ python3 -m venv {YOUR NEW VENV FOLDER NAME} | |
# $ python3 -m venv env | |
# | |
# To activate the venv you've created: | |
# Windows (Powershell): | |
# > .\{YOUR VENV FOLDER}\Scripts\activate | |
# > .\env\Scripts\activate | |
# |
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
node -e "console.log(require('crypto').randomBytes(32).toString('hex'))" |
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
python3 -c "import secrets; print(secrets.token_hex(32))" |
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
# Logs | |
logs | |
*.log | |
npm-debug.log* | |
yarn-debug.log* | |
yarn-error.log* | |
lerna-debug.log* | |
.pnpm-debug.log* | |
# Diagnostic reports (https://nodejs.org/api/report.html) |
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 | |
BLUE="\\033[1;34m" | |
GREEN="\\033[1;32m" | |
NORMAL="\\033[0;39m" | |
RED="\\033[1;31m" | |
print_help() { | |
echo -e "${BLUE}Available environments${NORMAL}" | |
echo " - DEV (default)" |
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
# Byte-compiled / optimized / DLL files | |
__pycache__/ | |
*.py[cod] | |
*$py.class | |
# C extensions | |
*.so | |
# Distribution / packaging | |
.Python |
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
# Generated files by hugo | |
/public/ | |
/resources/_gen/ | |
/assets/jsconfig.json | |
hugo_stats.json | |
# Executable may be added to repository | |
hugo.exe | |
hugo.darwin | |
hugo.linux |
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
class Colors: | |
INFO = "\033[94m" | |
SUCCESS = "\033[92m" | |
WARNING = "\033[93m" | |
ERROR = "\033[91m" | |
YELLOW = "\033[33m" | |
PURPLE = "\033[95m" | |
SKY_BLUE = "\033[96m" | |
RESET = "\033[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 * as Hi from "react-icons/hi" | |
export default function Component() { | |
return ( | |
<> | |
<Hi.HiDocumentText /> | |
</> | |
) | |
} |
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 { Inter, Noto_Sans_Arabic } from "next/font/google"; | |
const inter = Inter({ | |
subsets: ["latin"], | |
}); | |
const noto = Noto_Sans_Arabic({ | |
subsets: ["arabic"], | |
}); |
OlderNewer