Skip to content

Instantly share code, notes, and snippets.

View weekwood's full-sized avatar
🎯
Focusing

Di Wu weekwood

🎯
Focusing
View GitHub Profile
@weekwood
weekwood / scriptsort.sh
Created November 28, 2012 18:53 — forked from jprante/scriptsort.sh
Scripted sorting
curl -XDELETE 'localhost:9200/scriptsort'
curl -XPOST 'localhost:9200/scriptsort' -d '
{
"mappings": {
"test": {
"_id": {
"index" : "not_analyzed",
"stored": "yes"
}
//
// UIDeviceHardware.h
//
// Used to determine EXACT version of device software is running on.
#import <Foundation/Foundation.h>
@interface UIDeviceHardware : NSObject
- (NSString *) platform;
@interface NSFileManager (DoNotBackup)
- (BOOL)addSkipBackupAttributeToItemAtURL:(NSURL *)URL;
@end