# 使用 Homebrew 安装 aria2
brew install aria2
# 创建配置文件aria2.conf和空对话文件aria2.session
mkdir ~/.aria2 && cd ~/.aria2
touch aria2.conf
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
| { | |
| "__README": [ | |
| "Customise default colours, fonts, styles for draw.io.", | |
| "See https://www.diagrams.net/doc/faq/configure-diagram-editor", | |
| "See https://drawio-app.com/customise-default-colours-fonts-styles-and-the-draw-io-ui-in-confluence-cloud/" | |
| ], | |
| "customColorSchemes": [ | |
| [ | |
| { | |
| "fill": "#FFEBEE", |
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
| import android.os.Bundle | |
| import androidx.lifecycle.Lifecycle | |
| import androidx.lifecycle.LifecycleRegistry | |
| import androidx.savedstate.SavedStateRegistry | |
| import androidx.savedstate.SavedStateRegistryController | |
| import androidx.savedstate.SavedStateRegistryOwner | |
| internal class MyLifecycleOwner : SavedStateRegistryOwner { | |
| private var mLifecycleRegistry: LifecycleRegistry = LifecycleRegistry(this) | |
| private var mSavedStateRegistryController: SavedStateRegistryController = SavedStateRegistryController.create(this) |
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
| #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end | |
| import android.app.Activity; | |
| import android.app.Fragment; | |
| import android.app.FragmentManager; | |
| #parse("File Header.java") | |
| public class ${NAME} extends Fragment { | |
| private static final String FRAG_TAG = ${NAME}.class.getCanonicalName(); |
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
| # ------------------------------------------------------------------------------ | |
| # Android CMake toolchain file, for use with the Android NDK r5-r8 | |
| # Requires cmake 2.6.3 or newer (2.8.5 or newer is recommended). | |
| # See home page: http://code.google.com/p/android-cmake/ | |
| # | |
| # The file is mantained by the OpenCV project. And also can be found at | |
| # http://code.opencv.org/projects/opencv/repository/revisions/master/changes/android/android.toolchain.cmake | |
| # | |
| # Usage Linux: | |
| # $ export ANDROID_NDK=/absolute/path/to/the/android-ndk |
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
| <?xml version="1.0"?> | |
| <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
| <fontconfig> | |
| <!-- 替换宋体 --> | |
| <match target="pattern"> | |
| <test name="family" compare="eq"> | |
| <string>extrafont1</string> | |
| </test> | |
| <edit name="family" mode="prepend" binding="strong"> |
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
| fonts.ja=tsukushimincho | |
| font.tsukushimincho.display=\u7B51\u7D2B\u660E\u671D | |
| fonts.zh-Hans=stkai,styuan,extrafont1,extrafont2,extrafont3,extrafont4 | |
| font.stkai.display=\u6977\u4F53 | |
| font.styuan.display=\u5706\u4F53 | |
| font.extrafont1.display=\u601D\u6E90\u5B8B\u4F53 | |
| font.extrafont2.display=\u601D\u6E90\u9ED1\u4F53 | |
| font.extrafont3.display=\u65B9\u6B63\u65B0\u4E66\u5B8B | |
| font.extrafont4.display=\u5B8B\u523B\u672C\u79C0\u6977 | |
| languages=ja,zh-Hans |