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
## '#'开头为注释内容, 选项都有相应的注释说明, 根据需要修改 ## | |
## 被注释的选项填写的是默认值, 建议在需要修改时再取消注释 ## | |
## 添加了@和默认启用的选项都是系统需要调用的,请不要随意改动否则可能无法正常运行 | |
## 文件保存相关 ## | |
# 文件的保存路径(可使用绝对路径或相对路径), 默认: 当前启动位置 | |
# 此项 OS X 无法使用 $HOME 及 ~/ 设置路径 建议使用 /users/用户名/downloads | |
#@dir=$HOME/downloads | |
# 启用磁盘缓存, 0为禁用缓存, 需1.16以上版本, 默认:16M |
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
Enable TRIM support for 3rd party SSD on your Mac's boot disk will result into "Still waiting for root device" error while booting up. | |
To solve this problem, simply head to recovery and go into Terminal, input: | |
rm -rf /Volumes/<10.10 Partition>/System/Library/Extensions/IOAHCIFamily.kext | |
cp -r /System/Library/Extensions/IOAHCIFamily.kext /Volumes/<10.10 Partition>/System/Library/Extensions/IOAHCIFamily.kext | |
touch /Volumes/<10.10 Partition>/System/Library/Extensions |
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
Africa/Abidjan | |
Africa/Accra | |
Africa/Addis_Ababa | |
Africa/Algiers | |
Africa/Asmara | |
Africa/Asmera | |
Africa/Bamako | |
Africa/Bangui | |
Africa/Banjul | |
Africa/Bissau |
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)viewWillAppear:(BOOL)animated { | |
[self registerForKeyboardNotifications]; | |
} | |
- (void)viewWillDisappear:(BOOL)animated { | |
[self unregisterForKeyboardNotifications]; | |
} | |
- (void)hideKeyboard { | |
[scrollView resignFirstResponder]; |