- 博客(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
2283
转载 查看 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
546
转载 在预编译阶段判断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
2591
原创 requirejs 清除缓存
requirejs 清除缓存的方法 var require = { urlArgs: "bust=" + (new Date()).getTime() };蜜赞网-海淘分享
2015-01-29 17:25:26
6780
转载 关于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
696
转载 微模隐私政策
http://www.youkuaiyun.com/article/2014-05-09/2819705-best-resources-android-development
2014-05-15 09:08:35
1439
原创 ios qq 分享 失败
1. TencentOAuth 是需要调用的,但QQ分享的代码就没有说明.分享代码如下:TencentOAuth *auth = [[TencentOAuth alloc] initWithAppId:@"APP ID" andDelegate:self];
2014-04-20 23:24:14
7067
翻译 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
1436
转载 需要将一个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
3206
转载 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
651
转载 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
525
原创 主机屋免费空间申请
1、为了做淘宝api测试,今天上网找了一个免费的php+mysql空间,之前有同事说可以在国外申请空间,但只有50M,还不包数据库,但我是想找一个国内的,支持数据库的,收费也是可以的,在google下,搜到国内主机屋,符合我的要求,支持免费+付费两个版本,今天就先申请一个免费的够着用先。
2013-01-27 21:13:25
1464
转载 androidpn
https://github.com/dannytiehui/androidpnhttp://blog.youkuaiyun.com/flyingdog08/article/details/7336319http://www.apkbus.com/android-18168-1-1.html
2013-01-06 16:59:54
528
转载 HTML5带来wap网页颠覆性变革 开发实战之网易微博
http://www.admin5.com/article/20120612/437626.shtml
2013-01-04 13:01:45
776
转载 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
668
转载 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
2707
转载 游戏引擎Andengine总结(一):AndEngine环境配置及extension,AndEngineExamples导入
http://blog.youkuaiyun.com/onerain88/article/details/7257659
2012-11-27 09:23:44
703
转载 MKMapView
mapkit介绍,估计他是翻译下面demo的例子。http://blog.youkuaiyun.com/tangaowen/article/details/6527901demo;http://www.edumobile.org/iphone/iphone-programming-tutorials/mapkit-example-in-iphone/
2012-11-23 10:00:45
654
转载 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
907
转载 关于IPhone内存管理的其它10个Tips
http://akosma.com/2009/01/28/10-iphone-memory-management-tips/
2012-10-10 21:42:32
697
转载 iphone内存管理
http://hi.baidu.com/spopavenvldiqyr/item/c8d620b6282c4d4abb0e122aiphone内存管理(一)BY 洋葱头http://hi.baidu.com/yangcong121/home 内存管理在iphone中一直是一个热点话题。通过一段时间的总结我准备与大家分享一下我对内存管理的一点认识和经验.
2012-10-10 20:51:11
3521
原创 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
600
原创 cocos2d 开关按钮
// paly/pause button click CCMenuItemImage *btnOn = [CCMenuItemImage itemWithNormalImage:@"icon1.png" selectedImage:@"icon2.png"]; CCMenuItemImage *btnOff = [CCMenu
2012-05-24 19:41:10
982
转载 【IOS】开源项目汇总(更新时间2012-5-6)
转:http://blog.youkuaiyun.com/toss156/article/details/7380420
2012-05-14 16:37:05
538
原创 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
1820
原创 popViewControllerAnimated 动画
/* NSString *types[4] = {kCATransitionMoveIn, kCATransitionPush, kCATransitionReveal, kCATransitionFade}; NSString *subtypes[4] = {kCATransitionFromLeft, kCATransitionFromRight, kCAT
2012-04-05 10:32:10
4126
转载 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
783
转载 Google的Objective-C编码规范
http://www.cnblogs.com/junwang/archive/2011/03/04/1970569.html
2012-03-29 16:06:20
482
转载 UITableView的折叠效果
http://dl5.youkuaiyun.com/fd.php?i=809141388477707&s=9f5547ec8ee62d9689099df3bb035b73
2012-03-23 17:16:36
634
转载 GCRetractableSectionController
https://github.com/gcamp/GCRetractableSectionController
2012-03-23 17:05:27
602
原创 UITextField出现删除按钮
UITextField出现删除按钮如果用IB写UITextFieldIB:Clear Button: Appears while editing如果用代码写UITextField.m textField.clearButtonMode = UITextFieldViewModeWhileEditing;
2012-03-07 08:56:26
7554
转载 UIPicker and keyboard
http://stackoverflow.com/questions/3205357/popup-uipicker-instead-of-keyboard源码在这里:https://github.com/larsacus/LARSSlidingPicker
2012-03-05 16:38:54
600
转载 Application supports iTunes file sharing
http://www.cocoachina.com/bbs/read.php?tid-20122.html
2012-02-29 16:47:27
3495
转载 iphone常用的文件存放路径
http://blog.youkuaiyun.com/psongchao/article/details/4232192
2012-02-28 17:29:11
517
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人