sudo -u postgres psql postgres=# CREATE DATABASE test_database; CREATE DATABASE postgres=# CREATE USER test_user WITH password 'qwerty'; CREATE ROLE postgres=# GRANT ALL privileges ON DATABASE test_database TO test_user; GRANT # drop database postgres=# DROP DATABASE test_database; DROP DATABASE
Read More →In my previous article, I wrote how is possible to send commands from Linux to Arduino. There is one more possibility of communication of Linux and Arduino, this program CuteCam, it is available in the repositories of Ubuntu and other Linux-distro. This program looks like this: Working with him is very simple. We indicate the desi...
Read More →1. Vendor and model of the processor: $ cat /proc/cpuinfo | grep vendor | uniq endor_id : GenuineIntel 2. Find the model name that can be used: $ cat /proc/cpuinfo | grep 'model name' | uniq model name : Intel(R) Core(TM) i3-7100U CPU @ 2.40GHz 3. The lscpu command give our...
Read More →