Skip to content

Instantly share code, notes, and snippets.

View lahirudx's full-sized avatar
🎯
Focusing

Lahiru Amarasooriya lahirudx

🎯
Focusing
View GitHub Profile
@lahirudx
lahirudx / myCheatSheet.md
Last active April 29, 2019 07:31
My Cheat Sheet

#--Ubuntu -Increasing the amount of inotify watchers (Permanent).. >> echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p -Increasing the amount of inotify watchers (Temporary).. >> sudo sysctl fs.inotify.max_user_watches=524288 && sudo sysctl -p -Get current inotify file watch limit.. >> cat /proc/sys/fs/inotify/max_user_watches

#--Docker

  • docker container run -p{--publish} 8000:80