Skip to content

Instantly share code, notes, and snippets.

View sferrini's full-sized avatar
💥
0xfffffff041414141

Simone Ferrini sferrini

💥
0xfffffff041414141
View GitHub Profile
//: Playground - noun: a place where people can play
typealias CompletionBlock = (Bool) -> ()
class BlockStorage {
var blocks = [CompletionBlock]()
func addBlock(block: CompletionBlock) {
blocks.append(block)
@sferrini
sferrini / Makefile
Last active July 5, 2016 17:11 — forked from jndok/Makefile
MachOMan - a basic Mach-O parsing library
all:
clang machoman.c -dynamiclib -o libmachoman.dylib
clean:
rm -rf libmachoman.dylib
//: Playground - noun: a place where people can play
struct User {
var name: String
init() {
name = ""
}
}
@sferrini
sferrini / build-xnu-4570.1.46.sh
Created October 9, 2017 09:48 — forked from bazad/build-xnu-4570.1.46.sh
A script to build XNU version 4570.1.46 (macOS High Sierra 10.13).
#! /bin/bash
#
# build-xnu-4570.1.46.sh
# Brandon Azad
#
# A script showing how to build XNU version 4570.1.46 on MacOS High Sierra
# 10.13 with Xcode 9.
#
# Note: This process will OVERWRITE files in Xcode's MacOSX10.13.sdk. Make a
# backup of this directory first!