Build "Sources for Android 27" so you can comfortably browse the Android API source in Android Studio.
- Collect source files
mkdir android-sdk-source-build
cd android-sdk-source-build
mkdir -p frameworks/baseBuild "Sources for Android 27" so you can comfortably browse the Android API source in Android Studio.
mkdir android-sdk-source-build
cd android-sdk-source-build
mkdir -p frameworks/baseBuild "Sources for Android 28" so you can comfortably browse the Android API source in Android Studio.
mkdir android-sdk-source-build
cd android-sdk-source-build
mkdir -p frameworks/base| import android.content.ContentResolver | |
| import android.net.Uri | |
| import okhttp3.MediaType | |
| import okhttp3.RequestBody | |
| import okio.BufferedSink | |
| import okio.Okio | |
| import java.lang.IllegalStateException | |
| class ContentUriRequestBody( | |
| private val contentResolver: ContentResolver, |
Build "Sources for Android 29" so you can comfortably browse the Android API source in Android Studio.
mkdir android-sdk-source-build
cd android-sdk-source-build
mkdir -p frameworks/base| src/tck/ | |
| src/tck/java/ | |
| src/tck/java/time/ | |
| src/tck/java/time/format/ | |
| src/tck/java/time/format/TCKFormatStyle.java | |
| src/tck/java/time/format/TCKOffsetPrinterParser.java | |
| src/tck/java/time/format/TCKLocalizedFieldParser.java | |
| src/tck/java/time/format/TCKDateTimeTextPrinting.java | |
| src/tck/java/time/format/TCKTextStyle.java | |
| src/tck/java/time/format/TCKDateTimeFormatter.java |
| private void invalidateCursorPositionHack() { | |
| int oldStart = getSelectionStart(); | |
| int oldEnd = getSelectionEnd(); | |
| // The selection values need to actually change in order for the cursor to be redrawn. If the cursor already | |
| // is at position 0 this won't trigger a redraw. But that's fine because the size of our span can't influence | |
| // cursor position 0. | |
| setSelection(0); | |
| setSelection(oldStart, oldEnd); |
| # … | |
| # Allow access to /etc/jitsi/meet/start_muted.html | |
| <Directory "/etc/jitsi/meet"> | |
| <FilesMatch "start_muted.html"> | |
| Require all granted | |
| </FilesMatch> | |
| </Directory> | |
| RewriteEngine on |
| // ==UserScript== | |
| // @name Element youtube preview | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.3 | |
| // @description fix the embeds!! | |
| // @author Cinnabar | |
| // @author cketti | |
| // @match https://app.element.io | |
| // @match https://your.element.url.example | |
| // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== |
matrix-docker-ansible-deploy: git clone https://mau.dev/maunium/signald.gitcd signalddocker build -t signald-debugging ./etc/systemd/system/matrix-mautrix-signal-daemon.service; replace dock.mau.dev/maunium/signald:latest with signald-debugging:latestsystemctl daemon-reloadsystemctl restart matrix-mautrix-signal-daemon (this will use our signald-debugging image to create the container)journalctl -fu matrix-mautrix-signal-daemon| // ==UserScript== | |
| // @name No unread GitHub notifications | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.2 | |
| // @description Hide GitHub's unread notification dot in the top bar | |
| // @author cketti | |
| // @match https://github.com/* | |
| // @match https://gist.github.com/* | |
| // @icon https://github.githubassets.com/favicons/favicon.svg | |
| // @grant GM_addStyle |