电池电量
Prefs:root=BATTERY_USAGE通用设置
Prefs:root=General存储空间
Prefs:root=General&path=STORAGE_ICLOUD_USAGE/DEVICE_STORAGE蜂窝数据
Prefs:root=MOBILE_DATA_SETTINGS_IDWi-Fi 设置
Prefs:root=WIFI蓝牙设置
Prefs:root=Bluetooth定位设置
Prefs:root=Privacy&path=LOCATION辅助功能
Prefs:root=General&path=ACCESSIBILITY关于手机
Prefs:root=General&path=About键盘设置
Prefs:root=General&path=Keyboard
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
Python Cheatsheet | |
================= | |
################################ Input & Output ############################### | |
name = input('please enter your name: ') | |
print('hello,', name) | |
ageStr = input('please enter your age: ') | |
age = int(ageStr) |
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
[user] | |
name = Hilen | |
email = xx | |
[core] | |
excludesfile = /Users/hilenlai/.gitignore_global | |
[difftool "sourcetree"] | |
cmd = opendiff \"$LOCAL\" \"$REMOTE\" | |
path = | |
[mergetool "sourcetree"] | |
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\" |
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/sh | |
repo=$1 | |
# token="yPgnGZ1PsQ123123REsvjdmTnT" #http://gitlab.mogujie.org/profile/account 找 private token | |
# test -z $repo && echo "Repo name required." 1>&2 && exit 1 | |
# #获取 namespace_id: curl http://gitlab.mogujie.org/api/v3/namespaces?private_token=yPgnGZ1P123123sQREsvjdmTnT | |
# curl -H "Content-Type:application/json" http://gitlab.mogujie.org/api/v3/namespaces?private_token=$token -d "{ \"name\": \"$repo\", \"public\":\"true\", \"namespace\":{ \"id\": \"1448\",\"path\":\"$repo\"}}" | |
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
``` | |
import Foundation | |
import FLAnimatedImage | |
import SDWebImage | |
import Kingfisher | |
/* | |
Add this repo(https://github.com/rs/SDWebImage) to your project | |
*/ | |
extension FLAnimatedImageView { |