IT notes

macOs sparseimage

To create an install disk using an spare disk: $ hdiutil create -size 6GB -fs JHFS+ -volname "macOS_installmedia" -type SPARSE ~/Desktop/macOS_installmedia Mount it (or double-click in Finder to mount): $ hdiutil mount ~/Desktop/macOS_installmedia.sparseimage Use the createinstallmedia: $ sudo /Applications/Install\ macOS\ High\ --volume /Volumes/macOS_installmedia --applicationpath /Applications/Install\ macOS\ High\

MTU 1453

If after upgrading macOS to 10.13.4 wifi stop working give a try to change the MTU:

Delete Guest

To delete macOS Guest user: sudo dscl . -delete /Users/Guest This will avoid showing the Guest user on the login screen

ansible ImportError: No module named boto3

When using ansible (macOS) to fix this problem update your library: pip install --upgrade --user boto3 notice the –user it will update, your local $HOME/Library/Python/2.7/lib/python/site-packages By using --upgrade it will recreate the site-packages. Or create PYTHONPATH system variable: export PYTHONPATH=/usr/local/lib/python2.7/site-packages paramiko In case you get this error: Unicode-objects must be encoded before hashing", "unreachable": true Try: pip install --upgrade --user paramiko==2.0.6 To upgrade,reinstall ansible just in case:

brew update formula

Example: brew bump-formula-pr --strict --url= immortal To keep in sync forked repo: git fetch upstream git co upstream/master git push -f origin master