Tag: linux

Git Internals: Understanding the Plumbing Behind Your Daily Workflow
devops

Git Internals: Understanding the Plumbing Behind Your Daily Workflow

Every day, millions of developers run git add, git commit, and git push without a second thought. But have you ever wondered what actually happens inside the .git directory? Understanding Git's internals isn't just academic curiosity — it makes you a more effective developer, helps you recover

davide
Change Swap size on a running linux machine
linux

Change Swap size on a running linux machine

Make all swap off sudo swapoff -a Resize the swapfile sudo dd if=/dev/zero of=/swapfile bs=1M count=1024 Make swapfile usable sudo mkswap /swapfile Make swapon again sudo swapon /swapfile

davide
Linux - Freeing RAM without rebooting
linux

Linux - Freeing RAM without rebooting

Simple command to free RAM on linux without rebooting #!/bin/bash sync; echo 1 > /proc/sys/vm/drop_caches; echo 2 > /proc/sys/vm/drop_caches; echo 3 > /proc/sys/vm/drop_caches Save into a file and set executable permission. Run the file with root privileges.

davide