SpotLight doesn’t index Bootcamp drive, since it has another file system. SpotLight indexes only HFS and HFS+ file systems.
To find files in a Bootcamp drive from Mac OS X drive, do the following:
- Type in Terminal
- Then find all your drive names, you have:
- Now you can search something by pattern. For instance all Microsoft Word files in Bootcamp:
$ find BOOTCAMP -name "*.doc"
- After you have found what you need, you might want to stop the search, that can be pretty long. To stop search just press Ctrl+C
Recently I was shocked by the fact that two NSStrings that resemble each other on NSLog may be different. It is because sometimes NSString can contain a zero width space character. Be aware of that and consider:
#define ZERO_WIDTH_SPACE_STRING @"\u200B"
To conquer this you should clean your string from zero width white space characters before comparing:
NSMutableString *eMailToAdd = [NSMutableString string];
NSMutableCharacterSet *charSet = \
[[NSCharacterSet whitespaceCharacterSet] mutableCopy];
NSString *rawStr = [[tokenField textField] text];
for (int i = 0; i < [rawStr length]; i++)
if (![charSet characterIsMember:\
Web browsers and web proxy servers employ web caches to store previous responses from web servers, such as web pages and images. Web caches reduce the amount of information that needs to be transmitted across the network, as information previously stored in the cache can often be re-used. This reduces bandwidth and processing requirements of the web server, and helps to improve responsiveness for users of the web.
Web browsers employ a built-in web cache, but some internet service providers or organizations also use a caching proxy server, which is a web cache that is shared among all users of that network.
To clear cache in Safari in Mac OS X Mountain Lion:
1. Enable Developer Menu by clicking last checkbox in last tab in Safari/Preferences.
2. Click Developer Menu/Clear caches or Press Alt+Cmd+E
More about Web Cache in Wikipedia.
Sometimes it is hard to use resignFirstResponder method on every textField, that is present on our view. It is much easier to hide keyboard by the following way: