View TableAPI.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# Credits to fuckbecauseican5 from
# Adapted to work with the official image available into Mac App Store
# Enjoy!
hdiutil attach /Applications/Install\ macOS\ -noverify -nobrowse -mountpoint /Volumes/install_app
hdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+J
hdiutil attach /tmp/Sierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build
View gist:ab4707f91c246a3ce0220274a956d631
>>> def foo(l=[]):
... l.append("Hello")
... print(l)
>>> foo()
>>> foo()
['Hello', 'Hello']
>>> foo()
['Hello', 'Hello', 'Hello']