Build "Sources for Android 29" 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/base| blueprint: | |
| name: "New Shading - automatic driving for sun protection" | |
| description: >- | |
| **Version: 2024020202** <br /> | |
| This is an largely complete automation for roller shutters. | |
| Two major areas are covered: a) daily raising and lowering, b) shading against too much sunlight. | |
| For more information open: | |
| <details> | |
| In order to have extensive flexibility here, different sensors are used. But there is also the possibility to define an occupant of the room, so that e.g. the roller shutter does not go up in the morning, although the occupant is still sleeping.<br /> |
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| infix fun <T>Boolean.then(action : () -> T): T? { | |
| return if (this) | |
| action.invoke() | |
| else null | |
| } | |
| infix fun <T>T?.elze(action: () -> T): T { | |
| return if (this == null) | |
| action.invoke() |
| #!/bin/bash | |
| if [ ! -d ".git" ]; then | |
| echo "Not a git Directory" | |
| exit 1 | |
| fi | |
| function getStashesToRemove { | |
| git stash list | while read -r line; | |
| do | |
| read -p "remove branch: $line (y/N)?" answer </dev/tty; |