Posts

Showing posts from 2022

DB-Master

sudo yum install mysql-server -y sudo systemctl enable --now mysqld sudo systemctl status mysqld sudo mysql_secure_installation   sudo firewall-cmd --permanent --add-port = 3306 / tcp sudo firewall-cmd --zone =public --add-port = 3306 / tcp --permanent sudo firewall-cmd --reload    

Linux - Awk

  prints every line # awk '{print}' <file_name> or <path>   prints the lines that contains foo # awk ' /foo/ {print}' /etc/passwd   Use ':' as delimiter and prints 1.st and 4.rd fields # awk -F: '{print $1, $4}' /etc/passwd

WireShark Cheatsheet

Electroplating

Here is how to do Electroplating at home: Electroplating is the process of coating metal objects with a different metal, and it can be easily done at home.  The process is basically passing an electric current through a solution of electrolytes that allows for the transfer of metal ions from the donor metal to the recipient metal It requires: some muriatic acid 1x power supply 2x alligator clips 1x container Protective gear Detergent / Dish soap, vinegar and baking soda (For cleaning the metal object) Important: Dealing with acids and other chemicals can be dangerous, it is definitely safe to wear protective eye goggles, gloves, and some sort of that clothes that you don’t mind ruining if something splashes. Step 1: Cleaning the metal surface: To get a proper electroplated coat, the surface of your metal object must be very clean, rust/ grease / oil-free. Start with a degreaser such as a detergent (dish soap) and then scrub the metal with an abrasive, acidic cleaner to ensure the ...

Star Trek: The Next Generation

I really don't like the Deanna Troi character, most of the things that she says are just common logic or bullshit. I think she wouldn't be missed if she left after a few episodes.  And somehow her fucking telepathic skills sometimes work, sometimes doesn't, maybe based on her  betazoid  menstrual cycle. Who knows... Seriously, whenever she says something I end up telling her to fuck off or fast-forwarding the scenes that she talks or even appears.     Some links for Star Trek Star Trek API Gallery