A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
| Set inline width & height. | |
| Video, img alternative natural width & height: 1920 x 1080 | |
| 21mb video O_O | |
| http://codepen.io/MikeMcChillin/pen/wKGFz |
| #!/usr/bin/env python | |
| import plistlib | |
| from shutil import copy | |
| import subprocess | |
| import os | |
| from tempfile import gettempdir | |
| import sys | |
| import atexit | |
| BOOKMARKS_PLIST = '~/Library/Safari/Bookmarks.plist' |
| /usr/bin/plutil -convert xml1 -o - ~/Library/Safari/Bookmarks.plist | grep -E -o '<string>http[s]{0,1}://.*</string>' | grep -v icloud | sed -E 's/<\/{0,1}string>//g' |