Latest posts

92 articles

How to create symbolic links via FTP

Spoiler: you cannot! In order to use Laravel File Storage utility, I had to create a symlink in the public folder pointing to a subfolder located in the... storage folder. That is nice and easy when you can ssh to your production server. However, it is a whole other story if you only have FTP…

How to import some Linux-like behaviors into Windows ?

Sometimes using Windows is required, for professional reasons, gaming, nostalgia... (nah, just kidding). Then I quickly find myself moving my mouse from a window to another and start typing, expecting that the window I'm typing in has the focus. Or I select a text and click the middle button of…

Insert a line in the middle of an existing configuration file

Playing with Testing a new piece of software using a Vagrant box, I created a vagrant-install.sh in which I had to insert the line sql-mode=NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION inside an existing MySQL config file. I had to put it inside a specific section, so I targeted a line starting…

Accessing your application database from Android Studio

Open the Terminal window (Alt + F12) or: Then list your devices with the adb command. This will display both running emulators and connected devices: Use the device name to open a connection: To avoid a Permission denied error while trying to access your application files, use the run-as command:…

[PCManFM] Unable to find or create trash directory

This error happened when I tried to trash files located on a secondary drive, which is automatically mounted at startup in my /etc/fstab. To fix this, I manually created a hidden .Trash-1000 folder at the root of the mounted folder, and made it belong to my user: 1000 is the uid of my user. This is…