Engineering👨💻 checking ulimit To check ulimit (which generally causes too many files open error), don’
Engineering👨💻 Edit file vi, not opened by sudo Opened a file in vi without sudo. Edited some stuff, realized you
Engineering👨💻 Debugging git slowness Here's the command to understand where is it running slow and what's
Engineering👨💻 Deleting a node from Chef On workstation knife node delete --yes NODENAME knife client delete --yes NODENAME
Engineering👨💻 mysql config check mysqld --help --verbose will show variables that'd be loaded if process mysqld
Engineering👨💻 mysql reset root password sudo service mysqld stop sudo su - mysql /usr/sbin/mysqld --skip-grant-tables
Engineering👨💻 Migrate mysql with minimal downtime 1. Login to existing mysql server. 2. Change the configuration /etc/my.
Engineering👨💻 Change log from git commits Git commits aren't the perfect way to communicate change logs, however it
Engineering👨💻 Amazon EBS backup + LVM No-nonsense steps: Backup mechanism: 1. Tag volumes of the attached instance with
Engineering👨💻 Debugging Connections To find number of unique connections per IP address, sorted from max
Engineering👨💻 Setting AWS Cloudwatch alarms aws cloudwatch put-metric-alarm --alarm-name "application-name-cpu" --metric-name CPUUtilization --namespace AWS/EC2 --statistic Average