Skip to content

Instantly share code, notes, and snippets.

View ddrccw's full-sized avatar

ddrccw ddrccw

  • alibaba
  • Shanghai China
View GitHub Profile
@ddrccw
ddrccw / hello.h
Created January 14, 2014 04:03
detect jailbreak
//
// Created by ddrccw on 14-1-10.
// Copyright (c) 2014年 ddrccw. All rights reserved.
// refer to http://danqingdani.blog.163.com/blog/static/1860941952012102122847478/
#import <sys/stat.h>
#import <mach-o/dyld.h>
//#import <stdlib.h>
//#import <string.h>
@ddrccw
ddrccw / CCSingleton.h
Last active December 30, 2015 02:29
singletons
//
// CCSingleton.h
//
//
// Modified by ddrccw on 13-10-24.
// ref: http://www.cocoawithlove.com/2008/11/singletons-appdelegates-and-top-level.html
//
// Copyright (c) 2013年 admin. All rights reserved.
//
/*
@ddrccw
ddrccw / Makefile
Last active December 23, 2015 06:49
iOS ipa package utility, need to install ImageMagick etc.
PACKAGE=<path of package.sh> #$(shell pwd)/package.sh
####################################################################################
# not use workspace
####################################################################################
#default: debug
#
#debug:
# $(PACKAGE) -t <target-for-debug> -c <configuration-for-debug>
@ddrccw
ddrccw / .vimrc
Created February 16, 2014 13:35
.vimrc used by myself
" Description: used by myself
"
" Maintainer: ddrccw(ddrccw@gmail.com)
" Last change: 2014-02-16
"
" To use it, copy it to
" for Unix and OS/2: ~/.vimrc
" for Amiga: s:.vimrc
" for MS-DOS and Win32: $VIM\_vimrc
" for OpenVMS: sys$login:.vimrc
@ddrccw
ddrccw / .gitignore
Last active August 29, 2015 13:56 — forked from adamgit/.gitignore
.gitignore for objective-c
#########################
# .gitignore file for Xcode4 and Xcode5 Source projects
#
# Apple bugs, waiting for Apple to fix/respond:
#
# 15564624 - what does the xccheckout file in Xcode5 do? Where's the documentation?
#
# Version 2.1
# For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects
#