Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Lahiru Amarasooriya lahirudx

🎯
Focusing
Block or report user

Report or block lahirudx

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lahirudx
lahirudx / myCheatSheet.md
Last active Apr 29, 2019
My Cheat Sheet
View myCheatSheet.md

#--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
You can’t perform that action at this time.