- Android Studio Flamingo | 2022.2.1
- Build #AI-222.4459.24.2221.9862592, built on March 31, 2023
- Gradle JDK: jbr-17 (JetBrains Runtime version 17.0.6)
- Windows 11 (version 10.0.22000.1817)
fun RepositoryHandler.enableMirror() { | |
all { | |
if (this is MavenArtifactRepository) { | |
val originalUrl = this.url.toString().removeSuffix("/") | |
urlMappings[originalUrl]?.let { | |
logger.lifecycle("Repository[$url] is mirrored to $it") | |
this.setUrl(it) | |
} | |
} | |
} |
# remove iOS bitcode | |
flutter build ios | |
cd build/ios/iphoneos/Runner.app/Frameworks | |
cd App.framework | |
xcrun bitcode_strip -r app -o app | |
cd .. | |
cd Flutter.framework | |
xcrun bitcode_strip -r Flutter -o Flutter | |
cd ../../../../../../ |
Available Packages:
Path | Version | Description |
---|---|---|
add-ons;addon-google_apis-google-15 | 3 | Google APIs |
add-ons;addon-google_apis-google-16 | 4 | Google APIs |
add-ons;addon-google_apis-google-17 | 4 | Google APIs |
add-ons;addon-google_apis-google-18 | 4 | Googl |
/// A hack to copy a string to the clipboard. | |
bool _copyToClipboardHack(String text) { | |
final textarea = new TextAreaElement(); | |
document.body.append(textarea); | |
textarea.style.border = '0'; | |
textarea.style.margin = '0'; | |
textarea.style.padding = '0'; | |
textarea.style.opacity = '0'; | |
textarea.style.position = 'absolute'; | |
textarea.readOnly = true; |
Any GitHub wiki can be cloned by appending wiki.git
to the repo url, so the clone url for
the repo https://myorg/myrepo/
is: [email protected]:myorg/myrepo.wiki.git
(for ssh) or https://github.com/my/myrepo.wiki.git
(for https).
You make edits, and commit and push your changes, like any normal repo. This wiki repo
is distinct from any clone of the project repo (the repo without wiki.get
appended).