Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
/* | |
* Shadowmapping, a way of bypassing iOS 'kernel page bits protection'. | |
* (ARM32 only for now obviously.) | |
* | |
* Also a very nice and easy way of copying data in and out of kernel memory | |
* by breaking the barrier entirely. Thank you TTBCR and split TTBR0/TTBR1!<3 | |
* | |
* Control flow goes like this if you have a write anywhere exploit: | |
* | |
* - Find location of kernel_pmap (dereference to get kernel_pmap_store.) |
# This script adds a "Webclip" shortcut to your homescreen. | |
# The shortcut can be used to open a web page in full-screen mode, | |
# or to launch a custom URL (e.g. a third-party app). | |
# You'll be asked for a title, a URL, and an icon (from your camera roll) | |
import plistlib | |
import BaseHTTPServer | |
import webbrowser | |
import uuid | |
from io import BytesIO |
__block void(^block)(int) = ^(int i) { | |
printf("%d", i); | |
if (i > 0) { | |
block(i-1); | |
} else { | |
block = nil; | |
} | |
}; | |
block(9); |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
// Taken from the commercial iOS PDF framework http://pspdfkit.com. | |
// Copyright (c) 2014 Peter Steinberger, PSPDFKit GmbH. All rights reserved. | |
// Licensed under MIT (http://opensource.org/licenses/MIT) | |
// | |
// You should only use this in debug builds. It doesn't use private API, but I wouldn't ship it. | |
// PLEASE DUPE rdar://27192338 (https://openradar.appspot.com/27192338) if you would like to see this in UIKit. | |
#import <objc/runtime.h> | |
#import <objc/message.h> |
# !/bin/bash | |
# Copyright (c) 2011 Float Mobile Learning | |
# http://www.floatlearning.com/ | |
# Extension Copyright (c) 2013 Weptun Gmbh | |
# http://www.weptun.de | |
# | |
# Extended by Ronan O Ciosoig January 2012 | |
# | |
# Extended by Patrick Blitz, April 2013 |
// | |
// FGOManagedObjectContextStack.h | |
// | |
// Created by Indragie Karunaratne on 2012-12-23. | |
// | |
#import <Foundation/Foundation.h> | |
typedef void (^FGOConfigurationBlock)(id); |
import urllib | |
import tarfile | |
import shutil | |
import console | |
import os | |
class Installer(object): | |
name = None | |
version = None | |
firstLetter = None |
#import <Foundation/Foundation.h> | |
@interface NSObject (Subclasses) | |
+ (NSSet *) subclasses_xcd; | |
@end |
#!/bin/bash | |
# Referenced from | |
# http://coin-c.tumblr.com/post/18063869172/thread-safe-xmllib2 | |
# http://pastie.org/3429938 | |
mkdir -p `pwd`/build | |
OUTDIR="./build" | |
IOS_BASE_SDK="5.0" |