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
| Java.perform(function () { | |
| const versionName = 'firmware.bin'; | |
| const changelog = 'Force upgrade to global firmware.'; | |
| const firmwareUrl = 'https://files.catbox.moe/...'; | |
| const md5 = 'md5HashOfFirmwareFile'; | |
| let CheckUpdateUtil = Java.use("com.mi.fitness.checkupdate.util.CheckUpdateUtil"); | |
| CheckUpdateUtil["compareFirmwareVersion2"].implementation = function (latestVersion, currentVersion) { | |
| console.log(`CheckUpdateUtil.compareFirmwareVersion2 is called: latestVersion=${latestVersion}, currentVersion=${currentVersion}`); |
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 kotlinx.coroutines.DelicateCoroutinesApi | |
| import kotlinx.coroutines.Dispatchers | |
| import kotlinx.coroutines.GlobalScope | |
| import kotlinx.coroutines.joinAll | |
| import kotlinx.coroutines.launch | |
| import kotlinx.coroutines.runBlocking | |
| import org.openrndr.application | |
| import org.openrndr.color.ColorHSVa | |
| import org.openrndr.color.ColorRGBa | |
| import org.openrndr.draw.ColorBuffer |
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
| // PA table | |
| #define PA_TABLE {0x00,0x60,0x00,0x00,0x00,0x00,0x00,0x00} | |
| // Rf settings for CC1101 | |
| static uint8_t CC1101_CONFIG[] = { | |
| 0x29, // IOCFG2 GDO2 Output Pin Configuration | |
| 0x2E, // IOCFG1 GDO1 Output Pin Configuration | |
| 0x06, // IOCFG0 GDO0 Output Pin Configuration | |
| 0x47, // FIFOTHR RX FIFO and TX FIFO Thresholds | |
| 0xD3, // SYNC1 Sync Word, High Byte | |
| 0x91, // SYNC0 Sync Word, Low Byte |
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.thefuntasty.pitnyrezim.ui.onboarding.chat | |
| import android.view.animation.AlphaAnimation | |
| import android.view.animation.Animation | |
| import android.view.animation.AnimationSet | |
| import android.view.animation.DecelerateInterpolator | |
| import android.view.animation.TranslateAnimation | |
| import androidx.recyclerview.widget.RecyclerView | |
| import androidx.recyclerview.widget.SimpleItemAnimator |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <shape xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:shape="rectangle"> | |
| <solid android:color="#1E86E5"/> | |
| <size android:height="2dp"/> | |
| </shape> |