Skip to content

Instantly share code, notes, and snippets.

HappyMan happymanx

Block or report user

Report or block happymanx

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
@happymanx
happymanx / Zipcode.json
Created Apr 7, 2016
Taiwan Zipcode Address
View Zipcode.json
{"city":[{"dist":[{"name":"仁愛區","c3":"200"},{"name":"信義區","c3":"201"},{"name":"中正區","c3":"202"},{"name":"中山區","c3":"203"},{"name":"安樂區","c3":"204"},{"name":"暖暖區","c3":"205"},{"name":"七堵區","c3":"206"}],"name":"基隆市"},{"dist":[{"name":"中正區","c3":"100"},{"name":"大同區","c3":"103"},{"name":"中山區","c3":"104"},{"name":"松山區","c3":"105"},{"name":"大安區","c3":"106"},{"name":"萬華區","c3":"108"},{"name":"信義區","c3":"110"},{"name":"士林區","c3":"111"},{"name":"北投區","c3":"112"},{"name":"內湖區","c3":"114"},{"name":"南港區","c3":"115"},{"name":"文山區","c3":"116"}],"name":"台北市"},{"dist":[{"name":"萬里區","c3":"207"},{"name":"金山區","c3":"208"},{"name":"板橋區","c3":"220"},{"name":"汐止區","c3":"221"},{"name":"深坑區","c3":"222"},{"name":"石碇區","c3":"223"},{"name":"瑞芳區","c3":"224"},{"name":"平溪區","c3":"226"},{"name":"雙溪區","c3":"227"},{"name":"貢寮區","c3":"228"},{"name":"新店區","c3":"231"},{"name":"坪林區","c3":"232"},{"name":"烏來區","c3":"233"},{"name":"永和區","c3":"234"},{"name":"中和區","c3":"235"},{"name":"土城區","c3":"236"},{"name":"三峽區","c3":"237"},{"name":"樹林區","c3":"23
@happymanx
happymanx / UINavigationControllerFade.h
Last active Mar 19, 2016
Customize Navigation Animation
View UINavigationControllerFade.h
// UINavigationControllerFade.h
#import <UIKit/UIKit.h>
@interface UINavigationController (Fade)
- (void)pushFadeViewController:(UIViewController *)viewController;
- (void)fadePopViewController;
@end
@happymanx
happymanx / UIImage+colorImage.h
Last active Dec 9, 2015
Gradient Color Image
View UIImage+colorImage.h
//
// UIImage+colorImage.h
// HappyMan
//
// Created by Arthur on 2015/6/24.
// Copyright (c) 2015年 LW. All rights reserved.
//
#import <UIKit/UIKit.h>
@happymanx
happymanx / Canny Detector.cpp
Last active Dec 4, 2015
[OpenCV] Canny Detector
View Canny Detector.cpp
/**
Theme: Canny Detector
IDE: Xcode 7, OSX 10.10
Language: C++, OpenCV 2.4.12
Date: 104/12/04
Author: HappyMan
Blog: http://cg2010studio.wordpress.com/
*/
#include "opencv2/imgproc/imgproc.hpp"
@happymanx
happymanx / Display Image.cpp
Last active Feb 24, 2017
[OpenCV] Display Image
View Display Image.cpp
/**
Theme: Display Image
IDE: Xcode 7, OSX 10.10
Language: C++, OpenCV 2.4.12
Date: 104/12/04
Author: HappyMan
Blog: http://cg2010studio.wordpress.com/
*/
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
You can’t perform that action at this time.