mysqli missing extension (in Linux)

Check if your php version is in apache mods-enabled (in /etc/apache2/mods-enabled).
Your current php should be in /etc/apache2/mods-available but not (if you have several php versions) in /etc/apache2/mods-enabled.

Tab session manager problem in Vivaldi

Recently I had a problem with Tab session manager in Vivaldi: impossible to see my sessions, and to add new ones.

I solved in Tab session manager settings in a very simple and easy way: disabling and re-enabling Tab session manager, with a simple mouse click in Vivaldi extensions.

Monetag? No, thanks!

Pro: automation of ads.
Cons: impossible to customize the type of ads. Therefore banal and vulgar advertising.

Gimp change colors

An useful tool to change undesired colors, in GIMP, is

colors -> map -> rotate colors

mozilla keyring problem

I had this problem:

E: https://packages.mozilla.org/apt mozilla InRelease is not (yet) available (The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C0BA5CE6DC6315A3)

After many attempts it seems solved removing (renaming) the file .org.kde.neon.packages.mozilla.org.sources in /etc/apt/sources.list.d/

sitemap php script

A script like the following can generate automatically your sitemap (in xml format):

<?php
function genera_sitemap($path) {
  $sitemap = '<?xml version="1.0" encoding="UTF-8"?>' . "\n";
  $sitemap .= '<urlset
  xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
      http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">' . "\n";

  // Scansiona le directory e sottodirectory del sito
  $dir = './';
  $files = scandir($dir);
  foreach ($files as $file) {
    if ($file != '.' && $file != '..' && strpos($file, '.') !== 0) {
      if (is_dir($dir . $file)) {
        // Scansiona la sottodirectory
        $sitemap .= aggiungi_sottodirectory($dir . $file . '/', $path) . "\n";
      } else {
        // Aggiungi il file alla sitemap
        if (preg_match('/\.php$/', $file) && $file != 'sql-pass.php') {
          $sitemap .= '<url>' . "\n";
          $sitemap .= ' <loc>' . $path . '/' . $file . '</loc>' . "\n";
          $sitemap .= ' <lastmod>' . date('c', filemtime($dir . $file)) . '</lastmod>' . "\n";
          //$sitemap .= ' <changefreq>daily</changefreq>' . "\n";
          $sitemap .= ' <priority>1.0</priority>' . "\n";
          $sitemap .= '</url>' . "\n";
        }
      }
    }
  }

  $sitemap .= '</urlset>' . "\n";

  // Salva la sitemap su file
  $file = 'sitemap.xml';
  $fp = fopen($file, 'w');
  fwrite($fp, $sitemap);
  fclose($fp);
}

function aggiungi_sottodirectory($dir, $path) {
  $sitemap = '';
  $files = scandir($dir);
  foreach ($files as $file) {
    if ($file != '.' && $file != '..' && strpos($file, '.') !== 0) {
      if ($file == 'index.php') {
        $priority = '1.0';}
      elseif (preg_match('/testi/', $file)) {
          $priority = 0.2;
        }
      else {
        $priority = 0.6;
        }
      if (is_dir($dir . $file)) {
        // Scansiona la sottodirectory
        $sitemap .= aggiungi_sottodirectory($dir . $file . '/', $path) . "\n";
      } else {
        // Aggiungi il file alla sitemap
        if (preg_match('/\.php$/', $file)) {
          $sitemap .= '<url>' . "\n";
          $sitemap .= ' <loc>' . $path . substr($dir, 2) . $file . '</loc>' . "\n";
          $sitemap .= ' <lastmod>' . date('c', filemtime($dir . $file)) . '</lastmod>' . "\n";
          //$sitemap .= ' <changefreq>daily</changefreq>' . "\n";
          $sitemap .= ' <priority>' . $priority . '</priority>' . "\n";
          $sitemap .= '</url>' . "\n";
        }
      }
    }
  }
  return $sitemap;
}
?>

You can call it from different websites, with a code like the following (assuming that your script is genera-sitemap-commune.inc:

<?php
$path="https:[your-desired-path]";
include "genera-sitemap-commune.inc";
genera_sitemap($path);
?>

strange behavior in Vivaldi

If you get a pop-up window to unlock Vivaldi profile, and you share your Vivaldi profile between different Linux installation (devices), you could try to copy the folder .local/share/kwalletd from the working installation of Vivaldi to the other ones.

PixelPhone

Is a small android dialer app from Hong Kong. Its best value is to add groups to to Phone, so that you can choose from a group a contact.
But the problem is that groups are incredibly displayed not in alphabetical order (maybe a problem from the Chinese culture?). And so groups tab result perfectly useless.

Moreover deleting a call from log call is very, very complicated (if you press a call then start immediately a call to that number). No way to select more than one call (to delete it from the screen of calls). In Fossify Phone you can select and delete several calls.

Another problem is the impossibility to block unknown numbers (what is present in Fossify Phone).

Another problem is that you cannot find the website of the app, and a forum where speak of your problems with this app.

To sum up: a potentially good app, with many improvements to do.