sudo apt update
sudo apt install openjdk-8-jdk-headless| killall Xcode | |
| xcrun -k | |
| xcodebuild -alltargets clean | |
| rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache" | |
| rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang.$(whoami)/ModuleCache" | |
| rm -rf /Applications/Xcode.app | |
| rm -rf ~/Library/Caches/com.apple.dt.Xcode | |
| rm -rf ~/Library/Developer | |
| rm -rf ~/Library/MobileDevice | |
| rm -rf ~/Library/Preferences/com.apple.dt.Xcode.plist |
| MOVED HERE: | |
| https://gist.github.com/naveenkrdy/26760ac5135deed6d0bb8902f6ceb6bd |
| // ==UserScript== | |
| // @name YouTube字幕自动选择翻译->中文简体 | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.2 | |
| // @description translate to Chinese automatically. 自动点击字幕翻译到中文简体 | |
| // @author qwertyuiop6 | |
| // @match https://www.youtube.com/* | |
| // @grant none | |
| // ==/UserScript== |
| settings put global captive_portal_mode 1 | |
| settings put global captive_portal_use_https 1 | |
| settings put global captive_portal_http_url http://connect.rom.miui.com/generate_204 | |
| settings put global captive_portal_https_url https://connect.rom.miui.com/generate_204 | |
| settings put global captive_portal_fallback_url http://captive.v2ex.co/generate_204 | |
| settings put global captive_portal_other_fallback_urls http://www.google.cn/generate_204 |
| /* | |
| * Copyright (C) 2017 The Android Open Source Project | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| class CustomLayoutManager extends LinearLayoutManager { | |
| private final float mShrinkAmount = 0.15f; | |
| private final float mShrinkDistance = 0.9f; | |
| Context mContext; | |
| //Make an instance variable at the top of you LayoutManager | |
| private static final float MILLISECONDS_PER_INCH = 50f; | |
| public CustomLayoutManager(Context context) { | |
| super(context); | |
| mContext = context; |
No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.
gpg --list-secret-keys and look for sec, use the key ID for the next stepgit to use GPG -- replace the key with the one from gpg --list-secret-keys| /* | |
| * Copyright 2016 Kevin Mark | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |