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
| <html> | |
| <a href="thrive://signup/link/a93d545f-0f95-42fc-b53e-eb49569e2271">thrive://signup/link/a93d545f-0f95-42fc-b53e-eb49569e2271</a><br/> | |
| <a href="thrive://cashbackoffer/instore/920808">thrive://cashbackoffer/instore/920808</a><br/> | |
| <a href="thrive://cashbackoffer/instore/951080">thrive://cashbackoffer/instore/951080</a><br/> | |
| <a href="thrive:/cashbackoffer/instore/920692">thrive://cashbackoffer/cashbackoffer/instore/920692</a><br/> | |
| <a href="thrive:/cashbackoffer/instore/984147">thrive://cashbackoffer/cashbackoffer/instore/984147</a><br/> | |
| <a href="thrive:/learn">thrive://learn</a><br/> | |
| <a href="thrive:/download">thrive://download</a><br/> | |
| <a href="thrive:/grow">thrive://grow</a><br/> | |
| <a href="thrive:/withdraw">thrive://withdraw</a><br/> |
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
| {"label":"Unit Test Coverage","message":"70%","schemaVersion":1,"color":"yellow"} |
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
| Links are in comments. |
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
| execve("/usr/bin/ping", ["ping"], 0x7ffcea24eba8 /* 34 vars */) = 0 | |
| access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory) | |
| brk(NULL) = 0x55fe078d1000 | |
| arch_prctl(0x3001 /* ARCH_??? */, 0x7ffcd925d700) = -1 EINVAL (Invalid argument) | |
| fcntl(0, F_GETFD) = 0 | |
| fcntl(1, F_GETFD) = 0 | |
| fcntl(2, F_GETFD) = 0 | |
| access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory) | |
| access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
| openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 |
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
| execve("/usr/bin/curl", ["curl"], 0x7ffc508efbb8 /* 34 vars */) = 0 | |
| brk(NULL) = 0x55a92945e000 | |
| arch_prctl(0x3001 /* ARCH_??? */, 0x7fffa10ef000) = -1 EINVAL (Invalid argument) | |
| access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
| openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
| fstat(3, {st_mode=S_IFREG|0644, st_size=48791, ...}) = 0 | |
| mmap(NULL, 48791, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fab95765000 | |
| close(3) = 0 | |
| openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libcurl.so.4", O_RDONLY|O_CLOEXEC) = 3 | |
| read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\t\1\0\0\0\0\0"..., 832) = 832 |
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
| val builder = NotificationCompat.Builder(this@PlaybackService, NOTI_CHANNEL_ID).apply { | |
| setStyle( | |
| androidx.media.app.NotificationCompat.MediaStyle().also { | |
| it.setShowActionsInCompactView(1, 2, 3) | |
| .setMediaSession(mediaSession.sessionToken) | |
| .setShowCancelButton(true) | |
| .setCancelButtonIntent( | |
| MediaButtonReceiver.buildMediaButtonPendingIntent( | |
| this@YourMusicService, | |
| PlaybackStateCompat.ACTION_STOP |
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
| if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { | |
| mediaSession.setMetadata( | |
| MediaMetadataCompat.Builder() | |
| .putString(MediaMetadata.METADATA_KEY_TITLE, title) | |
| .putString(MediaMetadata.METADATA_KEY_ARTIST, PlaybackAudioInfo.artist) | |
| .build() | |
| ) | |
| } |
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
| // add this !! | |
| infix fun <T, R> T?.then(block: T.() -> R): R? = this?.block() | |
| abstract class Animal | |
| class Cat : Animal() { | |
| fun say() = "meow" | |
| } | |
| fun main() { |
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
| abstract class Animal | |
| class Cat : Animal() { | |
| fun say() = "meow" | |
| } | |
| fun main() { | |
| val myCat: Animal = Cat() | |
| println((myCat as? Cat)?.say()) | |
| } |
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
| public abstract class BaseCallbackFragment extends Fragment { | |
| @Retention(RetentionPolicy.RUNTIME) | |
| @Target(ElementType.TYPE) | |
| public @interface FragmentCallback { | |
| /** | |
| * Determine if throws excpetion if target does not implement the callback. | |
| * @return true: throws an exception if not implemented. | |
| */ | |
| boolean mandatory() default true; |
NewerOlder