Skip to content

Instantly share code, notes, and snippets.

View DVegasa's full-sized avatar
🦊

Ed Khalturin DVegasa

🦊
View GitHub Profile
import 'package:flutter/material.dart' hide showMenu;
import 'package:flutter/material.dart' as material show showMenu;
/// A mixin to provide convenience methods to record a tap position and show a popup menu.
mixin CustomPopupMenu<T extends StatefulWidget> on State<T> {
Offset _tapPosition;
/// Pass this method to an onTapDown parameter to record the tap position.
void storePosition(TapDownDetails details) =>
_tapPosition = details.globalPosition;
I/flutter (14276): initState for 1
I/flutter (14276): initState for 2
I/flutter (14276): initState for 3
I/flutter (14276): initState for 4
I/flutter (14276): initState for 5
I/flutter (14276): initState for 6
I/flutter (14276): initState for 7
I/flutter (14276): initState for 8
I/flutter (14276): initState for 9
D/ViewRootImpl(14276): [TouchInput][ViewRootImpl] MotionEvent { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=487252220, downTime=487252220 } moveCount:0
11/29 05:12:44: Launching 'app' on Xiaomi Redmi 8A.
$ adb shell am start -n "io.github.dvegasa.rosatom/io.github.dvegasa.rosatom.features.auth.AuthActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Connected to process 30427 on device 'xiaomi-redmi_8a-2ac297d50506'.
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
I/dvegasa.rosato: The ClassLoaderContext is a special shared library.
I/Perf: Connecting to perf service.
W/dvegasa.rosato: Accessing hidden method Landroid/graphics/drawable/Drawable;->getOpticalInsets()Landroid/graphics/Insets; (light greylist, linking)
W/dvegasa.rosato: Accessing hidden field Landroid/graphics/Insets;->left:I (light greylist, linking)
Accessing hidden field Landroid/graphics/Insets;->right:I (light greylist, linking)
11/29 05:00:44: Launching 'app' on Xiaomi Redmi 8A.
$ adb shell am start -n "io.github.dvegasa.rosatom/io.github.dvegasa.rosatom.features.auth.AuthActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Connected to process 28744 on device 'xiaomi-redmi_8a-2ac297d50506'.
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
I/Perf: Connecting to perf service.
W/dvegasa.rosato: Accessing hidden method Landroid/view/View;->getAccessibilityDelegate()Landroid/view/View$AccessibilityDelegate; (light greylist, linking)
W/dvegasa.rosato: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (light greylist, reflection)
W/dvegasa.rosato: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (light greylist, reflection)
W/dvegasa.rosato: Accessing hidden method Landroid/graphics/FontFamily;-><init>()V (light
11/29 04:51:24: Launching 'app' on Xiaomi Redmi 8A.
$ adb shell am start -n "io.github.dvegasa.rosatom/io.github.dvegasa.rosatom.features.auth.AuthActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Connected to process 28295 on device 'xiaomi-redmi_8a-2ac297d50506'.
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
I/Perf: Connecting to perf service.
W/dvegasa.rosato: Accessing hidden method Landroid/graphics/drawable/Drawable;->getOpticalInsets()Landroid/graphics/Insets; (light greylist, linking)
Accessing hidden field Landroid/graphics/Insets;->left:I (light greylist, linking)
Accessing hidden field Landroid/graphics/Insets;->right:I (light greylist, linking)
Accessing hidden field Landroid/graphics/Insets;->top:I (light greylist, linking)
D/ed__: command: ffmpeg -y -i /storage/emulated/0/Android/data/io.github.dvegasa.rosatom/cache/mic1606571304308.mp4 -acodec pcm_s16le -f s16le -ac 1 -ar 16000 /storage/emulated/0/Android/data/io.github.dvegasa.rosatom/cache/mic1606571304308.ogg
I/mobile-ffmpeg: Loading mobile-ffmpeg.
W/MediaRecorder: mediarecorder went away with unhandled events
I/mobile-ffmpeg: Loaded mobile-ffmpeg-full-arm-v7a-neon-4.4-20200725.
D/mobile-ffmpeg: Callback thread started.
I/mobile-ffmpeg: ffmpeg version v4.4-dev-416
Copyright (c) 2000-2020 the FFmpeg developers
built with Android (6454773 based on r365631c2) clang version 9.0.8 (https://android.googlesource.com/toolchain/llvm-project 98c855489587874b2a325e7a516b99d838599c6f) (based on LLVM 9.0.8svn)
I/mobile-ffmpeg: configuration: --cross-prefix=arm-linux-androideabi- --sysroot=/files/android-sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/sysroot --prefix=/home/taner/Projects/mobile-ffmpeg/prebuilt/android-arm/ffmpeg --pkg-config=/usr/bin/pkg-config -
package io.github.dvegasa.cp2020rnd.storage
import io.github.dvegasa.cp2020rnd.features.voting_screen.VotingModel
/**
* Created by Ed Khalturin @DVegasa
*/
object Votings {
val list = listOf(
2020-08-22 22:22:32.588 16782-16837/io.github.dvegasa.cp2020rnd D/OkHttp: --> POST http://89.223.127.81:3000/ballot/vote
2020-08-22 22:22:32.589 16782-16837/io.github.dvegasa.cp2020rnd D/OkHttp: Content-Type: application/json; charset=UTF-8
2020-08-22 22:22:32.590 16782-16837/io.github.dvegasa.cp2020rnd D/OkHttp: Content-Length: 94
2020-08-22 22:22:32.591 16782-16837/io.github.dvegasa.cp2020rnd D/OkHttp: {"id":"5f4164dfe8d1dc02e57f168a","user":"5f415965cb91bf003054217c","vote":"Y","voteValue":100}
2020-08-22 22:22:32.591 16782-16837/io.github.dvegasa.cp2020rnd D/OkHttp: --> END POST (94-byte body)
2020-08-22 22:22:32.597 16782-16838/io.github.dvegasa.cp2020rnd D/OkHttp: --> POST http://89.223.127.81:3000/ballot/vote
2020-08-22 22:22:32.597 16782-16838/io.github.dvegasa.cp2020rnd D/OkHttp: Content-Type: application/json; charset=UTF-8
2020-08-22 22:22:32.597 16782-16838/io.github.dvegasa.cp2020rnd D/OkHttp: Content-Length: 94
2020-08-22 22:22:32.598 16782-16838/io.github.dvegasa.cp2020rnd D/OkHttp: {"id":"5f4
package io.github.dvegasa.cp2020rnd.storage
import io.github.dvegasa.cp2020rnd.features.voting_screen.VotingModel
/**
* Created by Ed Khalturin @DVegasa
*/
object Votings {
val list = listOf(
#EXTM3U
#EXT-X-MEDIA-SEQUENCE:1127834
#EXT-X-TARGETDURATION:8
#EXT-X-VERSION:3
#EXTINF:8.000,
2020/07/13/08/29/13-08000.ts?token=f0f5fdcf-dce2-4f91-bca0-fd2dd1c3af60
#EXT-X-DISCONTINUITY
#EXTINF:4.960,
/injector/e4c746f180fd496174ac0f4186ebc942216bd05c/hls/0001sQtaZh400npLp2ZSqmgQbCRMd0.ts
#EXT-X-DISCONTINUITY