https://mattbrictson.com/nginx-reverse-proxy-cache
https://www.nginx.com/resources/wiki/start/topics/examples/full/
| /* | |
| * Copyright 2025 Kyriakos Georgiopoulos | |
| * | |
| * 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 |
| /* | |
| * Copyright 2025 Kyriakos Georgiopoulos | |
| * | |
| * 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 |
| import android.content.res.Configuration | |
| import androidx.compose.runtime.Composable | |
| import androidx.compose.ui.tooling.preview.Preview | |
| import androidx.compose.ui.unit.dp | |
| import androidx.compose.ui.tooling.preview.Devices | |
| @Preview(showBackground = true) | |
| @Composable | |
| fun DefaultPreview() { | |
| MyScreen() |
| // Configure modules to use their own name as the build file name | |
| // app/build.gradle.kts -> app/app.gradle.kts | |
| // features/home/build.gradle.kts -> features/home/home.gradle.kts | |
| rootProject.children.forEach { project -> | |
| fun configureProject(project: ProjectDescriptor) { | |
| project.buildFileName = "${project.name}.gradle.kts" | |
| project.children.forEach { child -> | |
| configureProject(child) | |
| } | |
| } |
| /* | |
| * Copyright 2023 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 | |
| * | |
| * https://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| #!/usr/bin/env bash | |
| #NOTE: requires python3 and the pip package uiautomator2 | |
| #These functions can be copied over to your own bash script | |
| #and can be used by simply triggering tapIfExists... | |
| function tapIfExists(){ | |
| coords=$(getCoords "${1}") | |
| if [[ "$coords" != "-" ]]; then | |
| $fullAdb shell input tap "$coords" | |
| fi |
| #!/usr/bin/env bash | |
| echo "Pulling newest video" | |
| file=$(adb shell ls sdcard/DCIM/Camera | grep mp4 | tail -n1 | sed 's/^M//g') | |
| adb pull "sdcard/DCIM/Camera/$file" |
git checkout -b T1234-boo-foogit commit -am 'first'git commit -am 'now it works'arc lintarc diff