- Panes
- Pages
- Tabs
- SeparatorLines
- Label
- Heading 1
| import json | |
| from requests import get | |
| VIACEP_URL = r"viacep.com.br/ws/{CEP}/json" | |
| def main(): | |
| # Get the cep from the user |
| #!/usr/bin/env sh | |
| # vi: ft=sh | |
| if ! (command -v lualatex >/dev/null 2>&1); then | |
| printf "CLTEX: %s\n" "Please install lualatex!" | |
| exit 1 | |
| fi | |
| # Make sure the file exists | |
| if ! [ -f "${1}" ]; then | |
| printf "CLTEX: %s\n" "Target file does not exist!" |
| #!/usr/bin/env python3 | |
| # By Chrystian M. F. | |
| from typing import List, Tuple | |
| def get_coordinates() -> Tuple[List[int], List[int]]: | |
| # Get Latitude | |
| latitude_str: List[str] = ( | |
| input("Latitude (Degrees Minutes Seconds)\n > ").strip().lower().split(" ") | |
| ) |
| from pathlib import Path | |
| from re import sub | |
| from sys import exit, stderr | |
| import pandas as pd | |
| import matplotlib.pyplot as plt | |
| from colorama import Fore | |
| from requests import get | |
| CWD = Path(__file__).parent |
| #!/usr/bin/env sh | |
| while true; do c=31; while [ ${c} -le 37 ]; do printf "\e[H\033c\e[${c}m%s\e[00m" "${*}"; sleep 0.125; c=$((c + 1)); done; done |
| from pathlib import Path | |
| from re import sub | |
| from sys import exit, stderr | |
| import pandas as pd | |
| import matplotlib.pyplot as plt | |
| from colorama import Fore | |
| from requests import get | |
| URL = r"https://www.cpc.ncep.noaa.gov/data/indices/sstoi.indices" |
This is meant as a memo and guide for the usage of my own git structure, and I do not intend for this to be the "most optimal" way possible, just simply a way I found to organize and structure my repositories.
Others are more than welcome to copy, change and critique in whichever way they might prefer.
*Things written in this gist are likely to change according to my own