- Check available nodes:
curl 'http://<ip_address>:9200/_cat/nodes?v'
- Check available indices:
curl 'http://<ip_address>:9200/_cat/indices?v'
- Delete a specific index:
curl -X DELETE 'http://:9200/?pretty'
Code for the Medium post Link
Code for the medium post
numpy==1.19.5
tensorflow==2.4.1
scikit-learn==0.24.2
Code snippets for the Medium post: Link
- Create and Run a container:
docker run -p <localhost port>:<docker container port> <image-name>
- If you dont want console output:
docker run -d <image-name>
- List Running containers:
docker ps
- List all containers that have run:
docker ps --all
- Restart a stopped container:
docker start <container-id>
- Delete stopped containers and downloaded images:
docker system prune
- Stop a container:
docker stop <container-id>
- Execute additional commands in a running container (other than the starup command):
docker exec -it <container-id> <command>
Eg:docker exec -it <container-id> sh
- Exit from a container:
Ctrl
+d
orexit
Generate LaTeX table code by importing your table in this Online LaTeX Generator
To wrap text inside tables, update your the column inside your \begin{tabular}{}
tag.
Eg: If you want the first column to take a maximum 30% of the line width and wrap the remaining text, change the first l
to p{0.3\linewidth}
% from
All the code snippets for the medium article Link
All the code snippets for the Medium post Link