Bio

You can reach me at me[at]valo[dot]space

Projects

Here I’ll try to keep up to date the projects and repos I’m contributing to

Problems with wifi archlinux and suspend?

I was having problems with my wifi connection after a resume from suspend so following this section on the archwiki I created a systemd service restarting the wifi on every resume

Italian OsmAnd~ maps link

I keep forgetting where to downlosd italian maps for openstreetmap, well here I can find them! I hope it’s one and for all

Recover lost mail password with k9mail

Let’s say you forgot your mail password, let’s say you use k9mail (maybe it works also with other clients but idk) well you can recover the password having it in plaintext. Prerequisites: An android smartphone with k9mail installed and with a working configuration (it has to know you’r password) Adb Usb debugging enabled Optional:root How to do it: We have 2 ways to recover the password: one with root and one without, first without I’ll assume you use linux.

Ansible, a quickstart

So I have to learn Ansible, cool Simple steps Install it on local machine, on arch yaourt -S ansible – on the server nothing is needed but openssh and python2 Make sure your remote server(s) has/ve openssh running and configured with your pubkey in the authorized_keys file Create an inventory file in /etc/ansible/hosts ( a list of hosts both dns names and IPs are allowed) and make sure in ansible.cfg

Dmidecode

Dmidecode gives you infos on the components installed on your motherboard, often avoiding the need to open up the case or, more annoying, a laptop. Here a table of convertion provided by the man page, you can ask ifos with dmidecode -t # Another nice tool is lscpu, for more detailed infos on the CPU Type Information ──────────────────────────────────────────── 0 BIOS 1 System 2 Baseboard 3 Chassis 4 Processor 5 Memory

Wrong filenames?

If you do have some files with strange symbols showing off in the filename maybe it’s due to wrong encoding of the filename and here convmv comes in handy it is able to convert an encoded name into another. charset Before it shows the changes it would make and then asks for confirm so you’ll know what is happening

“Wrong” file usage report by df

Ever happened to find your root partition completelly full but du reporting a minor disk usage? If you have a separate partition mounted at boot time sometimes can happen to the mount command to fail resoulting in your operations being executed on the wrong partition, maybe everything behaves correctly, you reboot or shut down the system and at the next boot the partition get mounted normally. What happened to the data wrote previously?

Python DBus and sockets

If you were, like me, wondering how the hell does it work for python to connect to a dbus unix abstract socket file here it is mybus=dbus.bus.BusConnection("unix:abstractx=") I was struggling to find it out online but no website nor python docs or anything else was providing any suggestion Hope it’s useful