Skip to content

Instantly share code, notes, and snippets.

View ckarthickit's full-sized avatar

Karthick Chinnathambi ckarthickit

  • India
View GitHub Profile
@ckarthickit
ckarthickit / Compose Utilities
Last active January 25, 2022 13:57
Compose Utilities
Utility functions
@ckarthickit
ckarthickit / android_studio_cache_clean.md
Created July 21, 2021 03:19
Android Studio Cache Cleanup

Android Studio Cache Cleaner

  • /Library/Application Support/Google delete sub-folders unders this parent folder.

Gradle Script convertsion from Groovy to Kotlin

  • Rename all build.gradle , settings.gradle files to build.gradle.kts and settings.gradle.kts respectively

settings.gradle

Groovy Kotlin
rootProject.name = "Demo" rootProject.name = "Demo"
include ':app' include(":app")
@ckarthickit
ckarthickit / gradle_android_jdk11.md
Created May 14, 2021 02:50
Adopt Android build on the JDK11

Adopting the Android Build on JDK 11

if (project.hasProperty('kapt')) {
            kapt 'javax.xml.bind:jaxb-api:2.3.1'
            kapt 'com.sun.xml.bind:jaxb-core:2.3.0.1'
            kapt 'com.sun.xml.bind:jaxb-impl:2.3.2'
        }
        annotationProcessor 'javax.xml.bind:jaxb-api:2.3.1'
 annotationProcessor 'com.sun.xml.bind:jaxb-core:2.3.0.1'
@ckarthickit
ckarthickit / diffuse_queitelu.patch
Created December 31, 2020 21:56
Failed to parse Bundle, but defusing quietly
https://android.googlesource.com/platform/frameworks/base/+/d136e51%5E!/
@ckarthickit
ckarthickit / danger_integration.md
Last active January 1, 2021 00:00
Danger + GithubActions Integration Guide

Danger Integration Guide

Pre - Requisites

Install Bundler

  • Install Bundler - A dependency manager for Ruby

Bundler provides a consistent environment for Ruby projects by tracking and installing the exact gems and versions that are needed.

@ckarthickit
ckarthickit / inspect video file ffprobe ffmpeg.md
Created August 16, 2020 02:36 — forked from ff6347/inspect video file ffprobe ffmpeg.md
Inspect video file using ffprobe (part of ffmpeg)

#Inspecting video files with ffprobe (part of ffmpeg)
Today I needed to inspect a video file. So I thought: "Do it with ffmpeg!". I had a older version of ffmpeg installed via macports. So this is the process i went through.

If you don't have it already:

  1. Install XCode and the XCode command-line tools

  2. Update or install ffmpeg using macports

    This updates the ports tree

    sudo port selfupdate

@ckarthickit
ckarthickit / MainActivity.java
Created July 16, 2020 06:18 — forked from sandeepyohans/MainActivity.java
Adding alert() support to a WebView - Android
/*
Retrieved from https://web.archive.org/web/20160516165158/http://lexandera.com/2009/01/adding-alert-support-to-a-webview/
*/
final WebView browser = (WebView)findViewById(R.id.browser);
/* JavaScript must be enabled if you want it to work, obviously */
browser.getSettings().setJavaScriptEnabled(true);
final Context myApp = this;