Skip to content

Instantly share code, notes, and snippets.

@turtton
turtton / NestedListRoundRobinner.kt
Last active September 11, 2023 16:48
ネストしたリストを総当たりするやつ(round robin forEach for elements of nested list
inline fun <T> List<List<T>>.roundRobinnedForEach(action: (List<T>) -> Unit) {
NestedElementCollector(this).collect().forEach(action)
}
inline fun <T> List<T>.timesOf(action: (T) -> Int): Int {
var result = 1
for (element in this) {
result *= action(element)
}
return result
@turtton
turtton / SubmitToFdroid.md
Last active November 3, 2022 03:27
Submit own android app to fdroid
@turtton
turtton / keybase.md
Last active October 28, 2022 08:37
keybase.md

Keybase proof

I hereby claim:

  • I am turtton on github.
  • I am turtton (https://keybase.io/turtton) on keybase.
  • I have a public key whose fingerprint is E271 D44F 0506 7343 9B52 E4A4 8152 FC5D 0B5A 76E1

To claim this, I am signing this object:

@turtton
turtton / KUMADORI-on-linux.md
Last active August 22, 2021 01:47
RAYWOOD社のペンタブレットKUMADORIをLinux上で動かす
layout title date comments categories
post
KUMADORI on Linux
2021-08-21 19:58
true
KUMADORI
Wacom
Linux

RAYWOOD社のペンタブレットKUMADORIをLinux上で動かす