I've moved this gist to https://github.com/phynet/iOS-Schemes please check it there ;)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"seed": "#6750A4", | |
"description": "TYPE: CUSTOM", | |
"coreColors": { | |
"primary": "#6750A4", | |
"neutralVariant": "#938F99" | |
}, | |
"schemes": { | |
"light": { | |
"primary": "#6750A4", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/Users/Jesli/opt/anaconda3/bin/python | |
# -*- coding: UTF-8 -*- | |
import io, os | |
import UnityPy | |
import sys, getopt | |
import traceback | |
import json | |
class UnPackUnityAsset: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var TINYPNG_API_KEY = "YOUR-TINYPNG-API-KEY"; | |
var UPLOAD_TEST_FILE_ID = "GOOGLE-DRIVE-IMAGE-TEST-FILE-ID"; | |
var TINYPNG_API_BASE_URL = "https://api.tinify.com"; | |
var TINYPNG_API_UPLOAD_URL = TINYPNG_API_BASE_URL + "/shrink"; | |
function uploadImageToTinyPng(blob) { | |
Logger.log("Uploading image to TingPNG"); | |
var uploadParams = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+(void)getServerTimeWithCompletionBlock:(void (^)(BOOL success, id object))completionBlock | |
{ | |
NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration]; | |
AFHTTPSessionManager *manager = [[AFHTTPSessionManager alloc] initWithSessionConfiguration:configuration]; | |
// manager.securityPolicy.allowInvalidCertificates = YES; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xcode插件: | |
Alcatraz 管理第三方插件 | |
cocoapods-xcode-plugin | |
FuzzyAutocompletePlugin-master | |
KSImageNamed-Xcode-master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define VERSION [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleVersion"] | |
#define BUNDLEID [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleIdentifier"] | |
#define SCREEN_HEIGHT [UIScreen mainScreen].bounds.size.height | |
#define SCREEN_WIDTH [UIScreen mainScreen].bounds.size.width | |
#define IS_IOS7 (BOOL)([[[UIDevice currentDevice] systemVersion]floatValue]>=7.0 ? YES : NO) | |
#define IS_IOS8 (BOOL)([[[UIDevice currentDevice] systemVersion]floatValue]>=8.0 ? YES : NO) | |
#define ApplicationDelegate ((AppDelegate *)[UIApplication sharedApplication].delegate) | |
#define WEAKSELF typeof(self) __weak weakSelf = self; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"action": { | |
"type": "block" | |
}, | |
"trigger": { | |
"url-filter": ".*" | |
} | |
}, | |
{ |