Skip to content

Instantly share code, notes, and snippets.

@gilgoldzweig
gilgoldzweig / MockSharedPreference.kt
Last active October 14, 2024 14:12
Mock implementation of shared preference, which just saves data in memory using map.
package com.gilgoldzweig.mvp.preferences
import android.content.SharedPreferences
import android.content.SharedPreferences.OnSharedPreferenceChangeListener
import java.util.HashMap
import kotlin.collections.set
/**
* Mock implementation of [SharedPreferences], which just saves data in memory using map.
*/
@osipxd
osipxd / .editorconfig
Last active April 24, 2025 09:13
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
@avidale
avidale / bert-ner-ru.ipynb
Created August 24, 2021 10:03
Bert-NER-ru
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.