How to keydown/keyup for Android browser
If you want to trigger and event of “keydown” or “keyup” using a browser coming from an Android device be aware that Android will always send the keyCode = 229 and so you are not able to use that data Read more
Clean files content
Useful command to clean all files content of a directory without removing it… Use cases: you have an application running and you don’t want to stop you don’t want to think about reset file permission that somebody else has configured Read more
SQL server
Select query for production (nolock) Table lock simulation Backup Command line database backup using SqlCmd tool (localhost database) Restore Command line database restore using SqlCmd tool (localhost database) Link tablespace to filegroup Get active connection Try catch block Ram by Read more
Git cherry pic
Sometimes you need to move your develop from a branch to another; in this case the cherry pick command is your friend. Definition: given one or more existing commits, apply the change each one introduces, recording a new commit for Read more
Firewall cmd
Simple firewall management tool that uses firewalld deamon Install List all zones Rule management
Certbot – SSL certificates
Certbot it’s an cool tool that automatically enable HTTPS on your website deploying Let’s Encrypt certificates. How to Centos not snap – not anymore supported Snap install See the official guide https://certbot.eff.org/lets-encrypt/centosrhel7-apache To create the certificates Your certificates are deployed Read more
Setup VPS from scratch
A virtual private server (VPS) is a virtual machine sold as a service by an Internet hosting service. To start having fun you need at least: 1vCpu, 2GB RAM e 20GB SSD with 100 mbps bandwidth Then Make sure that Read more