Skip to content

Instantly share code, notes, and snippets.

Dody Gunawinata dodyg

Block or report user

Report or block dodyg

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 Keybase.md

Keybase proof

I hereby claim:

  • I am dodyg on github.
  • I am dodyg (https://keybase.io/dodyg) on keybase.
  • I have a public key ASDff_JS5X3QFHuMvsBUIlXkmLUxz164Szo1Ulb1PDi6ywo

To claim this, I am signing this object:

View gist:fc9d2b0bd52c31c84271d5edae64498f
Just saw this thread and I had just recommended SUMO to some dude thinking about mining Crytonight w/ his Vega. Posting my reply to him when he asked why he should mine SUMO over Monero:
No legacy of traceable transactions as RingCT w/ minimum ringsize of 12(+1) was implemented since day one. This means that no transaction made on the Sumokoin blockchain can ever be traced back to its participants unlike Monero which implemented RingCT at a later point.
SUMO just implemented sub-addresses which allow you to do your business without every exposing your master wallet address to anyone. It's only been around for a few months and they accomplished implementing this with only FOUR (very talented) devs. Monero only recently implemented sub-addresses themselves with a much much larger dev team. If there's anything that gives me confidence that SUMO is going to be a big thing in the future, it's this. Their dev team may be small but they punch way out of their weight class. Also, there is a premine which will unloc
@dodyg
dodyg / gist:5823756
Last active Aug 24, 2019
Kotlin Programming Language Cheat Sheet Part 3
View gist:5823756

#Control Structures

##If statement

Kotlin if statement should look familiar with other language

fun main(args : Array<String>) {
  val total = 10
@dodyg
dodyg / gist:5823184
Last active Nov 12, 2019
Kotlin Programming Language Cheat Sheet Part 1
View gist:5823184

#Intro

Kotlin is a new programming language for the JVM. It produces Java bytecode, supports Android and generates JavaScript. The latest version of the language is Kotlin M5.3

Kotlin project website is at kotlin.jetbrains.org.

All the codes here can be copied and run on Kotlin online editor.

Let's get started.

@dodyg
dodyg / gist:5616605
Last active Aug 24, 2019
Kotlin Programming Language Cheat Sheet Part 2
View gist:5616605

This is a quick guide to Kotlin programming language. The previous part of this guide is here

#Object Oriented

fun main(args : Array<String>) {
  class local (val x : Int)
  
  val y = local(10)
  println("${y.x}")
You can’t perform that action at this time.