Vaibhav Kashyapvaibhav16.hashnode.dev·Nov 30, 2024Some Handy Tricks Up Your Sleeves To Solve DSA Problems QuicklyWorking With Strings and StringBuilder //Reverse a String String reversed = new StringBuilder(str).reverse().toString(); //Check if String is palindrome boolean isPalindrome = str.equals(new StringBuilder(str).reverse().toString()); //Count Occurr...Discuss·1 likeDSA
Tuan Do Quocblog.tuando.me·Nov 26, 2024Size of logs for each Docker containerPrint the size of the log for each container by sorting it by size sudo du -ch $(docker inspect --format='{{.LogPath}}' $(docker ps -qa)) | sort -h Set default limited log size when creating new containers On Linux Path: /etc/docker/daemon.json On...DiscussDocker
Tuan Do Quocblog.tuando.me·Nov 25, 2024Install Docker & Docker Compose on Amazon Linux EC2To install Docker sudo yum update -y sudo amazon-linux-extras install docker sudo yum install docker sudo service docker start sudo usermod -a -G docker ec2-user To install Docker Compose sudo curl -L https://github.com/docker/compose/releas...DiscussDocker
Tuan Do Quocblog.tuando.me·Nov 4, 2024Using an SSH local tunnel to establish a connection to a private networkLocal Forwarding ssh -L {local-port}:{internal-ip}:{internal-port} remote-user@remote-ipDiscusstips
Rijul Rajesh T Prijultp.hashnode.dev·Nov 3, 2024Build up your confidence with Regex: 5 Techniques to make it STICKMy experience with Regex, and how it's a TIME-SAVER Regular expressions (Regex) look intimidating due to their complex set of characters and symbols. However, when you get to the know-how of things, Regex can be made simpler. Take my story, for insta...Discuss·10 likesRegex
Tuan Do Quocblog.tuando.me·Oct 29, 2024Install a free SSL certificate on Linux utilizing Certbot.1. Installing Let's Encrypt client $ apt-get update $ sudo apt-get install certbot $ apt-get install python3-certbot-nginx 2. Installing SSL for your domain sudo certbot --nginx -d example.com -d www.example.com Congratulations! You have successfully...DiscussLinux
Tuan Do Quocblog.tuando.me·Oct 29, 2024Cannot press Arrow keys, Home, End, Tab-complete on Ubuntu ServerRun this command with User that you want to fix sudo chsh -s /bin/bash <username> Re-login accountDiscussUbuntu
Tuan Do Quocblog.tuando.me·Oct 28, 2024Manage Nginx on WindowsStart start nginx Stop taskkill /f /IM nginx.exeDiscussnginx
Nalaka Wanniarachchibidiaries.com·Oct 21, 2024Bringing Your Power BI Dashboards to Life with Blinking IndicatorsHey there, data enthusiasts! Ever felt like your Power BI dashboards could use a little more... pizzazz? Well, what if I told you that you could add eye-catching, attention-grabbing blinking indicators to your reports? That's right – you can make you...Discuss·36 readsPowerBIPowerBI
Naushad Khannaushad-khan.hashnode.dev·Oct 18, 2024🚀 Day 14: Crafting a Linux & Git-GitHub Cheat Sheet! 📝Congratulations on reaching this milestone! 🎉 After diving deep into Linux and Git-GitHub, today’s task is all about consolidating your knowledge into a powerful, go-to resource that will not only benefit you but the entire DevOps community. Let’s g...Discuss·1 likeDevops