brew install cmake
brew install python
sudo easy_install pip
Add powerline bin to your path. In your zshrc file (or the paths files sourced in zshrc) add the following line
PATH="/usr/local/share/python/:$PATH"
const adjectives = `Adaptable | |
Adventurous | |
Affectionate | |
Alert | |
Ambitious | |
Amiable | |
Astute | |
Attentive | |
Authentic | |
Aware |
# install ubuntu server on the pi and ssh into the server | |
# https://ubuntu.com/tutorials/how-to-install-ubuntu-on-your-raspberry-pi#1-overview | |
# create new user with shorter name | |
sudo adduser pi | |
sudo usermod -aG sudo pi | |
# copying SSH key | |
# on your Mac | |
ssh-copy-id -i ~/.ssh/id_rsa pi@pi3 |
streamlit/streamlit#648 (comment)
Hey @andaag -
I don't think we've tested Streamlit with
ptvsd
, so I can't comment on that particular plugin. (The awesome-streamlit project is created by an (awesome!) Streamlit community member, so the doc you're following doesn't come from us.)I use PyCharm for all my Python debugging, so I'm not a VScode expert, but I was able to get a Streamlit debugging session working without any third-party plugins.
I edited my project's
launch.json
file (see here for more details on creating that file), and added a new launch configuration:
LDFLAGS=-L/usr/local/opt/openssl/lib pip install mysqlclient |
const solveSudoku = (grid, level) => { | |
let tries = 0; | |
// solve : (number[][], number, number)=> boolean | |
const solve = (grid, r, c) => { | |
if (c === level * level) { | |
r++; | |
c = 0; | |
if (r === level * level) return true; | |
} |