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
| WifiManager wm = (WifiManager) getSystemService(WIFI_SERVICE); | |
| String ip = Formatter.formatIpAddress(wm.getConnectionInfo().getIpAddress()); |
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
| @Composable | |
| fun AnimatedBorderCard( | |
| modifier: Modifier = Modifier, | |
| shape: Shape = RoundedCornerShape(size = 0.dp), | |
| borderWidth: Dp = 2.dp, | |
| gradient: Brush = Brush.sweepGradient(listOf(Color.Gray, Color.White)), | |
| animationDuration: Int = 10000, | |
| onCardClick: () -> Unit = {}, | |
| content: @Composable () -> Unit | |
| ) { |
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
| import androidx.compose.animation.core.AnimationSpec | |
| import androidx.compose.animation.core.animate | |
| import androidx.compose.animation.core.tween | |
| import androidx.compose.foundation.gestures.ScrollableState | |
| import androidx.compose.foundation.layout.Column | |
| import androidx.compose.foundation.layout.ColumnScope | |
| import androidx.compose.foundation.lazy.LazyListState | |
| import androidx.compose.runtime.Composable | |
| import androidx.compose.runtime.Stable | |
| import androidx.compose.runtime.saveable.Saver |
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/bash | |
| cd `dirname $0`/../ | |
| projectDir=`pwd` | |
| buildDir="$projectDir/build" | |
| # release Official apk | |
| cd $buildDir | |
| touch timestampFile | |
| echo "Build release official apk" |
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
| /** | |
| * A vertical dashed divider that can be used to separate content in a composable | |
| * @param modifier the modifier to apply to the divider | |
| * @param thickness the thickness of the divider | |
| * @param color the color of the divider | |
| * @author KvRae | |
| */ | |
| @Composable | |
| fun VerticalDashedDivider( | |
| modifier: Modifier = Modifier, |
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
| @Composable | |
| actual fun PlatformColors(statusBarColor: Color, navBarColor: Color){ | |
| val sysUiController = rememberSystemUiController() | |
| SideEffect { | |
| sysUiController.setSystemBarsColor(color = topColor) | |
| sysUiController.setNavigationBarColor(color = bottomColor) | |
| } | |
| } |
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
| name: Build and Test | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| local_test_job: | |
| name: Running Local Tests | |
| runs-on: ubuntu-latest |
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
| import androidx.compose.foundation.layout.Box | |
| import androidx.compose.foundation.layout.padding | |
| import androidx.compose.foundation.shape.GenericShape | |
| import androidx.compose.material.Surface | |
| import androidx.compose.material.Text | |
| import androidx.compose.runtime.Composable | |
| import androidx.compose.ui.Modifier | |
| import androidx.compose.ui.tooling.preview.Preview | |
| import androidx.compose.ui.unit.dp | |
| import com.ex2.dribbble.ui.theme.DribbleUITheme |
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
| Nexus 5 4.4.4 | |
| 1. setup: | |
| a. need to downgrade to 4.4.4, root | |
| b. luckypactcher, GG, xposed | |
| c. put libhook.so and android_server and libsubstrate.so in /data/local/tmp/ and install aadbg | |
| d. patch with luckypatcher the middle 2 | |
| 2. adb shell su -> android_server | |
| 3. adb forward tcp:23946 tcp: 23946 | |
| 4. adb forward tcp:8700 jdwp:PID_OF_GAME | |
| jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8700 |
NewerOlder