Skip to content

Instantly share code, notes, and snippets.

View shahbaz-momi's full-sized avatar
🥝

Shahbaz Momi shahbaz-momi

🥝
View GitHub Profile
import kotlin.time.ExperimentalTime
import kotlin.time.measureTime
typealias Board = Array<IntArray>
data class SpotRank(
val at: Pos,
val opts: Set<Int>,
)
OST Sdk written in Kotlin, developed specifically for this POC. Compitable with Java and Kotlin:
https://github.com/shahbaz-man/ost-sdk
Actual server-side code and native Android client were versioned using a private Git server; source code available (for further examination/detail) under license upon request
The OST View transaction page of the like action performed in the video was not included in the video as it got burried under the simulated like transactions (identical actions, making it hard to pin point the exact one)
However, it can stil be viewed on OST View under the DRT token symbol
@shahbaz-momi
shahbaz-momi / Bin2Img.kt
Created May 10, 2018 21:06
Binary to image converter in Kotlin
package com.asdev.bin2img
import java.awt.Color
import java.awt.image.BufferedImage
import java.io.ByteArrayOutputStream
import java.io.File
import java.nio.file.Files
import javax.imageio.ImageIO
/**
047e213d247d19468101fbdf88930bceb36bf201e7f6d845ac7e79a227671a02949e2914ec127788f989f24d9ec0da4e0ea95b2a8a447099d020e65c0b378f7b93