How to test CORS using curl
curl -H "Origin: https://www.pydelion.com" \ https://static.pydelion.com/style/all.css -I -v
curl -H "Origin: https://www.pydelion.com" \ https://static.pydelion.com/style/all.css -I -v
fallocate -l 512M /mnt/swap ; \ dd if=/dev/zero of=/mnt/swap bs=512 count=1048576 \ ; mkswap /mnt/swap ; swapon /mnt/swap ; swapon -s ; free -m
ansible MySQL replication fails to change master with the following error: ‘Sending passwords in plain text without SSL/TLS is extremely insecure.’
To fix the problem open /usr/lib64/python2.6/site-packages/MySQLdb/cursors.py and change:
defer_warnings = False
to
defer_warnings = True
This is ugly but it works.