This file contains 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
#!/bin/bash | |
NDK=/Volumes/Samsung-T5/sdk/android-ndk-r21b | |
TOOLCHAIN=$NDK/toolchains/llvm/prebuilt/darwin-x86_64 | |
API=21 | |
function build_android() { | |
cd ffmpeg-4.3.1 | |
echo "Compiling FFmpeg for $CPU" | |
./configure \ |
This file contains 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
# squirrel.custom.yaml | |
# encoding: utf-8 | |
patch: | |
preset_color_schemes: | |
selfae: | |
name: "Selfae" | |
horizontal: false # 候选条横向显示 | |
inline_preedit: true # 启用内嵌编码模式,候选条首行不显示拼音 | |
candidate_format: "%c.\u2005%@\u2005" # 用 1/6 em 空格 U+2005 来控制编号 %c 和候选词 %@ 前后的空间。 | |
corner_radius: 6 # 候选条圆角半径 |
This file contains 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
typealias ServiceResponse = (NSDictionary?, NSError?) -> Void | |
class DataProvider: NSObject { | |
var client:AFHTTPRequestOperationManager? | |
let LOGIN_URL = "/api/v1/login" | |
class var sharedInstance:DataProvider { | |
struct Singleton { | |
static let instance = DataProvider() |