sudo apt install pgbouncer
Edit the pgbouncer configuration file /etc/pgbouncer/pgbouncer.ini
* = host=localhost port=5432
Set the listen_port = 5432 and listen_address = *
Set the auth_type = md5.
Run below query in psql
sudo apt install pgbouncer
Edit the pgbouncer configuration file /etc/pgbouncer/pgbouncer.ini
* = host=localhost port=5432
Set the listen_port = 5432 and listen_address = *
Set the auth_type = md5.
Run below query in psql
import subprocess | |
import sys | |
# create two files to hold the output and errors, respectively | |
with open('out.txt','w+') as fout: | |
with open('err.txt','w+') as ferr: | |
out=subprocess.call(["ls",'-lha'],stdout=fout,stderr=ferr) | |
# reset file to read from it | |
fout.seek(0) | |
# save output (if any) in variable |
masuk ke database, execute this: | |
DELETE FROM ir_attachment WHERE url LIKE '/web/content/%'; | |
restart Odoo | |
# Send SMS messages using Raspberry Pi. | |
# Using gammu and Huawei E220 | |
# Prepare SD card with wheezy. | |
# Login / complete rasp-config / reboot / login | |
# Set vimrc to prevent annoying ADBC arrow keys | |
cp /etc/vim/vimrc ~/.vimrc |
brew install chromedriver
spctl --add --label 'Approved' /usr/local/bin/chromedriver
xattr -d com.apple.quarantine /usr/local/bin/chromedriver
Saya support Internet Positif untuk memblokir porn, situs judi, dan hal-hal ilegal lainnya. Tapi pemerintah dan ISP sangat konyol karena tidak mengizinkan akses ke Vimeo, Reddit, Imgur, Netflix--yang mana bukanlah situs dengan konten utama ilegal.
Tambahkan list di bawah ke /etc/hosts
.
update ir_property | |
set value_text='standard' | |
where name = 'property_cost_method' | |
and res_id='product.category,117' |
enter DB via psql: | |
DELETE FROM ir_attachment WHERE res_model='ir.ui.view' | |
restart Odoo |