This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.app | |
import android.app.Activity | |
import androidx.compose.material3.LocalTonalElevationEnabled | |
import androidx.compose.material3.MaterialTheme | |
import androidx.compose.material3.lightColorScheme | |
import androidx.compose.runtime.Composable | |
import androidx.compose.runtime.CompositionLocalProvider | |
import androidx.compose.runtime.Immutable | |
import androidx.compose.runtime.ReadOnlyComposable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
while [[ "$#" -gt 0 ]]; do | |
case $1 in | |
-b|--base) baseBranch="$2"; shift ;; | |
*) echo "Unknown parameter passed: $1"; exit 1 ;; | |
esac | |
shift | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Automatically adds branch name and branch description to every commit message. | |
# | |
NAME=$(git branch | grep '*' | sed 's/*.*\///') | |
DESCRIPTION=$(git config branch."$NAME".description) | |
echo "$NAME: $(cat $1)" > "$1" | |
if [ -n "$DESCRIPTION" ] | |
then |