Skip to content

Instantly share code, notes, and snippets.

View kollesnica-power's full-sized avatar
😶

Yakovlev Victor kollesnica-power

😶
View GitHub Profile
@eluleci
eluleci / Dockerfile
Last active August 8, 2023 07:57
Dockerfile for Android CI
############################################################
# Dockerfile to build Android project and use Jenkins CI
#
############################################################
FROM ubuntu:14.04
MAINTAINER eluleci <[email protected]>
RUN apt-get update
@mayankmkh
mayankmkh / PrettyPrint.kt
Last active October 7, 2024 21:14
Pretty Print Kotlin Data Class
fun Any.prettyPrint(): String {
var indentLevel = 0
val indentWidth = 4
fun padding() = "".padStart(indentLevel * indentWidth)
val toString = toString()
val stringBuilder = StringBuilder(toString.length)