Skip to content

Instantly share code, notes, and snippets.

Pierre Gérard PierreGe

Block or report user

Report or block PierreGe

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View TableAPI.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@PierreGe
PierreGe / create-iso.sh
Created Nov 25, 2016 — forked from julianxhokaxhiu/create-iso.sh
Simple bash script to create a Bootable ISO from macOS Sierra Install Image from Mac App Store
View create-iso.sh
#!/bin/bash
#
# Credits to fuckbecauseican5 from https://www.reddit.com/r/hackintosh/comments/4s561a/macos_sierra_16a238m_install_success_and_guide/
# Adapted to work with the official image available into Mac App Store
#
# Enjoy!
hdiutil attach /Applications/Install\ macOS\ Sierra.app/Contents/SharedSupport/InstallESD.dmg -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()
['Hello']
>>> foo()
['Hello', 'Hello']
>>> foo()
['Hello', 'Hello', 'Hello']
You can’t perform that action at this time.