Nubefact
[1] https://www.operador.pe/registro
[2] https://probar-xml.nubefact.com/
[3] xml examples https://drive.google.com/uc?id=1F5Tk3Wo23bNHcskf7PuPEjyZeU8q3Kwk&export=download&authuser=0
Software Developer, Programming, Web resources and entertaiment. Desarrollo de software, programación, recursos web y entretenimiento.
Nubefact
[1] https://www.operador.pe/registro
[2] https://probar-xml.nubefact.com/
[3] xml examples https://drive.google.com/uc?id=1F5Tk3Wo23bNHcskf7PuPEjyZeU8q3Kwk&export=download&authuser=0
A minimal and customizable Docker image running the Android emulator as a service.
https://github.com/HQarroum/docker-android
Add --password-store=basic to the end of the command line.
google-chrome-stable --password-store=basic.
Disable timers on current web page
in console write the following command
let id = setTimeout(() => {}, 0); while (id--) { clearTimeout(id); clearInterval(id); }
Unminify JavaScript code
https://unminify.com/
Install odoo as service
Step 1: Create a script
user ~ vi /usr/local/bin/odoo-start.sh
#!/bin/bash
# Optional: Port forward example with socat (install via apt install socat)
#socat TCP-LISTEN:8080,fork TCP:localhost:8069 &
# Your Odoo command (example for Odoo 17)
#exec /path/to/odoo-bin -c /path/to/odoo.conf --addons-path=/path/to/addons -d your_db --workers=2
export PYTHONHOME=/usr/local # Or remove if not required
exec /home/user/Software/odoo-17.0/venv/bin/python3 /home/user/Software/odoo-17.0/odoo-bin --http-port=8070 -d casa17g4
Step 2: Create service
user ~ vi /etc/systemd/system/odoo17.service
[Unit]
Description=Odoo 17 Service
After=network.target postgresql.service
[Service]
Type=simple
User=user
Group=user
WorkingDirectory=/home/user/Software/odoo-17.0
ExecStart=/usr/local/bin/odoo-start.sh
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
Step 3: Run and Debug
sudo systemctl daemon-reload
sudo systemctl reset-failed odoo17
sudo systemctl start odoo17
sudo journalctl -u odoo17 -e # See error
sudo journalctl -u odoo17 -f # See live
Step 4: Set it for boot
systemctl list-unit-files --type=service --state=enabled | grep odoo
sudo systemctl enable odoo17
systemctl list-unit-files --type=service --state=enabled | grep odoo
sudo systemctl disable odoo17 # disable from boot list
Object.entries(obj)const obj = { foo: "bar", baz: 42 };
console.log(Object.entries(obj)); // [ ['foo', 'bar'], ['baz', 42] ] const obj = { foo: "bar", baz: 42 };
const map = new Map(Object.entries(obj));
console.log(map); // Map(2) {"foo" => "bar", "baz" => 42}// Using for...of loop
const obj = { a: 5, b: 7, c: 9 };
for (const [key, value] of Object.entries(obj)) {
console.log(`${key} ${value}`); // "a 5", "b 7", "c 9"
}
// Using array methods
Object.entries(obj).forEach(([key, value]) => {
console.log(`${key} ${value}`); // "a 5", "b 7", "c 9"
});const object = {
a: 1,
b: 2,
c: 3,
};
console.log(Object.getOwnPropertyNames(object));
// Expected output: Array ["a", "b", "c"]
const object1 = {
a: 'somestring',
b: 42,
c: false
};
console.log(Object.values(object1));
// Expected output: ["somestring", 42, false]
References:
[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries
[2] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertyNames
Interactive learn for example docker, kubernetes, linux, python and more
Resources:
Nubefact [1] https://www.operador.pe/registro [2] https://probar-xml.nubefact.com/ [3] xml examples https://drive.google.com/uc?id=1F5Tk3Wo...