Skip to content

Instantly share code, notes, and snippets.

YOUNG HO CHA (aka ganachoco) ganadist

View GitHub Profile
@ganadist
ganadist / dmitriRender_registerFilter.bat
Created May 28, 2020
Modified batch file to check Administrative permissions
View dmitriRender_registerFilter.bat
@echo off
:check_Permissions
echo Administrative permissions required. Detecting permissions...
net session >nul 2>&1
if %errorLevel% == 0 (
echo Success: Administrative permissions confirmed.
) else (
echo Failure: Administrative permissions needs.
echo Please see %APPDATA%\DmitriRender\Help\players.html
View opencv-ndk21.patch
--- opencv-2.4.13.6/cmake/OpenCVFindLibsGrfmt.cmake.bak 2020-04-24 13:33:01.754834282 +0900
+++ opencv-2.4.13.6/cmake/OpenCVFindLibsGrfmt.cmake 2020-04-24 13:33:33.498503698 +0900
@@ -7,12 +7,9 @@
ocv_clear_vars(ZLIB_FOUND)
else()
include(FindZLIB)
- if(ZLIB_FOUND AND ANDROID)
- if(ZLIB_LIBRARIES STREQUAL "${ANDROID_SYSROOT}/usr/lib/libz.so" OR
- ZLIB_LIBRARIES STREQUAL "${ANDROID_SYSROOT}/usr/lib64/libz.so")
+ if(ANDROID)
View buildSrc_build.gradle.kts
plugins {
`kotlin-dsl`
}
repositories {
val r8Version = findProperty("r8Version")?.toString()
if (!r8Version.isNullOrEmpty()) {
if (r8Version.contains(".")) {
// R8 release maven repository, and r8Version format is x.y.z
maven("http://storage.googleapis.com/r8-releases/raw")
View build.gradle.kts
plugins {
`kotlin-dsl`
}
repositories {
val r8Version = findProperty("r8Version")?.toString()
if (!r8Version.isNullOrEmpty()) {
if (r8Version.contains(".")) {
// R8 release maven repository, and r8Version format is x.y.z
maven("http://storage.googleapis.com/r8-releases/raw")
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 Jan 7, 2020
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: #
You can’t perform that action at this time.