- 博客(9)
- 收藏
- 关注
原创 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, and click Save. In new mac, In the Xcode Or
2013-06-22 12:18:58 1735
原创 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 project above, add a "load test".Continue default
2013-06-06 18:11:17 1139
原创 Some string utilities
// Removes special characters from a string public string RemoveSpecialChars(string input, string specialChars) { return Regex.Replace(input, specialChars, string.Empty); } // Reverses a string p
2013-06-06 12:01:18 1075
原创 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. /// /// Generates a Rfc key. /// /// The string u
2013-06-06 11:50:45 989
原创 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.
2013-06-04 13:14:21 569
原创 Load Testing with Jmeter
JMeter is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since ex
2013-06-03 17:17:19 2533
原创 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, "Product Name" is the app name you installed in device,
2013-06-01 21:35:23 654
原创 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 UIView programmatically.
2013-06-01 21:27:48 1372
原创 Socket in iOS
TCP based Socket (also can use AsynSocket lib) NSInputStream *inputStream; NSOutputStream *outputStream; - (void)connect { CFReadStreamRef readStream; CFWriteStre
2013-06-01 21:12:42 1518
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人