Kiro System Prompt used in .github/instructions/system-prompt.instructions.md
source: https://github.com/ghuntley/amazon-kiro.kiro-agent-source-code-analysis
#!/bin/bash | |
# filter by name | |
docker ps -a -f name=^/sentry | |
# filter by name only container id | |
docker ps -a -q -f name=^/sentry | |
# filter by name then remove | |
docker rm $(docker ps -a -q -f name=^/sentry) |
Kiro System Prompt used in .github/instructions/system-prompt.instructions.md
source: https://github.com/ghuntley/amazon-kiro.kiro-agent-source-code-analysis
https://prod.download.desktop.kiro.dev/stable/metadata-dmg-darwin-arm64-stable.json |
## [public internet] -> [Load Balancer: e.g Alicloud SLB, AWS ELB, etc] -> [nginx proxy] -> [odoo service] | |
#odoo server | |
upstream odoo { | |
least_conn; | |
server 127.0.0.1:8079; | |
server 172.16.116.10:8079; # server prod 2 | |
# server 172.16.116.10:8079 down; # exclude from load balance | |
# add more server here | |
} |
when erorr mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64') | |
do | |
$ cd path/to/odoo | |
$ pip install -r requirements.txt | |
# uninstall packagaes that not compatile with M1 | |
$ pip uninstall psycopg2 lxml libsass -y | |
# re-install using arch64 |
EDITED
Use bellow config in your odoo.conf
to make it works by bypassing pgbouncer for queue_job
[options]
addons_path = /mnt/extra-addons
data_dir = /var/lib/odoo
db_host=pgbouncer
db_name = odoo
from odoo import api, fields, models | |
from odoo.tools import float_is_zero | |
from odoo.exceptions import UserError, ValidationError | |
import threading | |
import time | |
import logging | |
class StockMove(models.Model): | |
_inherit = 'stock.move' |
When Docker Desktop installed on Windows and WSL 2 activated and then the compute hibernate.
the date inside the docker will not up to date with the host. this issue will cause error in debian container (for exampe: doing apt update
)
to solve the error, update the clock with
wsl -d docker-desktop hwclock -s
in CMD.