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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>JENKINS_HOME</key> | |
<string>/Users/Shared/Jenkins/Home</string> | |
</dict> | |
<key>GroupName</key> |
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 | |
# | |
# Startup script used by Jenkins launchd job. | |
# Mac OS X launchd process calls this script to customize | |
# the java process command line used to run Jenkins. | |
# | |
# Customizable parameters are found in | |
# /Library/Preferences/org.jenkins-ci.plist | |
# | |
# You can manipulate it using the "defaults" utility. |
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
cp ${JENKINS_HOME}/userContent/proguard.cfg proguard.cfg |
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
NSInteger width = [[UIScreen mainScreen] applicationFrame].size.width; |
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
//OK | |
[sheet showInView:[UIApplication sharedApplication].keyWindow]; | |
//NG | |
[sheet showInView: someViewController.view]; |
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
- (void)advTimeKeeper:(NSNumber * )param{ | |
[NSThread sleepForTimeInterval:0.1]; | |
[self performSelectorInBackground:@selector(progress:) | |
withObject:[NSNumber numberWithFloat:[param floatValue]]]; | |
if([param floatValue]<1.0){ | |
[self performSelector:@selector(advTimeKeeper:) | |
withObject:[NSNumber numberWithFloat:([param floatValue]+0.03125)]]; | |
//not work afterDelay | |
} |
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
- (void) refreshUIViewOnMainThread:(UIView*)view{ | |
[view performSelectorOnMainThread:@selector(setNeedsDisplay) | |
withObject:nil | |
waitUntilDone:YES]; | |
} |
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
NSURLResponse* response=nil;// not =nil; | |
NSError* error; | |
NSURL* url = [NSURL URLWithString:@"http://hogehoge"]; | |
NSURLRequest* request = [NSURLRequest requestWithURL:url]; | |
[NSURLConnection sendSynchronousRequest:req returningResponse:&response error:&error]; | |
NSLog(@"%@",response);// <null> |
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
git config --global color.ui true |
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 <Cocoa/Cocoa.h> | |
@interface MyOpenGLView : NSOpenGLView | |
{ | |
} | |
- (void) drawRect: (NSRect) bounds; | |
@end |
OlderNewer