Blog
It's a note for my future self, that every time I need it I have to look it up on Google. This way I already have it more handy and easy to find. .tar.gz files: Compress: tar -czvf packaged.tar.gz /folder/to/package/ Unzip: tar -xzvf archive.tar.gz .tar files: Pack: tar -cvf package.tar...
I recently discovered Carrd.co It is a simple platform to create Landing pages (the typical landing pages). There are many tools similar to Carrd.co, some free and some much more expensive. Why and what am I using it for? I am a FullStack web developer. I can perfectly do the...
Maybe if you ended up here it's because someone told you that you might be multipotential or you read about it and probably found this page on Google. In this article, I want to tell you what it's all about, and it will surely change the way you look at...
In all my servers (Linux) I have rs ync installed. Rsync allows to copy files, or rather synchronize them, between different servers. What makes it stand out is that it does it incrementally, fast and in a very simple way. This means that it only sends the files that have...
Those who know me know that I'm quite a tech geek and also a bit obsessed lately with productivity. I've been working with at least two monitors for years now. I firmly believe that the more things you can have in view, the less time you waste switching between viewing...
In some cases, it is necessary to empty a file without deleting it.A typical case is to have a log file on the server, which has grown excessively and occupies a lot of disk space. To empty the syslog file it can be done as follows: sudo truncate -s 0...
A command that I use a lot to see the space occupied by files and directories is the "du" command.By setting some parameters it is very convenient to use: du -sm * | sort -nr | head -5 Head -5 is to return only the first 5 results, you can...
Note: I am using the official https://hub.docker.com/r/phpmyadmin/phpmyadmin/ image. I have had a small problem when trying to import a fairly large database using the PhpMyAdmin. When you have large databases you need to increase the default php limits post_max_size = 50M upload_max_filesize = 50M The problem I have had is...
In some cases, you do not have a PhpMyAdmin, and even if you do, it will always be faster to use the command line to import large databases.As a general rule, I export all databases in compressed format (gzip). This makes them take up less space and I can upload...
Today I had a little problem trying to update a website in Drupal 8. This website has always had a composer in version 1, and I have already updated it several times. But I'm just starting to use docker images for local development with composer v2. Today I got the...
Have Any Project in Mind?
If you want to do something in Drupal maybe you can hire me.
Either for consulting, development or maintenance of Drupal websites.