Skip to content

Instantly share code, notes, and snippets.

View kptlronyttcna's full-sized avatar

Ali Rostami kptlronyttcna

  • Tehran, Iran
View GitHub Profile
@Composable
fun MyScreen() {
val t = currentTime()
// Note that t is not State<String>. It's just String. so when the state updates in currentTime,
// only currentTime should recompose. So I expect to see Time: <initial time>, and then nothing
// else. But the text does update every second, how?
Text(text = "Time: $t")
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://gist.githubusercontent.com/kptlronyttcna/20ad42fb5f6fb0ca873c68e923cd12a1/raw/b01cc750c970de93eb70f9b8a6d4043b8eee5230/raynex-irnet-config-schema",
"title": "Raynex IRNET Configuration",
"description": "A configuration file for raynex to automatically convert irnet logs into rinex format",
"type": "object",
"properties": {
"CheckEveryMinute": {
"description": "After converting files in the input directory, wait this many minutes before checking the input directory for new files",
"type": "integer"
@kptlronyttcna
kptlronyttcna / cloudSettings
Last active October 11, 2019 08:25
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-10-11T08:25:35.096Z","extensionVersion":"v3.4.3"}