Blog Posts

It appears you are missing some prerequisite to build the package from source. You may install a binary package by installing ‘psycopg2-binary’ from PyPI. If you want to install psycopg2 from source, please install the packages required for the build and try again. For further information please check the ‘doc/src/install.rst’ file (also at <https://www.psycopg.org/docs/install.html>). error: […]

If you try to enable ufw firewall, get this error: Iptables v1.8.4 (nf_tables): Could not fetch rule set generation id: Invalid argument CT (Ubuntu Ubuntu 22.04.2 LTS)  on proxmox 7 Fix: apt install iptables update-alternatives --set iptables /usr/sbin/iptables-legacy update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy apt-cache policy nftables If nothing works, then run: ufw reset Views: 357

I got this logrotate error on Ubuntu: php7.4-fpm:1 duplicate log entry for /var/log/php-fpm/php-fpm.log or php7.4-fpm:1 duplicate log entry for /var/log/php-fpm/*.log Tried to commented out access.log = /var/log/php-fpm/php-fpm.log in /etc/php/7.4/fpm/pool/www.conf That should disable logs from php-fpm7.4 but it did not work. These files must be corrected as following: /etc/logrotate.d/php7.2-fpm /etc/logrotate.d/php7.4-fpm for instance they both look the […]

First we need to make sure we have nginx installed sudo apt install nginx -y sudo apt install php-fpm -y Converting a virtual host to nginx block   Apache section: DocumentRoot "/var/www/html/exemple" ServerName exemple.eu <Directory "/var/www/html/exemple"> Allow from all Require all granted SSLOptions +StdEnvVars Include /etc/letsencrypt/options-ssl-apache.conf SSLEngine on SSLCertificateFile /etc/letsencrypt/live/exemple.eu/cert.pem SSLCertificateKeyFile /etc/letsencrypt/live/exemple.eu/privkey.pem SSLCertificateChainFile /etc/letsencrypt/live/exemple.eu/chain.pem</ Nginx […]

Me: Are covid vaccines safe? ChatGPT:  The COVID-19 vaccines that have been authorized for emergency use by regulatory agencies such as the US FDA and European Medicines Agency (EMA) have been determined to be safe and effective. They have undergone rigorous testing and clinical trials to ensure their safety and efficacy. Like all vaccines and […]

You need to make sure the nvidia configuration file exists into X11 folder. So copy the file from /usr/share/X11/xorg.conf.d/ to /etc/X11/xorg.conf.d/ sudo cp -p /usr/share/X11/xorg.conf.d/10-nvidia.conf /etc/X11/xorg.conf.d/nvidia.conf Then edit the file with nano or something else: sudo nano /etc/X11/xorg.conf.d/nvidia.conf Add the following line: Option "PrimaryGPU" "yes" The file should look like this: Reboot and xorg should […]

Instant search Javafx

// --------------------------Filter function and // code-------------------------------------------------------------------------------   FilteredList filterList = new FilteredList<>(dataSolicitari, p -> true);   SortedList sortableData;   int idStringTemp; String SolictareTemp; String umTemp; String ManoperaTemp; String statusTemp;   public void initFilter() {   // ---- filter by id -----------   text1.textProperty().addListener((obsVal, oldValue, newValue) -> {   filterList.setPredicate(SolicitariModel -> {   idStringTemp = SolicitariModel.getId(); […]

What is seemed to me to a be a bug, in the end I think it a problem with Hyper-V enhanced session. This is the scenario: Windows 10 VM running on Hyper-V server, in my case Windows 10 pro as host machine. Used enhanced session and  had Guest services checked Joined to domain controller (windows […]

Views: 10