自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Tomson Xu

@CityU

  • 博客(426)
  • 资源 (1)
  • 收藏
  • 关注

原创 IIS error 503

忽然出现ERROR 503, 重启IIS也不行。查看

2014-04-22 10:11:28 5280

原创 [iOS] Check if app in iOS/Android, open link in app

http://fokkezb.nl/2013/08/26/url-schemes-for-ios-and-android-1/

2014-04-09 18:18:12 7602

转载 [垃圾microsoft, 要啥缺啥] 如何设置缺省输入法

http://tieba.baidu.com/p/2579774607http://windows.microsoft.com/en-HK/windows-8/change-keyboard-layout

2014-03-03 16:49:05 4714

原创 [c# metro app] debug output to console

System.Diagnostics.Debug.WriteLine("hello");

2014-03-03 11:54:03 4258

原创 [垃圾microsoft, 要啥缺啥] c# metro app keydown issue

下面这段代码是用来检测在textbox里 keydown event: private void txtTest_KeyDown(object sender, KeyRoutedEventArgs e) { lblInfo.Text = lblInfo.Text + "," + (int)e.Key; }尝试用k

2014-03-03 11:22:25 4604

转载 [垃圾microsoft, 要啥缺啥] win 8.1下安装手写输入法

http://www.pinyinjoe.com/windows-8/win8-chinese-handwriting-and-display-language-packs.htm

2014-02-28 15:03:47 6178

转载 How do I know if my Mac Pro is 32 or 64 bit system?

http://support.apple.com/kb/ht3696

2014-01-24 15:47:09 4298

原创 small size modal view in ipad

需求:iPad里,要求popup一个login window,该window的size是小的,不要遮住整个iPad当前显示的view。 我尝试使用下列代码 (其中LoginViewController是loginview with full iPad screen size,其中中间部分设置成蓝色,而周边部分设置成透明色,造成在popup之后周边部分不遮住当前显示view。 Fo

2014-01-23 23:16:04 4782

转载 Make iOS project without storyboard

ref link: http://stackoverflow.com/questions/18932473/xcode-5-open-a-project-without-story-board1) Remove Main.storyboard file and related view controller files linked to storyboard from you

2014-01-23 17:46:59 4518

原创 Reset cert and provisioning profile for appwith push notification feature

参考文档:APNS tutorial: http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1之前写的apns笔记:http://blog.csdn.net/totogogo/article/details/7376214前提条件:在keyc

2014-01-22 15:55:57 6621

转载 在keychain tool里,Request a certificate时,出错''The specified item could not be found in the keychain"

解决办法是:在keychain tool里,不要选择"keys" item,应该选择"all items",and then try again!ref link: http://stackoverflow.com/questions/16845169/error-when-trying-to-obtain-a-certificate-the-specified-item-could-

2014-01-22 00:22:00 22866

转载 Generate public key from private key in keychain

ref link: http://stackoverflow.com/questions/16847081/i-lost-my-public-key-can-i-recover-it-from-a-private-key如何通过private key来恢复public key?public / private key都是成对生成的,但下面2种常见情况会丢失public key

2014-01-21 23:58:02 5649

原创 iOS nsdateformatter AM/PM issue

requirement很简单,需要显示的时间格式满足:* 用AM/PM表示,而不是24小时制* 如果小时数是单位数,则不加0,例如16:30:00,应该显示 "4:30:00 PM",而不是"04:30:00"对于下面这段代码 NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; [dateF

2014-01-16 18:24:29 8378

转载 iOS检查网络是否连接

http://blog.csdn.net/devday/article/details/8114928

2014-01-16 17:25:11 4187

转载 ios version market share

http://appleinsider.com/articles/13/12/05/apple-pegs-ios-7-distribution-at-74-ios-6-at-22

2014-01-16 09:54:44 4720

原创 online css compressor and beautifier

css/js compressor http://refresh-sf.com/yui/css beautifierhttp://html.fwpolice.com/css/

2014-01-10 17:31:34 4214

转载 iOS Application Delegate Lifecycle

http://blog.laikasys.com/post/30392189064/application-delegate-lifecycle

2014-01-08 15:18:17 4192

转载 OS X 10.9 Mavericks 下如何显示隐藏文件

ref link: http://www.guomii.com/posts/37078之前,OS X 系统都可以通过如下两条命令来开启/关闭系统隐藏文件的显示:defaults write com.apple.Finder AppleShowAllFiles Yes && killall Finder //显示隐藏文件defaults write com.apple.Fin

2013-12-16 02:12:28 4653

原创 Android GA dispatch issue

Android GA SDKhttps://developers.google.com/analytics/devguides/collection/android/v3/目前已经是version 3, 我的app里用的仍然是version 2。原因在于* jar file size. v3的GA jar有900多K,而v2的jar不到200K* v2可以通过GAS

2013-12-02 14:00:15 5449

转载 Android screen capture in Eclipse DDMS

http://chicagoandroid.com/profiles/blogs/android-screen-capture-in

2013-11-18 18:40:11 5368

转载 how to avoid css and js cache in UIWebView

http://stackoverflow.com/questions/3549508/prevent-caching-of-css-files-in-uiwebview-loaded-from-disk

2013-11-12 15:41:47 1552

原创 xcode 5 cert and provision profile issue

在xcode 5 "organizer"里provisioning profile的管理界面已经不再有, 而是改为在menu "Xcode > Preference... > Accounts tab" 里进行管理, 还有一点不同的是你需要在Accounts tab里添加Apple ID with password.在xcode 5里如何让apple ID的admin把distri

2013-11-07 18:05:00 16458

转载 png compress tool

online tool: http://tinypng.org/ (limitation: max file size is 3mb)offline tool: http://pngmini.com/

2013-10-31 12:17:43 900

转载 iOS7 side menu new design

http://uxmag.com/articles/adapting-ui-to-ios-7-the-side-menuhttps://github.com/twotoasters/TWTSideMenuViewController

2013-10-30 16:02:07 1111

转载 iOS7 navigation bar and status bar color issue

http://www.appcoda.com/customize-navigation-status-bar-ios-7/http://stackoverflow.com/questions/19632413/all-the-ios-ui-bars-appear-opaque-on-phones/19635588#19635588

2013-10-29 12:16:07 1368

转载 iOS7 for developer

iOS7 new for developerhttps://developer.apple.com/library/ios/releasenotes/General/WhatsNewIniOS/Articles/iOS7.htmliOS7 UI transition guide(en) https://developer.apple.com/library/ios/docume

2013-10-29 10:31:00 807

转载 Mac和iOS开发资源汇总

http://beyondvincent.com/blog/2013/07/18/106/

2013-09-29 15:50:33 872

转载 xcode5 新特性

https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/WhatsNewXcode/Articles/xcode_5_0.htmlhttp://beyondvincent.com/blog/2013/07/15/103/http://onevcat.com/2013/06/new

2013-09-29 15:49:30 7778

转载 How to debug mobile safari in iOS

http://webdesign.tutsplus.com/tutorials/workflow-tutorials/quick-tip-using-web-inspector-to-debug-mobile-safari/

2013-09-26 10:37:05 1417

原创 各种开发语言的console output

Java:  System.out.printlnasp.net:System.Diagnostics.Debug.WriteLine(...)it shows results in the Output window of Visual Studiohttp://stackoverflow.com/questions/137660/where-does-conso

2013-08-30 01:27:29 1093

转载 what does mean "Units" in apple app sales report?

http://stackoverflow.com/questions/10320867/itunes-connect-sales-and-trends-units

2013-07-15 11:53:05 1100

转载 official software version number management

Basic issues:* Major version zero (0.y.z) is for initial development* Patch version Z (x.y.Z | x > 0)* Minor version Y (x.Y.z | x > 0)* Major version X (X.y.z | X > 0)More details

2013-04-22 21:21:46 864

原创 [iOS] 养成TDD好习惯(1):create first project with unit test

1. Create a projectwith ticking “include unit test” option inxcode. * 生成的project会创建 2target, one for product app, one for unit test.* For existingproject, to add unit test feature, just add a “u

2013-04-19 16:39:43 1206

原创 [iOS] block and async method unit test

mknetworkkit unit test with kiwi and ohhttpstubshttps://github.com/MugunthKumar/MKNetworkKit/blob/0b7abddf4d5063df9f922a8a4bbcb803d916195a/MKNetworkKit-Tests/MKNetworkKit-Tests/MKNetworkEngineSpec.m

2013-04-19 01:18:18 1656

原创 [iOS] ARC, @property 关键字

https://docs.google.com/document/d/1ZVV5RTzPMUreiFdAMws3jxi2i5Q49iClsGl6JQFwVGg/edit?usp=sharing

2013-04-17 23:07:08 1032

原创 [iOS] getter and setter, @property and @synthesize

https://docs.google.com/document/d/1Ie0Ln--0qkeM_3VJ5ErDqTheS5z7kXcLjiGMeIJNSpQ/edit?usp=sharing

2013-04-17 02:43:50 2066

原创 unit test in xcode

Unit Test in OS Quick Starthttp://www.raywenderlich.com/3716/unit-testing-in-xcode-4-quick-start-guidehttp://blog.csdn.net/kesalin/article/details/7097566有2种选择,* 用xcode内置的OCUnit + SenTes

2013-04-12 11:04:27 971

原创 use svn in xcode 4.5

1. 按 http://blog.csdn.net/totogogo/article/details/7871388 在server side安装subversion edge2. create a repository "testproject" with standard trunk/branches/tags structure  in svn, let's say the repo

2013-04-12 00:29:00 1217

转载 install tomcat in mac

http://www.himigame.com/java-servlet/845.html

2013-03-27 16:23:46 891

原创 open android sdk manager and avd manager in Mac

open a terminal and navigate to the tools/ directory in the Android SDK, then to open sdk manager, execute "./android" instead of "android"to open avd manager, execute "./android avd"

2013-03-27 11:10:06 1625

EJBTest.war

EJBTest.war

2007-07-10

空空如也

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

TA关注的人

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