If you try to save an object into the $_SESSION variable, you will probably notice this error: __PHP_Incomplete_Class Object This error occurs when an object cannot be serialized and deserialized properly. For this reason, before assigning an object to a session variable, you must serialize it using the function To deserialize it you just have…
Author: Edoardo
Basic GPG/PGP keys creation and deployment tutorial
How to create a GPG key pair? How to publish a GPG public key? Here is a short and handy guide 🙂 PGP: stands for Pretty Good Privacy and it was created by Symantec GPG: stands for GNU Privacy Guard, an alternative to Symantec’s official PGP software First of all install and test it: Let’s…
[Risolto] Word non ha potuto creare il file di lavoro
Questo errore può comparire all’apertura di Microsoft Word. In particolare l’errore che compare in un popup non appena si apre o si carica l’anteprima di un documento è il seguente: Per risolverlo è possibile seguire il seguente metodo. Aprire regedit da Start Navigare fino a “Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders” (senza apici) Cercare la chiave Cache Cambiare…
Increase PHP memory in Nextcloud
This is the typical Nextcloud error that warns you about the low level of php available memory. To increase this parameter you have to edit the php.ini file that could be in different locations depending on the operating system and the version of Apache that you are using. To locate the correct file put the…
[SOLVED] XMLHttpRequest error in Flutter web is a CORS error
This is the error from http package in Flutter: This error is a Javascript error and it can be inspected from AndroidStudio terminal or from the browser console. If you run into this problem it means that the requests to the API server are failing due to a CORS error. When executing these types of…
[SOLVED] flutter_osm_plugin not working (Expecting an argument)
If you are here it means that you cannot use the OSM plugin for Flutter. And if you are reading this post I hope you’re going to fix it. This is the error: If you are facing the same error, you can try to fix in this way: invalidate cache and restart upgrade Flutter upgrade…
How to install a venv in Python without network connection
In some cases you have to replicate a Python project on a computer without internet connection. In these cases you must not simply copy the venv folder. Requirements for this process: the project, a memory mass storage, another computer with internet connection. First of all, you have to to install Python on the offline machine….
How to open a page in Facebook app in Android with Flutter (deep link)
Maybe, if you are here, it means that you already tried to launch the Facebook URL of a page failing because the browser is launched instead of the native app. Well, to open the Facebook app on a specific page it’s quite simple if you know the correct way. First of all you can use…
How to read multipart form data with Flask
This is a simple snippet in Python that allows to read a multipart form data with Flask.
Calcolo ritenuta d’acconto
Con questi due tool è possibile effettuare il calcolo della ritenuta d’acconto partendo da un importo netto o lordo