This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/5.0/lib/darwin/ | |
mv libclang_rt.ios.a libclang_rt.ios-7.0.a | |
lipo -thin armv6 -output libclang_rt.ios-5.1.a /Applications/Xcode_4.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/4.0/lib/darwin/libclang_rt.ios.a | |
lipo -create -output libclang_rt.ios.a libclang_rt.ios-5.1.a libclang_rt.ios-7.0.a | |
cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/lib/ | |
mv dylib1.o dylib1-7.0.o | |
lipo -thin armv6 -output dylib1-5.1.o /Applications/Xcode_4.4.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/lib/dylib1.o | |
lipo -create -output dylib1.o dylib1-5.1.o dylib1-7.0.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static BOOL tweakEnBOOL; | |
#define SETTINGSFILENEW "com.imokhles.Prefs" | |
#define PREFERENCES_CHANGED_NOTIFICATION "com.imokhles.Prefs.preferences-changed" | |
// non ARC | |
static void iMoLoadPreferences() { | |
CFPreferencesAppSynchronize(CFSTR(SETTINGSFILENEW)); | |
tweakEnBOOL = !CFPreferencesCopyAppValue(CFSTR("Enabled"), CFSTR(SETTINGSFILENEW)) ? YES : [(id)CFBridgingRelease(CFPreferencesCopyAppValue(CFSTR("Enabled"), CFSTR(SETTINGSFILENEW))) boolValue]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
radr://5614542 | |
__mh_execute_header | |
_CFArrayAppendValue | |
_CFArrayApplyFunction | |
_CFArrayContainsValue | |
_CFArrayCreate | |
_CFArrayCreateMutable | |
_CFArrayGetCount | |
_CFArrayGetValueAtIndex | |
_CFArrayRemoveAllValues |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* sshtool | |
* | |
* Copyright (c) 2015 xerub | |
* Copyright (c) 1998 Pavel Machek | |
* | |
* This program is free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation; either version 2 of the License, or | |
* (at your option) any later version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (location.hostname == "ichitaso.blogspot.jp") { | |
document.write(unescape("%3Cscript")+" src='http://widget.zenback.jp/?base_uri=http%3A//ichitaso.blogspot.jp/&nsid=92480593027154643%3A%3A103422732225494055&rand="+Math.ceil((new Date()*1)*Math.random())+"' type='text/javascript'"+unescape("%3E%3C/script%3E")); | |
} else { | |
document.write(unescape("%3Cscript")+" src='http://widget.zenback.jp/?base_uri=http%3A//ichitaso.blogspot.com/&nsid=92480593027154643%3A%3A103448199502513442&rand="+Math.ceil((new Date()*1)*Math.random())+"' type='text/javascript'"+unescape("%3E%3C/script%3E")); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -urN makelink.orig/content/makelink/link_maker.js makelink/content/makelink/link_maker.js | |
--- makelink.orig/content/makelink/link_maker.js Tue Aug 17 20:28:18 2010 | |
+++ makelink/content/makelink/link_maker.js Fri Dec 17 22:27:40 2010 | |
@@ -129,7 +129,15 @@ | |
copyText += info['title']; | |
break; | |
case 'tinyurl': | |
- var shortenedUrl = this.urlShortener_.getShortenedUrl(info['url']); | |
+ var shortenedUrl = this.urlShortener_.getTinyUrlShortenedUrl(info['url']); | |
+ if (!shortenedUrl) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <UIKit/UIKit.h> | |
static BOOL isActivatingFromLongPress; | |
%hook BrowserToolbar | |
- (void)_installGestureRecognizers | |
{ | |
%orig; | |
id bookmarkButton = MSHookIvar<id>(self, "_bookmarksItem"); | |
UILongPressGestureRecognizer *longGesture = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(longPressBookmarkButton:)]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <SystemConfiguration/CaptiveNetwork.h> | |
NSString *currentSSID = @""; | |
CFArrayRef myArray = CNCopySupportedInterfaces(); | |
if (myArray != nil){ | |
NSDictionary* myDict = (NSDictionary *) CNCopyCurrentNetworkInfo(CFArrayGetValueAtIndex(myArray, 0)); | |
if (myDict!=nil){ | |
currentSSID=[myDict valueForKey:@"SSID"]; | |
} else { | |
currentSSID=@"<<NONE>>"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export THEOS=/opt/theos | |
if ! [ -d $THEOS ]; then | |
mkdir -p $THEOS | |
fi | |
# clone theos.git | |
cd /opt | |
git clone git://github.com/DHowett/theos.git |
OlderNewer