Skip to content

Edoardo Vignati

– Always looking for something awesome –

Menu
  • About me
  • Studies
  • Publications
  • Skills
  • Portfolio
  • Projects
  • Career
  • Blog
  • Travels  
Menu

Author: Edoardo

[Solved] MySQL not decoding emojis and special characters

Posted on 08/04/202308/04/2023 by Edoardo

If you have this problem, you should check 4 things. Encoding of tables Open PhpMyAdmin and check whether the database is encoded with utf8mb4_unicode_ci and also all the columns have the same encodign or not Encoding of MySQL If you are on Linux, go to /etc/mysql/my.cnf and add or edit the following: Then restart mysql:…

Continue reading

Constant size of a widget across multiple devices and screen resolutions in Flutter

Posted on 03/03/202304/03/2023 by Edoardo

I was developing a feature in my app, in particular a map with some icon markers. During my programming session I used an Icon widget and I set the icon size at 100. Good, everything run smoothly, but when I launched the app on different screens I found the following situation here below. All the…

Continue reading

Custom icon in flutter_background_service package

Posted on 06/07/202206/07/2022 by Edoardo

The flutter_background_service package is used to spawn services. These services stay in background doing stuff and they can also communicate with the Flutter app in foreground. In this post you will not find a guide throughout the usage of this package. Here you can find some notes about how to create the custom icon of…

Continue reading

Installation and usage of FontForge for Python

Posted on 23/06/202224/01/2023 by Edoardo

FontForge is a free, light and very powerful tool to edit fonts. You can use it as stand alone graphical software or as python library. Link to GUI tutorial to edit glyphs here. Useful notes for FontForge GUI version: If you edited a glyph and you want to generate the .ttf file, go to File…

Continue reading

How to wait for multiple futures with FutureBuilder in Flutter

Posted on 22/06/202222/06/2022 by Edoardo

Sometimes you may need to call different API in order to build a widget and you need all of these information at the same time. In Flutter it’s pretty easy to do this using the FutureBuilder widget and the wait() method. Let’s see here an example: Here above we have two futures calling two different…

Continue reading

Mini cheat sheet for Linux users setup

Posted on 04/04/202204/04/2022 by Edoardo

Here is a short list of commands on how to create a user in Linux and get started easily. First of all login as root Create a new user: Create a password for user Add user to sudo group: Create default user home folder: Edit default command line: and replace /bin/sh with /bin/bash

Continue reading

Export HTML to PDF with Python and Flask

Posted on 30/03/202230/03/2022 by Edoardo

Here is a very quick guide to generated a PDF from HTML and download it using Flask. First of all add these two dependencies in you requirements.txt file and install them using pip Then install the pdf engine running: In your code, import pdfkit and render an HTML template. Then put the output into pdfkit…

Continue reading

How to save PHP object into SESSION variable

Posted on 03/02/202224/02/2022 by Edoardo

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…

Continue reading

Basic GPG/PGP keys creation and deployment tutorial

Posted on 22/12/202128/12/2021 by Edoardo

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…

Continue reading

[Risolto] Word non ha potuto creare il file di lavoro

Posted on 06/11/202106/11/2021 by Edoardo

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…

Continue reading
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next
  1. Edoardo on [SOLVED] XMLHttpRequest error in Flutter web is a CORS error06/01/2023
  2. Fabi on [SOLVED] XMLHttpRequest error in Flutter web is a CORS error20/12/2022
  3. Edoardo on How to install hplip on Ubuntu28/11/2022
  4. Alex K on How to install hplip on Ubuntu28/11/2022

© 2023 Edoardo Vignati | Powered by Minimalist Blog WordPress Theme