Skip to content

Instantly share code, notes, and snippets.

lifelong learner

Knight.zhou yangboz

lifelong learner
Block or report user

Report or block yangboz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View 8vELHLAE#.json
[ [ 21.596119999999999,
yangboz / Obj-C_Singleton.m
Created Mar 25, 2014
Obj-C_Singleton.m example code
View Obj-C_Singleton.m
// 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"
yangboz /
Created Mar 25, 2014
free-transform-manager sample code
import com.ryan.geom.FreeTransformManager;
import flash.display.Bitmap;
import flash.display.Sprite;
public class Main extends Sprite
yangboz / FLEX4.6.0_Air3.8_build_swc.xml
Last active Aug 29, 2015
FLEX ant file with as3 library project feature
View FLEX4.6.0_Air3.8_build_swc.xml
<?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"/>
yangboz / App42API_call_snippet
Created Feb 10, 2014
App42 API call with try...catch block
View App42API_call_snippet
//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.
You can’t perform that action at this time.