Skip to content

Instantly share code, notes, and snippets.

View KucherenkoIhor's full-sized avatar

Ihor Kucherenko KucherenkoIhor

View GitHub Profile
2026-06-30 13:33:01.887 D/d: [api] --> POST https://apps.wix.com/_api/pos-tablet-fes/payments/68c43548-b337-3387-6501-606056fa424a/transaction commonConfig: {"deviceId":"E255A50009","business_location_id":"f32dce5c-a81c-4a29-9169-ce935b7c859a"}
2026-06-30 13:33:01.887 D/d: [api] --> Body: {"amount":3.23,"cardReader":{"terminalId":"MOB55 USB (6100)","type":"ELAVON_MOBY_5500"},"paymentType":"ElavonPos"}
2026-06-30 13:33:01.888 D/InstallmentsCtaStateProvider$provideState: Installments settings enabled: false
2026-06-30 13:33:01.890 D/InstallmentsCtaStateProvider$provideState: isInstallmentsExperimentActive: true
2026-06-30 13:33:01.911 D/DeviceStatusListener: [cr][connect][elavon] Device connection state changed: com.elavon.commerce.CardReader@d4f5f61, state: CONNECTED
2026-06-30 13:33:01.911 D/WixCardReaderStateService$statusListener: [cr][state][elavon] deviceConnectionStateChanged: CONNECTED
2026-06-30 13:33:01.911 D/DeviceStatusListener: [cr][connect][elavon] Device power state changed: MOB55 USB (6100
-30 13:32:58.004 1842 2257 D [UsbManagerAPI]: writeDevice_hid, write data: [0E 02 01 00 08 11 00 05 FF 88 00 00 00 63 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00] success!
06-30 13:32:58.004 1842 2257 D [UsbManagerAPI]: writeDevice | writeDevice_hid, ret: 0
06-30 13:32:58.004 1842 2257 D UsbManager_TLV: TLV exchangeData: success
06-30 13:32:58.017 1842 24553 D UsbManager_ReadThread: is right UsbRequest
06-30 13:32:58.017 1842 24553 D UsbManager_ReadThread: len = 64
06-30 13:32:58.017 1842 24553 D UsbManager_ReadThread: receive 64 bytes data, deal it
06-30 13:32:58.017 1842 24549 D ParserHandler: MSG_ID_PARSER
06-30 13:32:58.017 1842 24549 D ParserHandler: parseData len: 64, data: 01 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
06-30 13:32:58.017 1842 2
BottomMenuHostDelegate [bbar] onBottomMenuNavigationItemSelected item: PlatformMainNavigationItem(verticalItem=MainMenuItem(icon=null, id=MAIN_BOTTOM_MENU_CHECKOUT, title=Res(value=2132019909), navigationCommand=CheckoutMainMenuNavigationCommand), selected=false)
SideMenuHostDelegate [sidemenu] onSideMenuNavigationItemSelected item: null
MainViewMo...zeSideMenu [main][sidemenu] platformMainSideMenuHostDelegate selectedItemFlow: null
com.wix.post Profile data size exceeds 500000 bytes. It has 514222 bytes.
System.out [settings][data] SettingsRepositoryImpl getSettings with policy: LOCAL_REMOTE
CartViewModelImpl [cart] onChargeClick
RolesManagerImpl [permission] requestPermission([CHECKOUT_CUSTOMERS])
CartViewMo...hargeClick [cart] onChargeClick launch
CartViewMo...hargeClick [cart] checkout
CartViewModelImpl [cart] execute checkout
System.err [DefaultDispatcher-worker-9] INFO com.elavon.commerce.UnifiedGatewayTransactionProcessorSPP - [CSDK-DEBUG] prvContinueTransaction
System.err [DefaultDispatcher-worker-9] INFO com.elavon.commerce.CardReaderToTransactionListener - card reader already selected
System.err [DefaultDispatcher-worker-9] INFO com.elavon.commerce.ad - [CSDK-DEBUG] CardReaderListenersDispatcher::addListener - require lock
System.err [DefaultDispatcher-worker-9] INFO com.elavon.commerce.ad - [CSDK-DEBUG] CardReaderListenersDispatcher::addListener - lock acquired
System.err [DefaultDispatcher-worker-9] INFO com.elavon.terminal.roam.configuration.RoamConfiguration - setIsProduction false
System.err [DefaultDispatcher-worker-9] INFO com.elavon.terminal.roam.RoamRuaWrapper - checking firmware/elavon versions..
System.err [DefaultDispatcher-worker-9] INFO com.elavon.terminal.roam.configuration.RoamConfiguration - [CSDK-DEBUG] loadJson
System
2023-03-03 07:01:36.317 1123-1123/? D/RecentsOrientedState: current RecentsOrientedState: [this=RecentsOrientedState@23252d7 mOrientationHandler=PortraitPagedViewHandler@df4f7c4 mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=257]
2023-03-03 07:01:36.317 1123-1123/? I/chatty: uid=10135(com.android.launcher3) identical 4 lines
2023-03-03 07:01:36.317 1123-1123/? D/RecentsOrientedState: current RecentsOrientedState: [this=RecentsOrientedState@23252d7 mOrientationHandler=PortraitPagedViewHandler@df4f7c4 mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=257]
2023-03-03 07:01:37.841 619-702/? E/WifiVendorHal: getWifiLinkLayerStats_1_3_Internal(l.973) failed {.code = ERROR_UNKNOWN, .description = unknown error}
2023-03-03 07:01:38.843 543-543/? W/adbd: timeout expired while flushing socket, closing
2023-03-03 07:01:39.057 619-632/? I/system_server: oneway
SwitchAction switchAction = new SwitchAction("Test switch", new SwitchAction.Listener() {
@Override
public void onCheckedChanged(boolean value) {
Toast.makeText(MainActivity.this, "Switch checked", Toast.LENGTH_LONG).show();
}
});
ButtonAction buttonAction = new ButtonAction("Test button", new ButtonAction.Listener() {
@Override
public void onClick() {
@KucherenkoIhor
KucherenkoIhor / DifferentTypesFunctionComposing.kt
Last active February 8, 2018 06:56
compising of functions with different types
fun length(str: String): Int = str.length
fun strPlusX(x: Int): String = "string " + x
fun add6To(x: Int): Int = x + 6
fun xMultipleX(x: Int): Int = x * x
operator fun <P1, R1, R2> ((R1) -> R2).plus(f: (P1) -> R1): (P1) -> R2 {
return {p1: P1 -> this(f(p1)) }
@KucherenkoIhor
KucherenkoIhor / FunctionsComposition.kt
Created February 8, 2018 05:55
KotlinFunctionComposition
val xMinus3 = {x: Int -> x - 3}
val composedFull = compose(::xPlusX, ::add5To, ::xMulX)
val composed4 = compose(xMinus3, ::xPlusX, ::add5To, ::xMulX)
fun <R> compose(vararg funs: (R) -> R): (R) -> R = { x: R ->
funs.reduceRight { acc, function -> { acc(function(it)) } }(x)
}
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
app:layout_constraintBottom_toTopOf="@+id/ivBottom"
openssl s_client -connect www.api.disappears.com:443 | openssl x509 -pubkey -noout | openssl rsa -pubin -outform der | openssl dgst -sha256 -binary | openssl enc -base64
openssl s_client -showcerts -connect www.api.disappears.com:443