Tether your android phone to your PC using USB cable could share your 3g Internet connection with PC. In other words, your PC could connect to the Internet through your android phone. WHILE REVERSE TETHERING DOES EXACTLY THE OPPOSITE. Background: Say…
1.题目: 7. Reverse Integer Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 321 Example 2: Input: -123 Output: -321 Example 3: Input: 120 Output: 21 Note:Assume we are dealing with an environment which could…
src: http://blog.thireus.com/tag/kernelcache Before going further it is important to enumerate some of the main security features available on iOS. The same goes for the architecture security features, particularly the boot process and partitioning s…
最长不重复子串 public class Solution { public int lengthOfLongestSubstring(String s) { if(s==null || s.length()==0){return 0;} int len = s.length(),maxLen=0,slow=0,fast=0; HashMap<Character,Integer> map = new HashMap<Character,Integer>(); for(;fast&l…
A reverse version of the Dictionary algorithm :) If you AC-ed "Next Permutation II", copy it over and just reverse the conditions. class Solution { public: /** * @param nums: An array of integers * @return: An array of integers that's previous p…
http://blog.httrack.com/blog/2013/08/23/catching-posix-signals-on-android/ To Report Or Not To Report You have a nice application available on the Google Android Store and, as a developer, you have access to nice features giving you basic statistics…
When to use DataContract and DataMember attributes? I am very confused about the DataContract attribute in WCF. As per my knowledge it is used for serialization user defined type like classes. I write a one class which is expose at client side. [Dat…