Skip to content

Instantly share code, notes, and snippets.

View xdevs23's full-sized avatar
📼
Time does not exist

Simão Gomes Viana xdevs23

📼
Time does not exist
View GitHub Profile
@xdevs23
xdevs23 / Env.kt
Last active November 17, 2022 23:30
A collection of Kotlin files. Batteries not included.
object Env { operator fun get(name: String): String? = System.getenv(name) }
#include "limine.h"
#define LIMINE_REQUEST(kind, init) \
volatile struct limine_##kind##_request limine_##kind##_request = init; \
const struct limine_##kind##_response* limine_##kind##_response() { return limine_##kind##_request.response; }
val values = listOf(8988, -4412, 597, -1624, 597, -514, 597, -514, 597, -514, 597, -513, 597, -514, 597, -514, 597, -514, 600, -511, 597, -1624, 597, -1625, 597, -1625, 597, -1625, 597, -1625, 596, -1626, 596, -1625, 598, -1625, 597, -1625, 597, -1625, 597, -1625, 597, -514, 597, -514, 597, -514, 597, -515, 597, -514, 597, -514, 597, -514, 597, -514, 597, -1625, 597, -1625, 597, -1625, 597, -1625, 597, -1625, 597, -1625, 597, -1626, 599, -1623, 597, -514, 597, -514, 597, -514, 597, -514, 597, -514, 597, -514, 597, -514, 597, -514, 597, -1626, 597, -1625, 597, -1625, 596, -1626, 596)
val roundedValues = values.map { it.toFloat() / 100f }.map { it + (if (it < 0f) -0.5f else .5f) }.map { it.toInt() * 100 }
roundedValues.chunked(2).joinToString("") { "${it.joinToString(", ")},\n" }

Wallpapers

Seed Description Recommendation
3141812559
3848493291
47894293
3201546666 gives alternative results that look good
1514838022
1022565962 good colors, lighting and shading