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
@try{ | |
//App42 service API call here. | |
}@catch (App42BadParameterException *ex) { | |
NSLog(@"BadParameterException found,status code:%d",ex.appErrorCode); | |
}@catch (App42SecurityException *ex) { | |
NSLog(@"SecurityException found!"); | |
}@catch (App42Exception *ex) { | |
NSLog(@"App42 Exception found:%@",ex.description); | |
//NSAlert here. | |
} |
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"?> | |
<!-- This build file provdes a close approximation of the build process | |
and build settings inside Flash Builder, but it is not an exact copy. | |
Please customize this file as necessary. --> | |
<!-- Generated from project settings as of 3/18/14 6:45 PM --> | |
<project name="XXXXLib1.0" default="build" basedir="."> | |
<property name="FLEX_HOME" value="C:\Software\FLEX\sdks\4.6.0_Air3.8"/> | |
<property name="SDK_VERSION" value="4.6.0"/> |
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
// | |
// Common Objective-C Singleton Class.m | |
// iOS | |
// | |
// Created by yangboz on 03-25-14. | |
// Copyright (c) 2013年 GODPAPER. All rights reserved. | |
// | |
#import "App42_API_Utils.h" |
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
package | |
{ | |
import com.ryan.geom.FreeTransformManager; | |
import flash.display.Bitmap; | |
import flash.display.Sprite; | |
import flash.events.Event; | |
public class Main extends Sprite | |
{ |
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
[ [ 21.596119999999999, | |
112.0187, | |
"YUEJIANGCHENG90609", | |
2, | |
78, | |
26, | |
"CN", | |
412477316, | |
15, | |
23, |
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
@implementation | |
- (void)setup { | |
// Non-UI initialization goes here. It will only ever be called once. | |
} | |
- (id)initWithNibName:(NSString *)nibName bundle:(NSString *)bundle { | |
if ((self = [super initWithNibName:nibName bundle:bundle])) { | |
[self setup]; | |
} |
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
<!-- | |
@ref: http://chrigl.de/blogentries/integration-of-pylint-into-jenkins | |
@ref: http://redsolo.blogspot.com/2007/11/hudson-embraces-python.html | |
@more: http://bitten.edgewall.org/wiki/Documentation/commands.html | |
--> | |
<project default="all" basedir="../"> | |
<!-- | |
Define an environment variable pointing to PyLint folder or change this | |
--> | |
<property environment="env"/> |
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
CHBIN-M-Q0AA@[~/Projects] | |
$> find ./dingding_bonus -type d -print | sed -n -e '/[0-9]\{8,8\}$/p' | sed -n -e 's/\(.*\)\/\([0-9]\{8,8\}\)$/\1\/\2##\2/gp;' | awk -F '##' '{if(int($2) < cmpVl)print $1}' cmpVl="20150910" | |
./dingding_bonus/20150902 | |
./dingding_bonus/20150903 | |
./dingding_bonus/20150904 | |
./dingding_bonus/20150905 | |
./dingding_bonus/20150906 | |
./dingding_bonus/20150907 | |
./dingding_bonus/20150908 | |
./dingding_bonus/20150909 |
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
package | |
{ | |
//-------------------------------------------------------------------------- | |
// | |
// Imports | |
// | |
//-------------------------------------------------------------------------- | |
import flash.display.Sprite; | |
import flash.events.Event; | |
import flash.events.MouseEvent; |
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"?> | |
<project name="XXX Application Build with check style" default="run" basedir="../"> | |
<description> | |
Ant build sample for running | |
- checkstyle, | |
</description> | |
<!-- Change the paths to your individual installation directories --> | |
<property name="checkstyle.home.dir" location="${basedir}/tools/checkstyle/"/> |
OlderNewer