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
@interface MLViewControllerCollectionViewCell : UICollectionViewCell | |
@property (nonatomic, strong, readonly) UIViewController *viewController; | |
- (void)setViewController:(UIViewController *)viewController parentViewController:(UIViewController*)parentViewController; | |
@end |
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 "MLViewControllerCollectionViewCell.h" | |
@implementation MLViewControllerCollectionViewCell | |
- (void)setViewController:(UIViewController *)viewController parentViewController:(UIViewController*)parentViewController { | |
if (_viewController != viewController) { | |
if (_viewController) { | |
[_viewController removeFromParentViewController]; | |
[_viewController.view removeFromSuperview]; | |
[_viewController didMoveToParentViewController:nil]; |
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
<html><head><title>Apache Tomcat/6.0.18 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>java.io.FileNotFoundException: /app/mobclix-download/files/mike_decafn |
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
(function() { | |
function preventBehavior(e) { | |
e.preventDefault(); | |
window.scrollTo(0, 0); | |
}; | |
document.__defineGetter__("preventScroll", function() { | |
return document._preventScroll; | |
}); | |
document.__defineSetter__("preventScroll", function(preventScroll) { | |
document._preventScroll = preventScroll; |
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/sh | |
function failed() | |
{ | |
echo "Failed: $@" >&2 | |
exit 1 | |
} | |
set -ex | |
export OUTPUT=$WORKSPACE/output |
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
SDKS="iphoneos3.0" | |
CONFIGURATIONS="Distribution Release" | |
ProvisionDistribution=<CERTIFICATE_UUID>.mobileprovision | |
ProvisionRelease=<CERTIFICATE_UUID>.mobileprovision |
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
set -ex | |
export OUTPUT=$WORKSPACE/logs | |
rm -rf $OUTPUT | |
mkdir -p $OUTPUT | |
# Pull in prerequisite modules | |
PERL5LIB=`perl -e 'use Config; my $dir = $Config{sitelib}; $dir =~ s|/usr|$ENV{WORKSPACE}|; print $dir'` | |
export PERL5LIB | |
export PERL_TEST_HARNESS_DUMP_TAP=$OUTPUT | |
export TEST_VERBOSE=1 |
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/sh | |
USER=hudson | |
PASS=password | |
HUDSON_URL=http://$USER:$PASS@<my-build-server>:8080 | |
JOB=$1 | |
TOKEN=$2 | |
CAUSE=$2 | |
set -x |
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
navigator.notification.alert( | |
"There was an error connecting to the Internet. Would you like to retry?.", | |
"No Internet connection", | |
"No", | |
"Yes", | |
{ | |
onClose: function(buttonIndex) { | |
if (buttonIndex == 1) | |
retryConnection(); | |
} |
OlderNewer