Skip to content

Instantly share code, notes, and snippets.

View kaiyrzhanDE's full-sized avatar
👾
Android developer

veildc kaiyrzhanDE

👾
Android developer
View GitHub Profile
@AJIEKCX
AJIEKCX / EncryptedSettings.kt
Created July 15, 2025 17:21
A secure implementation of SharedPreferences for the MultiplatformSettings library
import android.content.SharedPreferences
import com.google.crypto.tink.Aead
import com.google.crypto.tink.KeysetHandle
import com.google.crypto.tink.RegistryConfiguration
import com.google.crypto.tink.TinkProtoKeysetFormat
import com.google.crypto.tink.aead.AeadConfig
import com.google.crypto.tink.aead.PredefinedAeadParameters
import com.google.crypto.tink.integration.android.AndroidKeystore
import com.google.crypto.tink.subtle.Base64
import com.google.crypto.tink.subtle.Hex
@AJIEKCX
AJIEKCX / StackView.swift
Created July 18, 2023 17:25
SwiftUI StackView for Decompose integration
import Shared
import SwiftUI
/*
A custom implementation of the stack view wrapper with:
- no indices for `onBack` action
- no `getTitle`
- no `NavigationStack`
- custom UINavigationController
@pranavdeshai
pranavdeshai / nord.json
Last active March 4, 2025 20:04
Nord theme for Anki UI using the ReColor add-on
{
"colors": {
"BORDER": [
"Border",
"#D8DEE9",
"#434C5E",
"--border"
],
"BURIED_FG": [
"Buried Foreground",
@osipxd
osipxd / .editorconfig
Last active November 18, 2025 06:10
EditorConfig for Android projects with mapping to IntelliJ IDEA's config
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 120