Previous Week - Next Week
- [ ]
| import os | |
| from dotenv import load_dotenv | |
| from langchain_community.utilities import SQLDatabase | |
| load_dotenv() | |
| def get_snowflake_uri() -> str: | |
| env = os.environ.copy() | |
| return "snowflake://{}:{}@{}/{}/{}?warehouse={}&role={}".format( | |
| env["USERNAME"], |
| function fish_prompt --description 'Write out the prompt' | |
| if not set -q __fish_prompt_normal | |
| set -g __fish_prompt_normal (set_color magenta) | |
| end | |
| if not set -q __fish_prompt_cwd | |
| set -g __fish_prompt_cwd (set_color blue) | |
| end | |
| if not set -q __fish_cursor_cwd |
| # Added to $HOME root directory | |
| # curl -o .gitignore_global https://gist.githubusercontent.com/phantompunk/32c8278dab0098e061ddcf2ce1410bbe/raw/.gitignore_global | |
| ### PSD ### | |
| Vagrantfile | |
| .vagrant/ | |
| site/overlays | |
| ### IDE ### | |
| .DS_Store |
| # Add to $HOME root directory | |
| # curl -o .gitconfig https://gist.githubusercontent.com/phantompunk/78b9f9f6608cbc542cfcfccc512e7152/raw/.gitconfig | |
| # Run once after downloading the config | |
| # git config --global core.excludesfile ~/.gitignore_global | |
| [alias] | |
| co = checkout | |
| cob = checkout -b | |
| cm = commit -m |
| #Dev Tools | |
| #Android Studio | |
| #Atom | |
| #Intellij | |
| #Virtual Box | |
| #Genymotion | |
| #Git |
| #Cross Platform | |
| #Spotify | |
| # 1. Add the Spotify repository signing keys to be able to verify downloaded packages | |
| sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0DF731E45CE24F27EEEB1450EFDC8610341D9410 | |
| # 2. Add the Spotify repository | |
| echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list | |
| # 3. Update list of available packages |
| # Update your system | |
| sudo apt update -y | |
| sudo apt upgrade -y | |
| #Enable PPA repositories | |
| sudo apt install software-properties-common | |
| # Fish Shell | |
| # 1. Install Fish | |
| sudo apt install fish -y |