06 2013 档案
How to transfer developer profile to one mac to another mac
摘要:Export developer profile from old mac.In the Xcode Organizer, select your team in the Teams section.Click Export.Specify a filename and a password, an... 阅读全文
posted @ 2013-06-22 12:18 chuwachen 阅读(146) 评论(0) 推荐(0)
Load testing with Visual Studio Ultimate
摘要:Testing steps:Create a Class Library project, right-click menu to add a "Unit Test" cs file and add Test Method in that file.Right-click on the projec... 阅读全文
posted @ 2013-06-06 18:11 chuwachen 阅读(150) 评论(0) 推荐(0)
Some string utilities
摘要:// Removes special characters from a stringpublic string RemoveSpecialChars(string input, string specialChars){ return Regex.Replace(input, special... 阅读全文
posted @ 2013-06-06 12:01 chuwachen 阅读(153) 评论(0) 推荐(0)
Encrypt/decrypt when serialize/deserialize data
摘要:private byte[] salt = ASCIIEncoding.ASCII.GetBytes("SaltString"); private const int DESKeySize = 8; // The key for DES must be 8 bytes. /// //... 阅读全文
posted @ 2013-06-06 11:50 chuwachen 阅读(253) 评论(0) 推荐(0)
Some tips in javascript
摘要:When browser shows "$is not defined", it probably means that jquery lib is not loaded, you need find out the reason. 阅读全文
posted @ 2013-06-04 13:14 chuwachen 阅读(85) 评论(0) 推荐(0)
Load Testing with Jmeter
摘要:JMeteris open source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally desig... 阅读全文
posted @ 2013-06-03 17:17 chuwachen 阅读(243) 评论(0) 推荐(0)
Some tips in using Xcode
摘要:Uncheck "Use Autolayout" in File inspector, then you can see "Autosizing" in Size inspector to define margin for UI controls.In Build Settings, "Produ... 阅读全文
posted @ 2013-06-01 21:35 chuwachen 阅读(99) 评论(0) 推荐(0)
Set image as background for a view
摘要:How to set an image as background for a view?Solution:Using UIImageView and resize the image to fit that view (prefer)Set image as background of a UIV... 阅读全文
posted @ 2013-06-01 21:27 chuwachen 阅读(111) 评论(0) 推荐(0)
Socket in iOS
摘要:TCP based Socket (also can use AsynSocket lib) NSInputStream*inputStream; NSOutputStream*outputStream; - (void)connect{ CFReadStreamRef readStream;... 阅读全文
posted @ 2013-06-01 21:12 chuwachen 阅读(199) 评论(0) 推荐(0)