Skip to content

Instantly share code, notes, and snippets.

YOUNG HO CHA (aka ganachoco) ganadist

Block or report user

Report or block ganadist

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View crash.log
E AndroidRuntime: Caused by: java.lang.ClassCastException:
$Proxy0 cannot be cast to com.example.myapplication.ServiceClientFactory$ServiceClientImpl1
E AndroidRuntime: at com.example.myapplication.MainActivity.onCreate(MainActivity.java:15)
E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7136)
E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:7127)
E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2905)
E AndroidRuntime: ... 11 more
W ActivityManager: Force finishing activity com.example.myapplication/.MainActivity
D ActivityTrigger: ActivityTrigger activityPauseTrigger
@ganadist
ganadist / MissingSplitsManagerFactory.java
Last active Sep 4, 2019
MissingSplitsManagerFactory source codes
View MissingSplitsManagerFactory.java
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//
package com.google.android.play.core.missingsplits;
import android.content.Context;
import java.util.concurrent.atomic.AtomicReference;
View gerrit-oauth_master_build.log
$ bazel build oauth
DEBUG: Rule 'com_googlesource_gerrit_bazlets' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1562699450 -0400"
DEBUG: Call stack for the definition of repository 'com_googlesource_gerrit_bazlets' which is a git_repository (rule definition at /home/ganadist/.cache/bazel/_bazel_ganadist/9b342cb1427f200d4458a90f8be4bf82/external/bazel_tools/tools/build_defs/repo/git.bzl:181:18):
- /home/ganadist/src/build/gerrit/plugins-oauth/bazlets.bzl:9:9
- /home/ganadist/src/build/gerrit/plugins-oauth/WORKSPACE:5:1
INFO: Call stack for the definition of repository 'gerrit_plugin_api' which is a maven_jar (rule definition at /home/ganadist/.cache/bazel/_bazel_ganadist/9b342cb1427f200d4458a90f8be4bf82/external/com_googlesource_gerrit_bazlets/tools/maven_jar.bzl:163:13):
- /home/ganadist/.cache/bazel/_bazel_ganadist/9b342cb1427f200d4458a90f8be4bf82/external/com_googlesource_gerrit_bazlets/gerrit_api_maven_local.bzl:13:5
- /home/ganadist/src/build/gerr
View gerrit-oauth_master_build.log
$ git show
commit 6e54850e3799782070b1a3e2e3659150bbb74a60 (HEAD -> dev, origin/master, origin/HEAD, master)
Merge: 7d1d409 be359a0
Author: Marco Miller <marco.miller@ericsson.com>
Date: Tue Jul 9 12:01:08 2019 -0400
Merge branch 'stable-3.0'
* stable-3.0:
Upgrade bazlets to latest stable-3.0 to build with 3.0.1 API
View yoga_load_crash.log
06-19 07:44:10.981 4941 4941 D SoLoader: init start
06-19 07:44:10.981 4941 4941 D SoLoader: adding system library source: /vendor/lib
06-19 07:44:10.981 4941 4941 D SoLoader: adding system library source: /system/lib
06-19 07:44:10.982 4941 4941 D SoLoader: adding application source: com.facebook.soloader.DirectorySoSource[root = /data/app/test.kotlin.yoga.soloader.crash-xltKwT6yTdbT8PczqB_4QQ==/lib/arm64 flags = 0]
06-19 07:44:10.983 4941 4941 D SoLoader: adding backup source from : com.facebook.soloader.ApkSoSource[root = /data/data/test.kotlin.yoga.soloader.crash/lib-main flags = 1]
06-19 07:44:10.983 4941 4941 D SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /system/lib flags = 2]
06-19 07:44:10.983 4941 4941 D SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /vendor/lib flags = 2]
06-19 07:44:10.983 4941 4941 D SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /data/app/test.kotlin.yoga.soloader.crash
View yoga_crash.txt
06-18 23:07:04.520 22368 22368 F zygote : java_vm_ext.cc:504] "main" prio=5 tid=1 Runnable
06-18 23:07:04.520 22368 22368 F zygote : java_vm_ext.cc:504] | group="main" sCount=0 dsCount=0 flags=0 obj=0x72db64d8 self=0xecccb000
06-18 23:07:04.520 22368 22368 F zygote : java_vm_ext.cc:504] | sysTid=22368 nice=-10 cgrp=default sched=0/0 handle=0xf11fe4bc
06-18 23:07:04.520 22368 22368 F zygote : java_vm_ext.cc:504] | state=R schedstat=( 5311322216 917235310 2447 ) utm=466 stm=65 core=4 HZ=100
06-18 23:07:04.520 22368 22368 F zygote : java_vm_ext.cc:504] | stack=0xff218000-0xff21a000 stackSize=8MB
06-18 23:07:04.520 22368 22368 F zygote : java_vm_ext.cc:504] | held mutexes= "mutator lock"(shared held)
06-18 23:07:04.520 22368 22368 F zygote : java_vm_ext.cc:504] native: #00 pc 002c5dcf /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+130)
06-18 23:07:04.520 22368 22368 F zygote : java_vm_ext.cc:504] native: #
View rh_openjdk_version.log
D:\Users\ganad>java-1.8.0-openjdk-1.8.0.181-1.b13.redhat.windows.x86_64\bin\java -XshowSettings:properties -version
VM settings:
Max. Heap Size (Estimated): 7.10G
Ergonomics Machine Class: client
Using VM: OpenJDK 64-Bit Server VM
Property settings:
awt.toolkit = sun.awt.windows.WToolkit
file.encoding = MS949
file.encoding.pkg = sun.io
View docker-compose.yml
version: '3'
services:
gerrit:
image: gerritcodereview/gerrit:2.16.7-centos7
hostname: gerrit.private
container_name: gerrit
volumes:
- ./gerrit.config:/var/gerrit/etc/gerrit.config
environment:
View getprop.java
import java.util.Enumeration;
import java.util.Properties;
public class getprop
{
public static void main(String[] a)
{
// List all System properties
Properties pros = System.getProperties();
View EnumWithObfuscatedTest.java
package com.google.gson.functional;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import junit.framework.TestCase;
public class EnumWithObfuscatedTest extends TestCase {
private Gson gson;
You can’t perform that action at this time.