Skip to content

Edoardo Vignati

– Always looking for something awesome –

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

Author: Edoardo

Git is not asking for username on Windows

Posted on 16/03/202316/03/2023 by Edoardo

Sometimes, depending on the git server you are using to clone a repository, Windows could ask for a password but not for the username. If you need to force a different username you can simply run the terminal and type: In this way the username is not required anymore and you have only to type…

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

Coherent UTF-8 data manipulation from MySQL to JSON in PHP

Posted on 20/10/202224/10/2022 by Edoardo

This short guide may help you to quickly create a simple data flow from the query to the JSON response for example if you want to build an API endpoint. You can find here some details that can save you time and answer to the following question: “Why my accented chars and emojis are not…

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
  • 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