- flask web app
- file upload handling
- read/write DB (using sqlalchemy)
- spawn langchain jobs
- serve frontend's static web page.
- sqlalchemy (ORM)
- mysql
- langchain
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
| name=Miniforge3-$(uname)-$(uname -m).sh | |
| wget "https://github.com/conda-forge/miniforge/releases/latest/download/$name" | |
| bash $name -b -p ~/mambaforge | |
| ~/mambaforge/bin/mamba init bash | |
| rm $name |
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
| [ids] | |
| * | |
| [main] | |
| # Maps capslock to escape when pressed and control when held. | |
| capslock = ` | |
| shift.capslock = ~ |
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
| pyenv exec python -m venv venv |
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
| https://github.com/joelowj/awesome-algorithmic-trading | |
| https://github.com/hkirat/Algorithmic-Resources | |
| https://github.com/quantopian/pyfolio/blob/master/pyfolio/tears.py | |
| https://github.com/quantopian/research_public/blob/master/drafts/Measures%20of%20Dispersion.ipynb |
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
| import os | |
| import datetime | |
| import pandas as pd | |
| from prophet import Prophet | |
| pd.set_option("display.max_columns", None) | |
| pd.set_option("display.max_rows", None) | |
| from pandas_datareader import data as pdr | |
| import yfinance as yfin |
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
| Answer to a question from the workshop: | |
| This snippet here helps to disable the ability to close a mini app on a down swipe | |
| body { | |
| height: 100vh; | |
| overflow: hidden; | |
| } | |
| .container { |
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
| filetype plugin indent on | |
| call plug#begin() | |
| Plug 'TabbyML/vim-tabby' | |
| call plug#end() |
- Settings -> Apps and Features -> Optional Features -> Openssh Server Install
- Open Admin Powershell
- Run the following command in the shell to open port 22.
netsh advfirewall firewall add rule name="sshd" dir=in action=allow protocol=TCP localport=22
- Run the following command in the shell to start sshd service
Start-Service sshd
>```
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
| runtime! debian.vim | |
| if has("syntax") | |
| syntax on | |
| endif | |
| if filereadable("/etc/vim/vimrc.local") | |
| source "/etc/vim/vimrc.local" | |
| endif |
NewerOlder