This file contains hidden or 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 -Naur openssl-1.0.0e-orig/Makefile.org openssl-1.0.0e/Makefile.org | |
| --- openssl-1.0.0e-orig/Makefile.org 2010-01-27 19:06:58.000000000 +0300 | |
| +++ openssl-1.0.0e/Makefile.org 2011-10-26 01:01:52.000000000 +0400 | |
| @@ -559,13 +559,14 @@ | |
| echo ''; \ | |
| sed -e '1,/^$$/d' doc/openssl-shared.txt; \ | |
| fi; \ | |
| - fi | |
| - cp libcrypto.pc $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/pkgconfig | |
| - chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/pkgconfig/libcrypto.pc |
This file contains hidden or 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
| Binary files .DS_Store and .DS_Store differ | |
| diff -rupN Makefile.am Makefile.am | |
| --- Makefile.am 2011-10-23 21:33:41.000000000 +0400 | |
| +++ Makefile.am 2011-10-23 21:35:09.000000000 +0400 | |
| @@ -145,6 +145,15 @@ openvpn_SOURCES = \ | |
| tun.c tun.h \ | |
| win32.h win32.c \ | |
| cryptoapi.h cryptoapi.c | |
| + | |
| +if APPLE |
This file contains hidden or 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
| From 96eb48310d85ff107e2c46c80488d89598f248cf Mon Sep 17 00:00:00 2001 | |
| From: Roman Busyghin <nskboy@gmail.com> | |
| Date: Sun, 23 Oct 2011 21:12:55 +0400 | |
| Subject: [PATCH] Ability to lookup OS X keychain to load VPN certificate | |
| This patch is created by Brian Raderman <brian@irregularexpression.org> and modified a bit in order to be compiled with make instead of Xcode | |
| --- | |
| Makefile.am | 9 + | |
| cert_data.c | 631 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | |
| cert_data.h | 44 ++++ |
This file contains hidden or 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
| From a53d19a34be1301c4f4c37e9767ca698885b84fb Mon Sep 17 00:00:00 2001 | |
| From: Roman Busyghin <nskboy@gmail.com> | |
| Date: Sun, 23 Oct 2011 20:37:52 +0400 | |
| Subject: [PATCH] Ability to lookup OS X keychain to load VPN certificate | |
| This patch is created by Brian Raderman <brian@irregularexpression.org> and modified a bit in order to be compiled with make instead of Xcode | |
| --- | |
| Makefile.am | 9 + | |
| cert_data.c | 631 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | |
| cert_data.h | 44 ++++ |
This file contains hidden or 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
| # Put this file in the root of your git repository then run `ruby blame.rb`. | |
| # You will need gsed. You can install gsed with `brew install gsed`. | |
| # Crazy shell script taken from http://stackoverflow.com/questions/4589731/git-blame-statistics | |
| input = `git ls-tree -r HEAD|gsed -re 's/^.{53}//'|while read filename; do file "$filename"; done|grep -E ': .*text'|gsed -r -e 's/: .*//'|while read filename; do git blame "$filename"; done|gsed -r -e 's/.*\\((.*)[0-9]{4}-[0-9]{2}-[0-9]{2} .*/\\1/' -e 's/ +$//'|sort|uniq -c` | |
| aggregated = {} | |
| input.lines.each do |line| | |
| line.strip! | |
This file contains hidden or 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> | |
| #import <QuartzCore/QuartzCore.h> | |
| @interface CALayer (YXDebug) | |
| - (UIImage *)snapshot; | |
| - (void)dumpSublayerImagesToFolder:(NSString *)folderPath; | |
| - (void)highlightSublayerBorders; | |
| @end |
This file contains hidden or 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> | |
| @interface UIView (YXDebug) | |
| - (NSString *)subtreeDescription; | |
| @end |
This file contains hidden or 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 <Foundation/Foundation.h> | |
| @interface NSObject (YXDebug) | |
| - (NSString *)yx_description; | |
| @end |
This file contains hidden or 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
| // NSURLConnection wrapper | |
| // like NSURLConnection, requires a runloop, callbacks happen in runloop that set up load | |
| @interface LDURLLoader : NSObject | |
| { | |
| NSURLConnection *_connection; | |
| NSTimeInterval _timeout; | |
| NSTimer *_timeoutTimer; | |
| NSURLResponse *_response; | |
| long long _responseLengthEstimate; | |
| NSMutableData *_accumulatedData; |
This file contains hidden or 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
| /* | |
| * Adds the serialNumber property to the UIDevice class | |
| * | |
| * The implementation uses undocumented (for iOS) IOKit functions, | |
| * so handle with caution and be prepared for nil. | |
| */ | |
| #import <UIKit/UIDevice.h> | |
| @interface UIDevice (serialNumber) |