1. Install nginx
2. Install minio
3. Install mc client
$ mc mb myminio/static
Bucket created successfully ‘myminio/static’.
| /* converter.c | |
| * | |
| * This code converts `.md` files into `.html` files. | |
| * | |
| * The main use is to write a static website in `.md` files, and then run this | |
| * program to convert it to `.html` | |
| * | |
| * The program relies on the following variables: | |
| * | |
| * - INPUT_FOLDER: full path of the website with `.md` files. |
| https://www.cs.huji.ac.il/w~shais/UnderstandingMachineLearning/understanding-machine-learning-theory-algorithms.pdf |
| version: "3.3" | |
| services: | |
| server: | |
| image: quay.io/minio/minio | |
| ports: | |
| - "9005:9005" | |
| command: server /objects --address :9005 | |
| environment: | |
| - MINIO_ROOT_USER=user |
FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.
| CFFI https://bitbucket.org/cffi/release-doc/src/default/doc/source/whatsnew.rst?mode=view | |
| SWIG | |
| pybind11 | |
| Boost python |
| {"version":1,"resource":"file:///home/rajan/notes/record.md","entries":[{"id":"Aou6.md","timestamp":1694988748513},{"id":"HQ3o.md","source":"Workspace Edit","timestamp":1694988803013},{"id":"yTib.md","timestamp":1696097940757},{"id":"laA1.md","timestamp":1698629373507},{"id":"SQI3.md","timestamp":1698642402589},{"id":"GwYb.md","timestamp":1698642739415}]} |
| # See list of docker virtual machines on the local box | |
| $ docker-machine ls | |
| NAME ACTIVE URL STATE URL SWARM DOCKER ERRORS | |
| default * virtualbox Running tcp://192.168.99.100:2376 v1.9.1 | |
| # Note the host URL 192.168.99.100 - it will be used later! | |
| # Build an image from current folder under given image name | |
| $ docker build -t gleb/demo-app . |
| -- show running queries (pre 9.2) | |
| SELECT procpid, age(query_start, clock_timestamp()), usename, current_query | |
| FROM pg_stat_activity | |
| WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
| ORDER BY query_start desc; | |
| -- show running queries (9.2) | |
| SELECT pid, age(query_start, clock_timestamp()), usename, query | |
| FROM pg_stat_activity | |
| WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |