自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(66)
  • 资源 (1)
  • 收藏
  • 关注

原创 mysql utc 时间格式化

SELECT *,FROM_UNIXTIME(last_modify_date,'%m-%d-%Y') FROM his where goods_id = 4640 order by last_modify_date desc;

2015-09-01 12:28:59 2206

原创 amazon返利

2015-07-22 20:27:29 899

转载 查看 Apache并发请求数及其TCP连接状态

服务器上的一些统计数据:1)统计80端口连接数netstat -nat|grep -i "80"|wc -l2)统计httpd协议连接数ps -ef|grep httpd|wc -l3)、统计已连接上的,状态为“establishednetstat -na|grep ESTABLISHED|wc -l4)、查出哪个IP地址连接最多,将其封了.nets

2015-03-08 21:16:46 506

转载 在预编译阶段判断ios版本

在预编译阶段判断ios版本  #if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_5_0// This code will compile on versions >= ios5.0#else// This code will compile on versions#endif

2015-03-03 17:00:52 2549 1

原创 requirejs 清除缓存

requirejs 清除缓存的方法 var require = {          urlArgs: "bust=" +  (new Date()).getTime() };蜜赞网-海淘分享

2015-01-29 17:25:26 6714

转载 关于Certificate、Provisioning Profile、App ID的介绍及其之间的关系

来自:http://www.cnblogs.com/cywin888/p/3263027.html关于Certificate、Provisioning Profile、App ID的介绍及其之间的关系刚接触iOS开发的人难免会对苹果的各种证书、配置文件等不甚了解,可能你按照网上的教程一步一步的成功申请了真机调试,但是还是对其中的缘由一知半解。这篇文章就对Certific

2014-08-16 14:39:16 658

转载 微模隐私政策

http://www.csdn.net/article/2014-05-09/2819705-best-resources-android-development

2014-05-15 09:08:35 1395

原创 ios qq 分享 失败

1. TencentOAuth 是需要调用的,但QQ分享的代码就没有说明.分享代码如下:TencentOAuth *auth = [[TencentOAuth alloc] initWithAppId:@"APP ID" andDelegate:self];

2014-04-20 23:24:14 6976 1

转载 FastImageCache框架

http://humin.me/archives/tag/fastimagecache-ios

2014-04-06 21:37:10 2212

翻译 app被Rejected 的各种原因翻译

1. Terms and conditions(法律与条款)1.1 As a developer of applications for the App Store you are bound by the terms of the Program License Agreement (PLA), Human Interface Guidelines (HIG), and any

2014-03-18 09:39:02 1361

转载 需要将一个11GB的文件传输到另外一台服务器,如何断点续传?如何限制带宽?

http://www.redicecn.com/html/Linux/20130703/460.html需要将一个11GB的文件传输到另外一台服务器,如何断点续传?如何限制带宽? 使用rsync,完整命令如下:rsync -av --bwlimit=1000 --progress --inplace --rsh='ssh -p 22000' menus_

2014-01-14 22:56:41 3021

原创 摇一摇看电影

摇一摇看电影

2013-12-17 11:11:55 1237

转载 Eclipse的SVN Plugin

来源:http://xjh.iteye.com/blog/175046这里介紹Eclipse的SVN Plugin,叫做Subclipse,官方网站的下载地址在http://subclipse.tigris.org/,也提供了update site http://subclipse.tigris.org/update。 Eclipse的使用者可以通过Eclipse的插件自动下载和更新功能来

2013-07-10 08:59:00 619

转载 easyapns php ios push

https://github.com/manifestinteractive/easyapns

2013-05-24 14:23:57 792

转载 phpize

http://blog.51yip.com/php/177.html一,phpize的好处什么时候我们要用phpize呢?我们在安装php时:'./configure' '--prefix=/usr/local/php' '--with-mysql=/usr/local/mysql' '--with-zlib-dir' '--with-freetype-dir=/usr

2013-02-07 00:39:51 488

原创 主机屋免费空间申请

1、为了做淘宝api测试,今天上网找了一个免费的php+mysql空间,之前有同事说可以在国外申请空间,但只有50M,还不包数据库,但我是想找一个国内的,支持数据库的,收费也是可以的,在google下,搜到国内主机屋,符合我的要求,支持免费+付费两个版本,今天就先申请一个免费的够着用先。

2013-01-27 21:13:25 1397

转载 androidpn

https://github.com/dannytiehui/androidpnhttp://blog.csdn.net/flyingdog08/article/details/7336319http://www.apkbus.com/android-18168-1-1.html

2013-01-06 16:59:54 496

转载 HTML5带来wap网页颠覆性变革 开发实战之网易微博

http://www.admin5.com/article/20120612/437626.shtml

2013-01-04 13:01:45 746

转载 Android反编译助手

package cn.android.find.main;import java.io.BufferedReader;import java.io.File;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.FileReader;import java.io.FileW

2012-11-30 11:24:51 642

转载 Mac下Cocos2d-x Android开发环境配置

Mac下Cocos2d-x Android开发环境配置发表于 2012 年 9 月 3 日1. 资源准备Eclipse for MacAndroid SDK macAndroid NDK maccoco2d-x source Code2. 依次安装Eclipse安装CDTC++ Development Tools,直接在Eclipse,H

2012-11-28 14:37:44 2664

转载 游戏引擎Andengine总结(一):AndEngine环境配置及extension,AndEngineExamples导入

http://blog.csdn.net/onerain88/article/details/7257659

2012-11-27 09:23:44 668

转载 MKMapView

mapkit介绍,估计他是翻译下面demo的例子。http://blog.csdn.net/tangaowen/article/details/6527901demo;http://www.edumobile.org/iphone/iphone-programming-tutorials/mapkit-example-in-iphone/

2012-11-23 10:00:45 614

转载 iphone中使用第三方工具(RegexKitLite)实现正则表达式

http://labs.ywlx.net/?p=2299赢文用户注册功能模块中需要检查邮箱合法性,这里分享一下两种实现方法。方法一)RegexKitLite1)下载地址:http://regexkit.sourceforge.net/RegexKitLite/index.html2)解压后,将NSString-HexConversion.h/NSString

2012-10-17 10:26:52 873

转载 关于IPhone内存管理的其它10个Tips

http://akosma.com/2009/01/28/10-iphone-memory-management-tips/

2012-10-10 21:42:32 658

转载 iphone内存管理

http://hi.baidu.com/spopavenvldiqyr/item/c8d620b6282c4d4abb0e122aiphone内存管理(一)BY 洋葱头http://hi.baidu.com/yangcong121/home 内存管理在iphone中一直是一个热点话题。通过一段时间的总结我准备与大家分享一下我对内存管理的一点认识和经验.

2012-10-10 20:51:11 3458

原创 iphone arc

When you migrate a project to use ARC, the -fobjc-arc compiler flag is set as the default for all Objective-C source files. You can disable ARC for a specific class using the -fno-objc-arc compiler

2012-08-24 10:15:21 578

原创 cocos2d 开关按钮

// paly/pause button click CCMenuItemImage *btnOn = [CCMenuItemImage itemWithNormalImage:@"icon1.png" selectedImage:@"icon2.png"]; CCMenuItemImage *btnOff = [CCMenu

2012-05-24 19:41:10 944

转载 【IOS】开源项目汇总(更新时间2012-5-6)

转:http://blog.csdn.net/toss156/article/details/7380420

2012-05-14 16:37:05 508

原创 NSRegularExpression 手机号码判断

-(BOOL)isTelNum:(NSString *)num{ //一个判断是否是移动号码的正则表达式 //130、131、132、152、155、156、185、186 //NSString *regex = @"^(13[0-2]|152|155|156|185|186)[0-9]{8}$"; NSString *regex = @"^(1)[0

2012-04-09 11:00:56 1792

原创 popViewControllerAnimated 动画

/* NSString *types[4] = {kCATransitionMoveIn, kCATransitionPush, kCATransitionReveal, kCATransitionFade}; NSString *subtypes[4] = {kCATransitionFromLeft, kCATransitionFromRight, kCAT

2012-04-05 10:32:10 4063

转载 Add 2 UIButtons to a UINavigationBar right item

http://snipplr.com/view/35730/// create a toolbar to have two buttons in the rightUIToolbar* tools = [[UIToolbar alloc] initWithFrame:CGRectMake(0, 0, 90.0, 44.01)]; // create the array to hold t

2012-03-30 10:50:45 756

转载 Google的Objective-C编码规范

http://www.cnblogs.com/junwang/archive/2011/03/04/1970569.html

2012-03-29 16:06:20 458

原创 uiview animations

http://files.cnblogs.com/v2m_/animations.zip

2012-03-23 17:20:20 412

转载 UITableView的折叠效果

http://dl5.csdn.net/fd.php?i=809141388477707&s=9f5547ec8ee62d9689099df3bb035b73

2012-03-23 17:16:36 606

转载 GCRetractableSectionController

https://github.com/gcamp/GCRetractableSectionController

2012-03-23 17:05:27 564

原创 sms开发

http://www.simpleteam.com/cmpp.php

2012-03-16 23:32:59 570

原创 UITextField出现删除按钮

UITextField出现删除按钮如果用IB写UITextFieldIB:Clear Button: Appears while editing如果用代码写UITextField.m textField.clearButtonMode = UITextFieldViewModeWhileEditing;

2012-03-07 08:56:26 7464

转载 UIPicker and keyboard

http://stackoverflow.com/questions/3205357/popup-uipicker-instead-of-keyboard源码在这里:https://github.com/larsacus/LARSSlidingPicker

2012-03-05 16:38:54 564

转载 Application supports iTunes file sharing

http://www.cocoachina.com/bbs/read.php?tid-20122.html

2012-02-29 16:47:27 3424

转载 iphone常用的文件存放路径

http://blog.csdn.net/psongchao/article/details/4232192

2012-02-28 17:29:11 479

iphone tabnav4

iphone iAd广告开发,会检测网络状态

2012-03-27

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除