Skip to content

Instantly share code, notes, and snippets.

View wakinchan's full-sized avatar
👻
working

Yusuke KUROIWA wakinchan

👻
working
View GitHub Profile
@wakinchan
wakinchan / install_theos.sh
Created August 20, 2012 12:52 — forked from tom-go/install_theos.sh
Theos install script
#!/bin/bash
export THEOS=/opt/theos
# clone theos.git
cd /opt
git clone git://github.com/DHowett/theos.git
# clone iphoneheaders.git
cd $THEOS
mv include include.bak
@wakinchan
wakinchan / auto_mpi.sh
Created March 3, 2013 06:38
iOS Tweak instant `make package install`
#!/bin/sh
expect -c"
spawn make package install
expect {
\"'s password:\" {
send \"alpine\r\"
expect \"'s password:\"
send \"alpine\r\"
expect \"'s password:\"
send \"alpine\r\"
#!/bin/bash
# class-dump class-dump-z
# - main.h
# CDStructures.h main-Structs.h
# xxx-Protocol.h xxx.h
usage ()
{
echo "Usage: $0 executable target_directory"
@wakinchan
wakinchan / gist:5212033
Last active December 15, 2015 05:49
Sublime Text 2 options. cf. https://gist.github.com/orta/1490994 Don't operate smoothly...
{
// Delay in ms until autocompletion pops up after . or :: or ->
// Set to 0 to disable
"popup_delay": 100,
// Delay in ms until recompiling the file after the buffer is modified
// Set to 0 to disable
"recompile_delay": 1000,
// Whether or not to hide the clang output panel when it's empty
@wakinchan
wakinchan / gist:5271977
Last active December 15, 2015 14:08
Gunosy Enahncer Makefile
ARCHS = armv7
THEOS_INSTALL_KILL = gunosy
THEOS_DEVICE_IP = iphone.local
include theos/makefiles/common.mk
TWEAK_NAME = GunosyEnhancer
GunosyEnhancer_FILES = PocketAPI/PocketAPI.m PocketAPI/PocketAPIOperation.m PocketAPI/SFHFKeychainUtils.m
GunosyEnhancer_OBJCC_FILES = Tweak.xm
GunosyEnhancer_FRAMEWORKS = UIKit Security Foundation CoreGraphics
#!/bin/bash
THEOS_INSTALL_DIR="/opt"
THEOS=${THEOS_INSTALL_DIR}/theos
BIGBOSS_REPO="http://apt.thebigboss.org/repofiles/cydia"
SUBSTRATE_REPO="http://apt.saurik.com"
# initial theos install directory check
if [ ! -d "$THEOS_INSTALL_DIR" ]; then
echo "making $THEOS_INSTALL_DIR"
@wakinchan
wakinchan / libcleverdumphelper
Created June 16, 2013 10:19
assist to libcreverdump
#!/bin/bash
function dump {
if [ ! -e /usr/bin/class-dump ]; then
echo
echo "Cannot find Class Dump install it to use this option"
echo
exit 1
fi
echo
@wakinchan
wakinchan / Social.framework (Twitter)
Created July 1, 2013 14:17
Social.framework (Twitter)
<UIWindow: 0x1e159b80; frame = (0 0; 320 480); opaque = NO; layer = <UIWindowLayer: 0x1e159c80>>
| <UILayoutContainerView: 0x1e0b8110; frame = (0 0; 320 480); autoresize = W+H; layer = <CALayer: 0x1e0b8180>>
| | <UINavigationTransitionView: 0x1e0ba1e0; frame = (0 0; 320 480); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x1e0baa50>; layer = <CALayer: 0x1e0ba2b0>>
| | | <UIViewControllerWrapperView: 0x1fb87e90; frame = (0 64; 320 372); layer = <CALayer: 0x1fb68020>>
| | | | <BrowserView: 0x1fb75cc0; baseClass = UIWebView; frame = (0 0; 320 372); layer = <CALayer: 0x1fb5b810>>
| | | | | <_UIWebViewScrollView: 0x1fb67dd0; frame = (0 0; 320 372); clipsToBounds = YES; autoresize = H; gestureRecognizers = <NSArray: 0x1fb8e210>; layer = <CALayer: 0x1fb68050>; contentOffset: {0, 1652}>
| | | | | | <UIImageView: 0x1fb53f30; frame = (0 0; 54 54); transform = [-1, 0, -0, -1, 0, 0]; alpha = 0; opaque = NO; userInteractionEnabled = NO;
@wakinchan
wakinchan / Social.framework (Facebook)
Created July 1, 2013 14:20
Social.framework (Facebook)
<UIWindow: 0x1e159b80; frame = (0 0; 320 480); opaque = NO; layer = <UIWindowLayer: 0x1e159c80>>
| <UILayoutContainerView: 0x1e0b8110; frame = (0 0; 320 480); autoresize = W+H; layer = <CALayer: 0x1e0b8180>>
| | <UINavigationTransitionView: 0x1e0ba1e0; frame = (0 0; 320 480); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x1e0baa50>; layer = <CALayer: 0x1e0ba2b0>>
| | | <UIViewControllerWrapperView: 0x1fb87e90; frame = (0 64; 320 372); layer = <CALayer: 0x1fb68020>>
| | | | <BrowserView: 0x1fb75cc0; baseClass = UIWebView; frame = (0 0; 320 372); layer = <CALayer: 0x1fb5b810>>
| | | | | <_UIWebViewScrollView: 0x1fb67dd0; frame = (0 0; 320 372); clipsToBounds = YES; autoresize = H; gestureRecognizers = <NSArray: 0x1fb8e210>; layer = <CALayer: 0x1fb68050>; contentOffset: {0, 1652}>
| | | | | | <UIImageView: 0x1fb53f30; frame = (0 0; 54 54); transform = [-1, 0, -0, -1, 0, 0]; alpha = 0; opaque = NO; userInteractionEnabled = NO;
@wakinchan
wakinchan / gist:8617153
Created January 25, 2014 14:24
Transparent Icon Selection
#define PreferencesFilePath [NSHomeDirectory() stringByAppendingPathComponent:@"Library/Preferences/com.kindadev.transparenticonselection.plist"]
@interface SBApplicationIcon
- (id)applicationBundleID;
@end
@interface SBUserInstalledApplicationIcon : SBApplicationIcon
@end
%hook SBIconImageView