Skip to content

Instantly share code, notes, and snippets.

@possen
possen / export-fat-swift-dynamic-framework.sh
Last active August 23, 2019 11:19 — forked from eladnava/export-fat-swift-dynamic-framework.sh
Updated for Xcode 11, outputs to the xcarchive so it can be exported from organizer.
#set -x
exec > /tmp/${PROJECT_NAME}_archive.log 2>&1
#export XCODE_DEVELOPER_DIR_PATH=${DEVELOPER_DIR}
unset XCODE_DEVELOPER_DIR_PATH
#env
UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal
if [ "true" == ${ALREADYINVOKED:-false} ]
then
@possen
possen / beautiful_idiomatic_python.md
Created October 19, 2017 05:23 — forked from JeffPaine/beautiful_idiomatic_python.md
Transforming Code into Beautiful, Idiomatic Python: notes from Raymond Hettinger's talk at pycon US 2013. The code examples and direct quotes are all from Raymond's talk. I've reproduced them here for my own edification and the hopes that others will find them as handy as I have!

Transforming Code into Beautiful, Idiomatic Python

Notes from Raymond Hettinger's talk at pycon US 2013 video, slides.

The code examples and direct quotes are all from Raymond's talk. I've reproduced them here for my own edification and the hopes that others will find them as handy as I have!

Looping over a range of numbers

for i in [0, 1, 2, 3, 4, 5]:
@possen
possen / sierra-hackintosh-z270-ar.md
Last active May 11, 2019 18:35 — forked from unsalted/sierra-hackintosh-z170-a.md
Sierra 10.12.6 Hackintosh | Asus z270-AR, Intel i5 7600, MSI 1080 Gaming X 8GB, EVGA 1080 8GB Kaby Lake

Sierra 10.12.6 Hackintosh

Based upon this GIST which was great!

This is my build documentation for an ASUS PRIME Z270-AR setup with an MSI 1080 Gaming X 8GB, EVGA 1080 8GB and the Intel i5 7600, most of this came from the person I forked this guide from. This build also doesn't have NVRAM. Nearest I can tell everything is running as expected, including all USB and audio ports. Make sure you get MacOS 10.12.6 as it has native support for Kaby Lake processors, and you won't need to fake the CPUID.

Build

  • Asus Z270-AR
  • Intel Core i5-7600 (Intel(R) Core(TM) i5-7600 CPU @ 3.50GHz)*