dockodoo.bash
file:
#!/usr/bin/env bash
project_dir=$1
shift
port=$1
shift
image=$(docker image ls \
--format "table {{.ID}}\t{{.Tag}}\t{{.Repository}}" \
# Tree-sitter | |
# https://tree-sitter.github.io/tree-sitter | |
# Instalation: | |
# $ pip3 install tree_sitter | |
# $ git clone https://github.com/tree-sitter/tree-sitter-python ./pyts | |
# Usage: | |
# $ find ./your-project-folder -type f -name "*.py" | python ./i18n_fn_check.py |
dockodoo.bash
file:
#!/usr/bin/env bash
project_dir=$1
shift
port=$1
shift
image=$(docker image ls \
--format "table {{.ID}}\t{{.Tag}}\t{{.Repository}}" \
#!/usr/bin/env bash | |
ssh you@server "zip -r odoo_addons.zip /opt/project/custom/project_addons" | |
rsync -rph --progress you@server:~/odoo_addons.zip Development/Odoo/project |
#!/usr/bin/env bash | |
# Getting User ID | |
curl -sX POST -H 'Content-Type: application/json' \ | |
-d '{"jsonrpc":"2.0","method":"call", | |
"params":{ | |
"service":"common", | |
"method":"login", | |
"args":["odoo_database","user123","password123"] | |
}}' |
Result example:
[
{
"uri": "/en/",
"title": "Home",
"date": "2022-09-13T22:52:45+00:00",
"tags": ["main page"],
"content": "{{< figure ..."