How to generate a random secure password with python
Here is the codes 🙂
Solve the cassandra DevCenter Freezing bei start problem
Cassandra is a popular distributed, fast, nosql database, datastax has made a free IDE for quick connecting the database and editing the cql language. However the evolution of java is too fast, a lot of people after the java update…
wordpress quick installation with docker on your own pc
Quick Installation: install docker start docker download the docker-compose.yml file open terminal and start wordpress: docker-compose -f path up -d Login wordpress: go to your local website: http://localhost login with username: connygu password: codehamster Login phpmyadmin: go to your phpmyadmin: http://localhost:8080…
jupyter notebook show enviornment
1. Anaconda version: my experience is only install nb_conda is enough 2. for normal pyhton version, you need to install ipykernel in each enviornment. (Notice: following code is example for mac and linux system.)
The easiest restapi for Django
pip install djangorestframework In your setting file, add the “rest_framework”: Create two files in your app: api : define the url api: define the function In url.py: In views.py: You can also use decorators, it will be simpler:
Install bokeh
Install nodejs conda install -c conda-forge nodejs install jupyter lab conda install -c conda-forge jupyterlab install jupyter lab: jupyter labextension install jupyter labextension list install bokeh plugin for jupyter jupyter labextension install jupyterlab_bokeh
