path
stringlengths
4
280
owner
stringlengths
2
39
repo_id
int64
21.1k
879M
is_fork
bool
2 classes
languages_distribution
stringlengths
13
1.95k
content
stringlengths
7
482k
issues
int64
0
13.9k
main_language
stringclasses
121 values
forks
stringlengths
1
5
stars
int64
0
111k
commit_sha
stringlengths
40
40
size
int64
7
482k
name
stringlengths
1
100
license
stringclasses
93 values
app/src/main/java/com/example/abschlussprojekt_husewok/ui/theme/composables/statics/HouseworkImage.kt
Phenkel
732,028,288
false
{"Kotlin": 273774}
package com.example.abschlussprojekt_husewok.ui.theme.composables.statics import androidx.compose.foundation.Image import androidx.compose.foundation.border import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.width import androidx.compose.material3.ShapeDefaults import androidx.c...
0
Kotlin
0
0
156528573a66c4023495e6e9d86410b22abd06af
1,645
Abschlussprojekt_Kotlin_Husewok
Apache License 2.0
shared/src/commonMain/kotlin/ch/dreipol/multiplatform/reduxsample/shared/redux/middleware/StoreRatingMiddleware.kt
terrakok
334,467,384
true
{"Kotlin": 145354, "Swift": 99066, "Ruby": 16325, "Shell": 483}
package ch.dreipol.multiplatform.reduxsample.shared.redux.middleware import ch.dreipol.multiplatform.reduxsample.shared.redux.AppState import ch.dreipol.multiplatform.reduxsample.shared.redux.actions.OpenedWithReminderNotification import ch.dreipol.multiplatform.reduxsample.shared.utils.SettingsHelper import ch.dreipo...
0
Kotlin
0
1
d35f0034f3fa870c00dd783d692dc586c8785614
852
multiplatform-redux-sample
MIT License
clients/android/app/src/main/java/app/lockbook/model/DetailScreenLoaderViewModel.kt
lockbook
231,677,385
false
{"Rust": 2021419, "Swift": 403831, "Kotlin": 384034, "HTML": 20335, "Shell": 9717, "Makefile": 5918, "CSS": 5835, "JavaScript": 3707, "C": 65}
package app.lockbook.model import android.app.Application import android.graphics.BitmapFactory import androidx.lifecycle.AndroidViewModel import androidx.lifecycle.LiveData import androidx.lifecycle.viewModelScope import app.lockbook.util.* import com.github.michaelbull.result.Err import com.github.michaelbull.result...
197
Rust
4
82
6e1f6da58db203feac86de76b3490b20f12b8168
4,369
lockbook
The Unlicense
app/src/main/java/com/example/belindas_closet/screen/SignUp.kt
SeattleColleges
656,918,420
false
{"Kotlin": 93917}
package com.example.belindas_closet.screen import androidx.compose.foundation.Image import androidx.compose.foundation.background import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation...
23
Kotlin
4
5
1dd5a3c4ae39a23027d03630bdeca10b22cd5b2b
11,829
belindas-closet-android
MIT License
src/main/kotlin/org/wfanet/measurement/storage/testing/InMemoryStorageClient.kt
world-federation-of-advertisers
375,798,604
false
null
// Copyright 2021 The Cross-Media Measurement Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applic...
3
Kotlin
0
1
38773d0dfe5661a9affb72ef27bd56424dd0fedd
2,711
common-jvm
Apache License 2.0
core/src/main/java/com/ramitsuri/notificationjournal/core/utils/Constants.kt
ramitsuri
667,037,607
false
{"Kotlin": 274675, "Shell": 8329, "Python": 3405, "HTML": 1499, "JavaScript": 1016}
package com.ramitsuri.notificationjournal.core.utils object Constants { const val REMOTE_INPUT_JOURNAL_KEY = "remote_input_journal_text" const val ACTION_JOURNAL = "action_journal" const val ACTION_UPLOAD = "action_upload" const val PREF_FILE = "com.ramitsuri.notificationjournal.prefs" const val P...
0
Kotlin
0
0
f669ff08cfa0bc8a725ea34887c7fc2e7177747c
1,026
notification-journal
MIT License
app/src/main/java/com/hasbihal/ui/register/RegisterViewModel.kt
hasbihal
148,445,846
false
null
package com.hasbihal.ui.register import androidx.lifecycle.ViewModel import com.google.firebase.auth.FirebaseAuth import com.hasbihal.data.model.User import timber.log.Timber class RegisterViewModel: ViewModel() { val fireBaseAuth = FirebaseAuth.getInstance() // TODO : Covert the arguments to user model obje...
0
Kotlin
0
3
adb30f036ccaa337f4160bebecbc844f61d3871a
755
android
MIT License
app/src/main/java/com/kudesta/bettergeeks/screens/ask_question/AskQuestionFragment.kt
vylhart
644,937,601
false
null
package com.kudesta.bettergeeks.screens.ask_question import android.os.Bundle import android.view.LayoutInflater import android.view.Menu import android.view.MenuInflater import android.view.MenuItem import android.view.View import android.view.ViewGroup import android.widget.AdapterView import android.widget.ArrayAda...
0
Kotlin
0
0
d7fae7a4a7d8bd3ba0e09414030bc1b157a1fe3a
3,910
BetterGeeks
Apache License 2.0
app/src/main/java/com/example/slore/MainActivity.kt
knightafter
802,131,272
false
{"Kotlin": 197766}
package com.example.slore import android.Manifest import android.content.Intent import android.content.pm.PackageManager import android.os.Build import android.os.Bundle import android.widget.Toast import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.activity.enableEdg...
0
Kotlin
0
2
943ea1b22ea44650460ff8f07946df7f41928b43
3,181
Slore--A-Password-and-Notes-Manager-App.
Apache License 2.0
android/engine/src/test/java/org/smartregister/fhircore/engine/rulesengine/RulesFactoryTest.kt
opensrp
339,242,809
false
null
/* * Copyright 2021-2023 Ona Systems, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
140
Kotlin
12
24
70489e14827789efe8096196e452b8a206a03996
19,196
fhircore
Apache License 2.0
src/main/kotlin/ca.jrvs.trading/controller/QuoteController.kt
syumet
307,445,286
false
null
package ca.jrvs.trading.controller import ca.jrvs.trading.domain.Quote import ca.jrvs.trading.domain.iex.IexQuoteDto import ca.jrvs.trading.service.QuoteService import io.swagger.annotations.Api import io.swagger.annotations.ApiOperation import org.springframework.http.HttpStatus import org.springframework.http.MediaT...
0
Kotlin
0
0
7fa7363d96ce41951df2f46ad6ed37162c0cd0c3
2,120
trading-kotlin
MIT License
backend/src/test/kotlin/org/dontstw/eventfactory/config/SecurityConfigTest.kt
hahava
258,443,979
true
{"Kotlin": 8410, "JavaScript": 2370, "TypeScript": 608, "TSQL": 470, "HTML": 335}
package org.dontstw.eventfactory.config import org.junit.jupiter.api.Assertions.assertSame import org.junit.jupiter.api.Test import org.springframework.boot.test.context.SpringBootTest import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder @SpringBootTest class SecurityConfigTest { @Test fun ...
0
Kotlin
0
0
376fd4bc8e192217bbe97ab7917f19500abcb4b7
584
event-factory
MIT License
moralis-lib/src/main/java/com/moralis/web3/MoralisApplication.kt
mobilekosmos
411,831,799
false
{"Kotlin": 81386, "Java": 1868, "Batchfile": 601}
package com.moralis.web3 import android.app.Application import android.content.Context import com.moralis.web3.walletconnect.server.BridgeServer import com.squareup.moshi.Moshi import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory import okhttp3.OkHttpClient import org.komputing.khex.extensions.toNoPrefixH...
2
Kotlin
1
5
5cef71a0beea81e826c023d13e2189e9b8c22cad
3,204
moralis-sdk-android
Apache License 2.0
app/src/main/java/com/twobbble/biz/impl/BaseBiz.kt
550609334
82,531,843
false
null
package com.twobbble.biz.impl import com.twobbble.biz.assist.NetService import com.twobbble.biz.assist.RetrofitFactory /** * Created by liuzipeng on 2017/3/1. */ open class BaseBiz { fun getNetService(): NetService = RetrofitFactory.instance().getService() }
1
null
62
398
e91797a3d4a0fa7737f983a8914eaa109a452054
266
Twobbble
Apache License 2.0
app/src/main/java/com/one/kumaran/restpokemon/ui/main/MainView.kt
bellank
145,264,830
false
null
package com.one.kumaran.restpokemon.ui.main import com.one.kumaran.restpokemon.repository.model.Pokemon import com.one.kumaran.restpokemon.repository.state.MainState import com.one.kumaran.restpokemon.ui.View interface MainView: View { fun populateData(mainState: MainState, pokemon: Pokemon) fun showLoading(m...
0
Kotlin
0
0
37254090da661e4cd897e5cb0c4de77295e46e0e
451
restpokemon
Apache License 2.0
src/main/kotlin/br/upf/sistemadevoos/exceptions/InvalidParametersException.kt
gcerbaro
702,686,292
false
{"Kotlin": 38457}
package br.upf.sistemadevoos.exceptions import java.lang.RuntimeException class InvalidParametersException(override val message: String) : RuntimeException()
0
Kotlin
0
0
88b4ee9c53f5b1c59b06b16bc94a0ee169bf3ab4
160
SistemaVoosKotlin
MIT License
damzel-parsers-ksp/src/main/kotlin/com/sokoobo/damzel/parsers/ksp/Utils.kt
sokoobo
869,785,019
false
{"Kotlin": 163808, "HTML": 4051}
package com.sokoobo.damzel.parsers.ksp import java.util.* fun String.toTitleCase(locale: Locale?): String { return replaceFirstChar { x -> x.uppercase(locale ?: Locale.ROOT) } }
0
Kotlin
0
0
535e638059205ac87e77615cdc436b2500574f7d
181
damzel-parsers
MIT License
src/main/java/com/store/model/InventoryRecord.kt
znsio
690,364,752
false
{"Kotlin": 16597, "Java": 890}
package com.store.model data class InventoryRecord(val productid: Int = 0, val quantity: Int = 0)
11
Kotlin
0
1
9c2a6b463555ae015240832e391c698c98459089
99
specmatic-order-api-java-with-oauth
MIT License
src/main/kotlin/ai/serenade/intellij/MainToolWindow.kt
serenadeai
279,932,207
false
null
package ai.serenade.intellij import ai.serenade.intellij.services.ToolWindowService import com.intellij.openapi.project.Project import com.intellij.openapi.wm.ToolWindow import com.intellij.openapi.wm.ToolWindowFactory import io.ktor.util.KtorExperimentalAPI class MainToolWindow : ToolWindowFactory { @KtorExperim...
0
Kotlin
2
7
5c14fc7dc9d37fab64e6be52f56c61ff60cd7c5f
475
intellij
MIT License
src/main/kotlin/gui/entity/EntityModifier.kt
nea89o
637,563,904
false
{"Kotlin": 600801, "Java": 131606, "Nix": 1217}
package moe.nea.firmament.gui.entity import com.google.gson.JsonObject import net.minecraft.entity.LivingEntity fun interface EntityModifier { fun apply(entity: LivingEntity, info: JsonObject): LivingEntity }
25
Kotlin
6
37
9cdc30e024fac9fe04eeeccb15dfd46f4aa648cb
216
Firmament
Apache License 2.0
src/test/kotlin/io/github/dca/OptimizeRouterTest.kt
laguiar
476,662,074
false
{"Kotlin": 41736}
package io.github.dca import io.ktor.client.call.body import io.ktor.client.plugins.contentnegotiation.ContentNegotiation import io.ktor.client.request.post import io.ktor.client.request.setBody import io.ktor.http.ContentType import io.ktor.http.ContentType.Application.Json import io.ktor.http.HttpStatusCode import i...
0
Kotlin
1
0
261c6b36b5f482f7ed793bfd091a0d3871133506
1,648
dca-optimizer
MIT License
airbyte-cdk/java/airbyte-cdk/dependencies/src/main/kotlin/io/airbyte/configoss/AirbyteConfigValidator.kt
tim-werner
511,419,970
false
{"Java Properties": 8, "Shell": 57, "Markdown": 1170, "Batchfile": 1, "Makefile": 3, "JavaScript": 31, "CSS": 9, "Python": 4183, "Kotlin": 845, "Java": 723, "INI": 10, "Dockerfile": 27, "HTML": 7, "SQL": 527, "PLpgSQL": 8, "TSQL": 1, "PLSQL": 2}
/* * Copyright (c) 2023 Airbyte, Inc., all rights reserved. */ package io.airbyte.configoss import io.airbyte.validation.json.AbstractSchemaValidator import java.nio.file.Path class AirbyteConfigValidator : AbstractSchemaValidator<ConfigSchema>() { override fun getSchemaPath(configType: ConfigSchema): Path { ...
1
null
1
1
b2e7895ed3e1ca7c1600ae1c23578dd1024f20ff
496
airbyte
MIT License
year2023/day05/almanac/src/main/kotlin/com/curtislb/adventofcode/year2023/day05/almanac/Almanac.kt
curtislb
226,797,689
false
{"Kotlin": 2014224}
package com.curtislb.adventofcode.year2023.day05.almanac import com.curtislb.adventofcode.common.io.forEachSection import com.curtislb.adventofcode.common.parse.parseLongs import java.io.File /** * A copy of the Island Island Almanac, which contains [CategoryMap]s for converting integer values * between various cat...
0
Kotlin
1
1
a55341d18b4a44f05efbc9b0b9583e11d9528285
4,109
AdventOfCode
MIT License
services/csm.cloud.user.user/src/main/kotlin/com/bosch/pt/csm/cloud/usermanagement/pat/pat/command/handler/DeletePatCommandHandler.kt
boschglobal
805,348,245
false
{"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344}
/* * ************************************************************************ * * Copyright: <NAME> Power Tools GmbH, 2018 - 2023 * * ************************************************************************ */ package com.bosch.pt.csm.cloud.usermanagement.pat.pat.command.handler import com.bosch.pt.csm.c...
0
Kotlin
3
9
9f3e7c4b53821bdfc876531727e21961d2a4513d
1,811
bosch-pt-refinemysite-backend
Apache License 2.0
documents_feature/src/main/java/com/flyview/documents_feature/ui/scan/product_list/toolbar/ProductListToolbarComponent.kt
DmiMukh
676,402,705
false
{"Kotlin": 288475, "Java": 130379}
package com.flyview.documents_feature.ui.scan.product_list.toolbar interface ProductListToolbarComponent { fun onBackClick() fun onSaveClick() }
0
Kotlin
0
0
5c184121116c08abe217946ba7da27804c232edb
154
PharmMobile
MIT License
src/main/kotlin/no/nav/pensjon/opptjening/omsorgsopptjening/bestem/pensjonsopptjening/omsorgsarbeid/model/Landstilknyttning.kt
navikt
593,529,397
false
null
package no.nav.pensjon.opptjening.omsorgsopptjening.bestem.pensjonsopptjening.omsorgsarbeid.model enum class Landstilknytning { EOS, NASJONAL }
0
Kotlin
0
0
279242c5ca79bb34dd136c29dfd5a1b5a5e60651
152
omsorgsopptjening-bestem-pensjonsopptjening
MIT License
app/src/main/java/by/lebedev/nanopoolmonitoring/data/dto/workers/WorkersResponse.kt
PaladinVCT
536,445,483
false
null
package by.lebedev.nanopoolmonitoring.data.dto.workers import com.squareup.moshi.Json import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class WorkersResponse( @Json(name = "data") val `data`: List<WorkerResponse>? = null, @Json(name = "status") val status: Boolean? = null ) ...
0
Kotlin
0
0
07d57e5a42b5794dfc644c08750b1241f6e35f54
722
Nanopool
Apache License 2.0
redwood-protocol-host/src/commonMain/kotlin/app/cash/redwood/protocol/widget/ProtocolMismatchHandler.kt
cashapp
305,409,146
false
{"Kotlin": 1637648, "Swift": 14358, "Java": 1583, "Objective-C": 1499, "HTML": 235, "C": 43}
/* * Copyright (C) 2022 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
101
Kotlin
52
1,296
ecddfc7fab869b935b9593ee979758dd5df97c26
2,783
redwood
Apache License 2.0
shared/src/commonMain/kotlin/AppColors.kt
AhmMhd
631,529,012
false
null
import androidx.compose.material.darkColors import androidx.compose.material.lightColors import androidx.compose.ui.graphics.Color val appBlack: Color = Color(0xff25242b) val appYellow: Color = Color(0xffffb400) val appWhite: Color = Color(0xffffffff) val LightThemeColors = lightColors( primary = appYellow, p...
0
Kotlin
0
24
50f93b813a382f24df972d75d00979cf415103eb
546
Portfolio-App
Apache License 2.0
app/src/main/java/com/example/mini_projet/views/home/HomeFragment.kt
zahracarthage
429,762,274
false
{"Kotlin": 225057}
package com.example.mini_projet.views.home import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.SearchView import androidx.fragment.app.Fragment import androidx.fragment.app.viewModels import androidx.navigation.findNavController impor...
0
Kotlin
0
0
6f062c59b32bb5f4a7595ffa69e47d1eaa195126
3,643
mini-projet-android
MIT License
eudi-wallet-oidc-android/src/main/java/com/ewc/eudi_wallet_oidc_android/services/codeVerifier/CodeVerifierServiceInterface.kt
EWC-consortium
749,764,479
false
{"Kotlin": 155109}
package com.ewc.eudi_wallet_oidc_android.services.codeVerifier interface CodeVerifierServiceInterface { /** * To generate the code verifier for issuance * high-entropy cryptographic random STRING using the * unreserved characters [A-Z] / [a-z] / [0-9] / "-" / "." / "_" / "~" * with a min...
0
Kotlin
1
0
6090a2f177590f354fc80b4b5d11a49af4d48e4a
822
eudi-wallet-oid4vc-android
Apache License 2.0
app/src/main/java/com/thirty/nikeapp/MyApplication.kt
anurenjatgithub4u
668,812,274
false
null
package com.thirty.nikeapp import android.app.Application import dagger.hilt.android.HiltAndroidApp @HiltAndroidApp class MyApplication :Application(){ }
0
Kotlin
0
0
eb5b8a51851fb088f5447c931adaff51e9b08677
156
Sneakers
MIT License
zircon.core/common/src/main/kotlin/org/hexworks/zircon/internal/component/renderer/DefaultContainerRenderer.kt
smomen
159,274,471
true
{"Kotlin": 1062940, "Java": 16867, "CSS": 1525}
package org.hexworks.zircon.internal.component.renderer import org.hexworks.zircon.api.component.renderer.ComponentRenderContext import org.hexworks.zircon.api.component.renderer.ComponentRenderer import org.hexworks.zircon.api.graphics.impl.SubTileGraphics import org.hexworks.zircon.internal.component.impl.DefaultCon...
0
Kotlin
0
0
bb1f993f8eca72660cd44da736f1643a351bcb68
613
zircon
MIT License
composeApp/src/commonMain/kotlin/domain/model/Movie.kt
alirezaeiii
835,875,495
false
{"Kotlin": 52210, "Swift": 621}
package domain.model import kotlinx.serialization.Serializable @Serializable data class Movie( val id: Int, val overview: String, val releaseDate: String?, val backdropPath: String?, val name: String, val voteAverage: Double, val voteCount: Int )
0
Kotlin
0
2
38a5f028c897af18c5ff510b342d248d08025db1
276
TMDb-CMP-Playground
The Unlicense
app/src/main/java/foss/cnugteren/nlweer/ui/fragments/BuienradarPluimFragment.kt
CNugteren
218,386,512
false
null
package foss.cnugteren.nlweer.ui.fragments import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.webkit.WebView import android.webkit.WebViewClient import androidx.fragment.app.Fragment import androidx.swiperefreshlayout.widget.SwipeRefreshLay...
8
Kotlin
4
16
6ab1edc64ef9ddd9b04f095dee48d2b61eef95bf
2,695
NLWeer
MIT License
src/main/kotlin/function.kt
BangShinChul
380,409,082
false
null
/** * 함수 예제입니다. * */ fun functionExamples() { functionCallExample() // 함수 호출 예제 지명_함수_인자_예제() // shouldReturnAString() `**~prolly not a good idea!~**`() `사용자가 로그아웃을 클릭하면 로그아웃되어야 합니다`() } /** * 함수의 리턴 예제입니다. * */ private fun formatHealthStatus1(healthPoints: Int, isBlessed: Boolean): String { ...
0
Kotlin
0
0
155ecb353fd0cdabf3fd1035a903b612be9604eb
2,462
kotlin-study
MIT License
app/src/main/java/com/uxstate/launchpad/presentation/screens/home/components/tabs/TabsContent.kt
Tonnie-Dev
564,375,014
false
{"Kotlin": 159012}
package com.uxstate.launchpad.presentation.screens.home.components.tabs import android.content.res.Configuration.UI_MODE_NIGHT_NO import android.content.res.Configuration.UI_MODE_NIGHT_YES import androidx.compose.foundation.pager.HorizontalPager import androidx.compose.foundation.pager.PageSize import androidx.compose...
0
Kotlin
1
8
ce1fe7b336c874220c7c8ef4d824664e39d57166
1,247
LaunchPad
MIT License
app/src/main/java/com/uxstate/launchpad/presentation/screens/home/components/tabs/TabsContent.kt
Tonnie-Dev
564,375,014
false
{"Kotlin": 159012}
package com.uxstate.launchpad.presentation.screens.home.components.tabs import android.content.res.Configuration.UI_MODE_NIGHT_NO import android.content.res.Configuration.UI_MODE_NIGHT_YES import androidx.compose.foundation.pager.HorizontalPager import androidx.compose.foundation.pager.PageSize import androidx.compose...
0
Kotlin
1
8
ce1fe7b336c874220c7c8ef4d824664e39d57166
1,247
LaunchPad
MIT License
app/src/main/java/com/erkindilekci/chatwave/presentation/ui/theme/Color.kt
erkindilekci
654,943,054
false
null
package com.erkindilekci.chatwave.presentation.ui.theme import androidx.compose.ui.graphics.Color val Purple80 = Color(0xFFD0BCFF) val PurpleGrey80 = Color(0xFFCCC2DC) val Pink80 = Color(0xFFEFB8C8) val Purple40 = Color(0xFF6650a4) val PurpleGrey40 = Color(0xFF625b71) val Pink40 = Color(0xFF7D5260) val DarkSlateGre...
0
Kotlin
0
0
00078200915fdd9596950cdf4c17382cc47e9917
2,659
ChatWave
Apache License 2.0
src/jsMain/kotlin/app/softwork/routingcompose/NavLink.kt
rbro112
377,354,971
true
{"Kotlin": 27864, "HTML": 290}
package app.softwork.routingcompose import androidx.compose.runtime.* import org.jetbrains.compose.web.attributes.* import org.jetbrains.compose.web.dom.* import org.w3c.dom.* @Composable public fun NavLink( to: String, attrs: AttrsBuilder<HTMLAnchorElement>.() -> Unit = {}, content: @Composable () -> Uni...
0
null
0
0
83cea2e816f50cee5273bff6faf6921ba3aafb3a
444
routing-compose
Apache License 2.0
src/test/kotlin/org/domaindrivenarchitecture/provs/syspec/infrastructure/SyspecConfigRepoKtTest.kt
DomainDrivenArchitecture
671,424,521
false
{"Kotlin": 401907, "Shell": 38541, "Python": 3745, "Vim Script": 457, "Dockerfile": 374}
package org.domaindrivenarchitecture.provs.syspec.infrastructure import org.domaindrivenarchitecture.provs.configuration.domain.ConfigFileName import org.domaindrivenarchitecture.provs.syspec.domain.CommandSpec import org.junit.jupiter.api.Assertions.* import org.junit.jupiter.api.Test internal class SyspecConfigRepo...
0
Kotlin
0
1
277302d0eed5043e27ad6706c85d7febb1315550
1,574
provs
Apache License 2.0
app/src/main/java/com/africablue/awsapp/util/StringUtils.kt
AfricaBlue72
259,641,836
false
null
package com.africablue.awsapp.util object StringUtils { fun obscureEmail(email: String): String?{ val at = email.indexOf('@') val dot = email.lastIndexOf('.') if(at == -1 || dot == -1) return null return email. replaceRange(1,email.indexOf('@'), "****"). ...
0
Kotlin
0
0
f5aea4b4e08e69c79f76cd7384308f657d61e21f
371
AwsApp
MIT License
app/src/main/java/jet/pack/compose/masterdetails/ui/components/PokemonTypeBullet.kt
damienlo
353,440,081
false
null
package jet.pack.compose.masterdetails.ui.components import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.foundation.layout.padding import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material.Card import androidx.compose.material.MaterialTheme import androidx....
0
Kotlin
0
3
5694b9dca530339b300e578923d8980771096f81
1,828
Compose-Pokemon-List-Details
Beerware License
app/src/main/java/jet/pack/compose/masterdetails/ui/components/PokemonTypeBullet.kt
damienlo
353,440,081
false
null
package jet.pack.compose.masterdetails.ui.components import androidx.compose.foundation.isSystemInDarkTheme import androidx.compose.foundation.layout.padding import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material.Card import androidx.compose.material.MaterialTheme import androidx....
0
Kotlin
0
3
5694b9dca530339b300e578923d8980771096f81
1,828
Compose-Pokemon-List-Details
Beerware License
library/src/main/java/renetik/android/store/extensions/CSStore+NullProperty.kt
renetik
506,380,036
false
{"Kotlin": 85653}
package renetik.android.store.extensions import renetik.android.core.lang.ArgFunc import renetik.android.event.common.CSHasDestruct import renetik.android.event.common.parent import renetik.android.store.CSStore import renetik.android.store.property.CSStoreProperty import renetik.android.store.property.listenStore imp...
0
Kotlin
0
1
8a6c01e7f91e8fcb1b4c15c5e9290fd0966ad92d
2,761
renetik-android-store
MIT License
db-objekts-core/src/test/kotlin/com/dbobjekts/metadata/SubClauseTest.kt
jaspersprengers
576,889,038
false
{"Kotlin": 1251411, "PLpgSQL": 45872, "Dockerfile": 2463}
package com.dbobjekts.metadata import com.dbobjekts.statement.SQLOptions import com.dbobjekts.statement.whereclause.SubClause import com.dbobjekts.testdb.acme.CatalogDefinition import com.dbobjekts.testdb.acme.core.Employee import com.dbobjekts.testdb.acme.hr.Hobby import org.assertj.core.api.Assertions import org.ass...
0
Kotlin
2
4
f4e92c78539909110cf0ab9da1713c20a9b4888b
650
db-objekts
Apache License 2.0
ocgena-domain/src/main/kotlin/ru/misterpotz/ocgena/simulation_v2/algorithm/simulation/StepExecutor.kt
MisterPotz
605,293,662
false
{"Kotlin": 749008, "TypeScript": 495751, "JavaScript": 36713, "CSS": 14489, "Python": 8026, "HTML": 3173, "Ruby": 285, "EJS": 274, "Java": 140}
package ru.misterpotz.ocgena.simulation_v2.algorithm.simulation import ru.misterpotz.SimulationStepLog import ru.misterpotz.ocgena.simulation_v2.algorithm.solution_search.FullSolution import ru.misterpotz.ocgena.simulation_v2.algorithm.solution_search.Shuffler import ru.misterpotz.ocgena.simulation_v2.entities.TokenWr...
0
Kotlin
0
1
32a25441882c4780ed6b964a24430ef086222b76
8,288
ocgena
MIT License
src/main/kotlin/dev/neire/mc/youdonthavetheright/datagen/BrewingRecipesProvider.kt
neirenoir
808,780,850
false
{"Kotlin": 56063, "Java": 33248}
package dev.neire.mc.youdonthavetheright.datagen import dev.neire.mc.youdonthavetheright.logic.crafter.BrewingLogic import dev.neire.mc.youdonthavetheright.mixins.crafter.PotionBrewingAccessor import dev.neire.mc.youdonthavetheright.recipebook.BrewingBookCategory import dev.neire.mc.youdonthavetheright.recipebook.Reci...
0
Kotlin
0
0
fc3744489e0a7a9aee2ade7ca7d2dcc87980c981
5,658
you-dont-have-the-right
MIT License
app/src/main/java/com/example/dropy/ui/components/commons/LoadImage.kt
dropyProd
705,360,878
false
{"Kotlin": 3916897, "Java": 20617}
package com.example.dropy.ui.components.commons import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.layout.ContentScale import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.res.painterReso...
0
Kotlin
0
0
6d994c9c61207bac28c49717b6c250656fe4ae6b
1,032
DropyLateNights
Apache License 2.0
app/src/main/java/com/moataz/mox/ui/ux/viewmodel/UXViewModel.kt
MoatazBadawy
526,809,224
false
{"Kotlin": 33050}
package com.moataz.mox.ui.ux.viewmodel import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import com.moataz.mox.data.model.ArticleResponse import com.moataz.mox.data.repository.UXRepository import com.moataz.mox.utils.status.Recourses import io.reactivex.an...
0
Kotlin
0
0
5a7f4970fd37bd91c4535e211e5694cfb9f7f0ed
1,448
MOX_Articles
Apache License 2.0
src/me/anno/gpu/buffer/StaticBuffer.kt
AntonioNoack
456,513,348
false
null
package me.anno.gpu.buffer import me.anno.gpu.GFX import me.anno.gpu.shader.Shader import me.anno.image.svg.SVGMesh import me.anno.utils.pooling.ByteBufferPool import org.lwjgl.opengl.GL31C.* open class StaticBuffer(attributes: List<Attribute>, var vertexCount: Int, usage: Int = GL_STATIC_DRAW) : Buffer(attribute...
0
Kotlin
1
9
566e183d43bff96ee3006fecf0142e6d20828857
3,546
RemsEngine
Apache License 2.0
app/src/main/java/android/thortechasia/popularmovie/utils/Ext.kt
riefist
160,018,829
false
null
package android.thortechasia.popularmovie.utils import android.content.Context import android.view.View import android.widget.ImageView import com.bumptech.glide.Glide fun ImageView.loadImage(context: Context, url: String){ Glide.with(context) .load(url) .into(this) } fun View.visible(){ visi...
0
Kotlin
2
1
6ec35276828745ba7e4857c1a586f707e780f981
390
PopularMovie
MIT License
Core/src/main/kotlin/collections/refcell/RefCell.kt
Froze-N-Milk
723,515,808
false
{"Kotlin": 102332, "Java": 43672}
package collections.refcell import datacarton.annotations.Data import datacarton.annotations.Flatten import java.util.function.Consumer import java.util.function.Supplier open class RefCell<T>(private var ref: T) : Supplier<T>, Consumer<T> { override fun get(): T { return ref } override fun accep...
0
Kotlin
2
1
2f3cfc190869e40629c43c098dc969e0260fe146
361
Dairy
BSD 3-Clause Clear License
app/src/main/java/com/martinszuc/templateapp/ui/component/menu/MenuScreen.kt
martinszuc
849,894,555
false
{"Kotlin": 75233}
package com.martinszuc.templateapp.ui.component.menu import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compos...
0
Kotlin
0
0
e29d358f30147c13e53bc0a99db4d22ae8b1ed18
3,638
template-compose-navigation
MIT License
app/src/main/java/com/example/palto/ui/menu/MenuFragment.kt
Faraphel
706,555,802
false
{"Kotlin": 37739}
package com.example.palto.ui.menu import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.os.bundleOf import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import androidx.navigation.fragment.findNavControll...
0
Kotlin
0
0
af46937c9d5e4a4b1c1045d4ac8361dc31a32aae
2,374
Palto-Client
Apache License 2.0
src/main/kotlin/ru/dronelektron/microlisp/parser/SemanticException.kt
dronelektron
215,286,625
false
null
package ru.dronelektron.microlisp.parser import ru.dronelektron.grammarparser.lrone.lexer.token.Token class SemanticException( message: String, val token: Token, cause: Throwable? = null ) : Exception(message, cause)
0
Kotlin
0
0
203172eb252263a5927aa6103b725cc804c88798
222
micro-lisp
MIT License
app/src/main/java/com/starwarscharacter/app/features/planet/domain/entity/Planets.kt
mirmahfuz99
719,903,588
false
{"Kotlin": 75841}
package com.starwarscharacter.app.features.planet.domain.entity import androidx.room.Entity import androidx.room.PrimaryKey @Entity(tableName = "planets") data class Planets( @PrimaryKey var id: String = "", var name: String?, val rotationPeriod: String?, val orbitalPeriod: String?, val diamete...
0
Kotlin
0
0
674b3e619004980e2ee8bdb99ab90242971ae328
472
StarWarsCharacter
Apache License 2.0
app/src/main/java/smk/adzikro/moviezone/ui/main/MainActivity.kt
al-qorut
683,978,951
false
{"Kotlin": 97687}
package smk.adzikro.moviezone.ui.main import android.animation.ObjectAnimator import android.content.Intent import android.net.Uri import android.os.Build import android.os.Bundle import android.view.View import android.view.ViewTreeObserver import android.view.WindowManager import androidx.activity.viewModels import ...
0
Kotlin
0
0
1057c8c290ff078d2d69a1e33317c07eea368348
4,288
MovieZone
Apache License 2.0
app/src/main/kotlin/jp/co/yumemi/android/code_check/view/activity/TopActivity.kt
yuchan2215
532,719,899
false
null
/* * Copyright © 2021 YUMEMI Inc. All rights reserved. */ package jp.co.yumemi.android.code_check.view.activity import androidx.appcompat.app.AppCompatActivity import java.util.* import jp.co.yumemi.android.code_check.R class TopActivity : AppCompatActivity(R.layout.activity_top) { companion object { /...
1
Kotlin
0
0
23820fe5a75abf4759e7973363a20ca64725be36
395
android-engineer-codecheck
Apache License 2.0
neumorph/effect/src/commonMain/kotlin/com/adwi/neumorph/neumorph/shape/MorphShape.kt
charlee-dev
463,862,958
false
{"Kotlin": 104402}
package com.adwi.neumorph.neumorph.shape import androidx.compose.ui.graphics.drawscope.ContentDrawScope import com.adwi.neumorph.neumorph.model.MorphStyle abstract class MorphShape(open val cornerShape: CornerShape) { abstract fun draw(drawScope: ContentDrawScope, style: MorphStyle) }
8
Kotlin
5
88
a645509e241778e1ea29ebb48b8bd6b46a374f58
292
neumorph-ui
The Unlicense
core/src/commonMain/kotlin/work/socialhub/kmisskey/entity/GalleryPost.kt
uakihir0
756,689,268
false
{"Kotlin": 223847, "Shell": 2146, "Makefile": 315}
package work.socialhub.kmisskey.entity import kotlinx.serialization.Serializable import work.socialhub.kmisskey.entity.user.User @Serializable open class GalleryPost { var id: String? = null var createdAt: String? = null var updatedAt: String? = null var title: String? = null var description: Str...
1
Kotlin
1
3
744f62ce20e8038edc7b80ce705c8de4fe24a379
601
kmisskey
MIT License
src/test/kotlin/org/amshove/kluent/tests/backtickassertions/ShouldBeTrueTests.kt
charles-achilefu
113,007,100
true
{"Kotlin": 374684}
package org.amshove.kluent.tests.backtickassertions import org.amshove.kluent.`should be true` import org.jetbrains.spek.api.Spek import kotlin.test.assertFails class ShouldBeTrueTests : Spek({ given("the `should be true` method") { on("passing true") { it("should pass") { true...
0
Kotlin
0
0
e15459f09557a40c1d21de1f002fc43a8e9bf9a7
517
Kluent
MIT License
src/test/kotlin/org/amshove/kluent/tests/backtickassertions/ShouldBeTrueTests.kt
charles-achilefu
113,007,100
true
{"Kotlin": 374684}
package org.amshove.kluent.tests.backtickassertions import org.amshove.kluent.`should be true` import org.jetbrains.spek.api.Spek import kotlin.test.assertFails class ShouldBeTrueTests : Spek({ given("the `should be true` method") { on("passing true") { it("should pass") { true...
0
Kotlin
0
0
e15459f09557a40c1d21de1f002fc43a8e9bf9a7
517
Kluent
MIT License
src/en/mangamo/src/eu/kanade/tachiyomi/extension/en/mangamo/dto/MangamoLoginDto.kt
komikku-app
720,497,299
false
{"Kotlin": 6775539, "JavaScript": 2160}
package eu.kanade.tachiyomi.extension.en.mangamo.dto import kotlinx.serialization.Serializable @Serializable class MangamoLoginDto( val accessToken: String, )
22
Kotlin
8
97
7fc1d11ee314376fe0daa87755a7590a03bc11c0
165
komikku-extensions
Apache License 2.0
services/csm.cloud.project.notifications/src/main/kotlin/com/bosch/pt/csm/cloud/projectmanagement/company/facade/listener/strategies/state/UpdateStateFromEmployeeEvent.kt
boschglobal
805,348,245
false
{"Kotlin": 13156190, "HTML": 274761, "Go": 184388, "HCL": 158560, "Shell": 117666, "Java": 52634, "Python": 51306, "Dockerfile": 10348, "Vim Snippet": 3969, "CSS": 344}
/* * ************************************************************************* * * Copyright:       Robert Bosch Power Tools GmbH, 2019 * * ************************************************************************* */ package com.bosch.pt.csm.cloud.projectmanagement.company.facade.listener.strategies.state impor...
0
Kotlin
3
9
9f3e7c4b53821bdfc876531727e21961d2a4513d
2,030
bosch-pt-refinemysite-backend
Apache License 2.0
yandex-mapkit-kmp/src/commonMain/kotlin/ru/sulgik/mapkit/MapKit.kt
SuLG-ik
813,953,018
false
{"Kotlin": 210084}
package ru.sulgik.mapkit import ru.sulgik.mapkit.location.LocationManager import ru.sulgik.mapkit.map.MapWindow import ru.sulgik.mapkit.user_location.UserLocationLayer import ru.sulgik.runtime.sensors.LocationActivityType expect class MapKit { /** * Returns the version of the MapKit bundle. */ val ...
1
Kotlin
1
10
c7923c349864cbb38d90fff888d455a96524cbfb
1,596
yandex-mapkit-kmp
Apache License 2.0
src/test/kotlin/no/skatteetaten/aurora/sprocket/service/ImageChangeEventServiceTest.kt
Skatteetaten
179,026,051
false
null
package no.skatteetaten.aurora.sprocket.service import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isNull import no.skatteetaten.aurora.sprocket.jsonMapper import no.skatteetaten.aurora.sprocket.utils.ResourceLoader import org.junit.jupiter.api.Test class ImageChangeEventServiceTe...
0
Kotlin
0
1
a733671a90585acd47c003cfcd4e81d371855d3a
1,849
sprocket
Apache License 2.0
src/test/kotlin/uk/gov/justice/digital/hmpps/oauth2server/integration/ClientConfigSpecification.kt
uk-gov-mirror
356,783,105
true
{"Kotlin": 1669768, "HTML": 158306, "CSS": 9895, "Shell": 8311, "Mustache": 7004, "PLSQL": 6379, "TSQL": 1100, "Dockerfile": 1015, "Groovy": 780, "JavaScript": 439}
package uk.gov.justice.digital.hmpps.oauth2server.integration import org.assertj.core.api.Assertions.assertThat import org.fluentlenium.core.annotation.Page import org.fluentlenium.core.annotation.PageUrl import org.fluentlenium.core.domain.FluentList import org.fluentlenium.core.domain.FluentWebElement import org.jun...
0
Kotlin
0
0
f5a2a2f4eecc76459e206e7c84fde15d2c781758
18,419
ministryofjustice.hmpps-auth
MIT License
app/src/main/java/com/example/android/politicalpreparedness/election/VoterInfoViewModel.kt
sindyoke
731,385,322
false
{"Kotlin": 50620}
package com.example.android.politicalpreparedness.election import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope import com.example.android.politicalpreparedness.Repository import com.example.android.politicalpreparedne...
0
Kotlin
0
0
c6a9790c9d8e414f4743d4c62ee22818a9f81e7a
3,602
PoliticalPreparedness
Apache License 2.0
app/src/main/java/com/example/wishlist/MainActivity.kt
IwattsX
853,517,715
false
{"Kotlin": 5884}
package com.example.wishlist import android.os.Bundle import android.widget.Button import android.widget.EditText import android.widget.Toast import androidx.activity.enableEdgeToEdge import androidx.appcompat.app.AppCompatActivity import androidx.core.view.ViewCompat import androidx.core.view.WindowInsetsCompat impor...
0
Kotlin
0
0
559aaa96db853448788ab199a221a93f298ff679
2,649
wishlist_android
Apache License 2.0
BasicToCompose/app/src/androidTest/java/com/example/android/basictocompose/MyComposeFragmentTest.kt
daijinload
506,486,888
false
{"Kotlin": 32821}
package com.example.android.basictocompose import android.graphics.Bitmap import android.os.Environment import android.util.Log import androidx.compose.ui.graphics.asAndroidBitmap import androidx.compose.ui.test.captureToImage import androidx.compose.ui.test.junit4.createComposeRule import androidx.compose.ui.test.onR...
0
Kotlin
0
0
27332f540842104450f270b91d3c80a8a12470e9
1,846
android-naitive
MIT License
shared/src/commonMain/kotlin/ui/ScrollableDigitField.kt
alexmaryin
419,989,861
false
{"Kotlin": 169549}
package ui import androidx.compose.animation.* import androidx.compose.foundation.clickable import androidx.compose.foundation.focusable import androidx.compose.foundation.gestures.Orientation import androidx.compose.foundation.gestures.rememberScrollableState import androidx.compose.foundation.gestures.scrollable imp...
2
Kotlin
1
5
8a2fe1ee7b5d4b6dc4af0973a24c189b3fd4e8c2
4,306
sims_checklist
Apache License 2.0
modules/jogl/kotlin/com/huskerdev/openglfx/jogl/events/JOGLRenderEvent.kt
husker-dev
393,363,130
false
null
package com.huskerdev.openglfx.jogl.events import com.huskerdev.openglfx.canvas.events.GLRenderEvent import com.jogamp.opengl.GL3 import javafx.beans.NamedArg import javafx.event.EventType class JOGLRenderEvent( override val gl: GL3, @NamedArg("eventType") eventType: EventType<GLRenderEvent>, fps: Int, ...
7
null
7
84
ac22d5435915f16fa731b9e3564533c2507f2dc0
453
openglfx
Apache License 2.0
app/src/main/java/com/example/mymovie/presentation/components/Loading.kt
didikk
829,815,819
false
{"Kotlin": 86255}
package com.example.mymovie.presentation.components import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.padding import androidx.compose.material3.CircularProgressIndicator import androidx.compose.runtime.Composable import androi...
0
Kotlin
0
0
a7a72e500525fb73e6ad19e192913fa333eb143a
660
compose-movie-app
MIT License
app/src/main/java/com/shicheeng/copymanga/fm/view/PersonalFragment.kt
shizheng233
475,870,275
false
null
package com.shicheeng.copymanga.fm.view import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.core.graphics.Insets import androidx.core.view.updatePadding import androidx.fragment.app.viewModels import androidx.lifecycle.lifecycleScope import...
5
Kotlin
0
58
0ac29592bde2b108b4da2f189db9f7b81f542b4b
2,578
CopyMangaJava
MIT License
HelperCheckDate/src/main/kotlin/com/checkdate/helper/automatichelper/logger/LoggerUtil.kt
hhvvkk
488,906,137
false
null
import org.slf4j.Logger import org.slf4j.LoggerFactory import kotlin.properties.ReadOnlyProperty import kotlin.reflect.KProperty import kotlin.reflect.full.companionObject fun getLogger(forClass: Class<*>): Logger = LoggerFactory.getLogger(forClass) fun <T : Any> getClassForLogging(javaClass: Class<T>): Class<*> { ...
0
Kotlin
0
0
48ad7753ba8a58d69a5e16c5031260ae47d6210e
628
ToolsAndUtilities
MIT License
arrow-libs/core/arrow-core/src/jvmTest/kotlin/examples/example-either-27.kt
lukaszkalnik
427,116,886
true
{"Kotlin": 1928099, "SCSS": 99659, "JavaScript": 83153, "HTML": 25306, "Java": 7691, "Ruby": 917, "Shell": 98}
// This file was automatically generated from Either.kt by Knit tool. Do not edit. package arrow.core.examples.exampleEither27 import arrow.core.Either.Right import arrow.core.leftIfNull fun main() { val value = //sampleStart Right(12).leftIfNull({ -1 }) //sampleEnd println(value) }
0
Kotlin
0
1
73fa3847df1f04e634a02bba527917389b59d7df
298
arrow
Apache License 2.0
src/main/kotlin/endredeak/aoc2022/Day04.kt
edeak
571,891,076
false
{"Kotlin": 44975}
package endredeak.aoc2022 fun main() { solve("Camp Cleanup") { infix fun Pair<Int, Int>.fullyContains(other: Pair<Int, Int>) = (this.first <= other.first && other.second <= this.second) || other.first <= this.first && this.second <= other.second infix fun Pair<Int, ...
0
Kotlin
0
0
e0b95e35c98b15d2b479b28f8548d8c8ac457e3a
816
AdventOfCode2022
Do What The F*ck You Want To Public License
app/src/main/java/com/jorgedguezm/elections/presentation/common/Constants.kt
Narsuf
52,900,182
false
null
package com.jorgedguezm.elections.presentation.common object Constants { const val KEY_ELECTION = "election" const val KEY_CONGRESS_ELECTION = "congress.election" const val KEY_SENATE_ELECTION = "senate.election" const val KEY_CONGRESS = "Congreso" const val KEY_SENATE = "Senado" }
0
Kotlin
0
1
4373973217dc8a5f75cc07bf5a48fd781e4820fc
305
Elections
Apache License 2.0
sampleapp/src/main/java/com/kirkbushman/sampleapp/models/TicketModel.kt
KirkBushman
200,888,940
false
null
package com.kirkbushman.sampleapp.models import android.view.View import android.widget.Button import android.widget.LinearLayout import android.widget.TextView import com.airbnb.epoxy.EpoxyAttribute import com.airbnb.epoxy.EpoxyModelClass import com.airbnb.epoxy.EpoxyModelWithHolder import com.kirkbushman.sampleapp.R...
2
Kotlin
5
34
92e27d4e920083da95dfaadae3963a2f211c392b
2,328
zammad-android
MIT License
thelema-studio/src/commonMain/kotlin/app/thelema/studio/tool/NameDialog.kt
zeganstyl
275,550,896
false
null
package app.thelema.studio import app.thelema.input.KEY import app.thelema.ui.* class NameWindow: Window("Name") { val nameText = TextField().apply { hintText = "Name..." } var nameSetter: (name: String) -> Unit = {} val acceptButton = TextButton("Accept") { onClick { app...
3
Kotlin
5
61
8e2943b6d2de3376ce338025b58ff31c14097caf
1,177
thelema-engine
Apache License 2.0
app/src/main/java/com/elhady/movies/core/domain/usecase/tvdetails/GetTvShowsByPersonUseCase.kt
islamelhady
301,591,032
false
{"Kotlin": 584524}
package com.elhady.movies.core.domain.usecase.tvdetails import com.elhady.movies.core.domain.entities.TvShowEntity import com.elhady.movies.core.domain.repository.MovieRepository import javax.inject.Inject class GetTvShowsByPersonUseCase @Inject constructor( private val movieRepository: MovieRepository, ) { s...
1
Kotlin
0
0
d9b6c3f241b5de6c334fa2dcc9f2653de3c04762
450
movie-night-v2
Apache License 2.0
src/main/kotlin/com/freshtuna/tunarest/util/queryBuilder/QueryBuilder.kt
FRESH-TUNA
704,869,969
false
{"Kotlin": 13897}
package com.freshtuna.tunarest.util.queryBuilder import com.freshtuna.tunarest.domain.Variables class QueryBuilder private constructor() { companion object { fun builder(): QueryBuilder { return QueryBuilder() } } private var variables = Variables() fun addQuery(name: Str...
0
Kotlin
0
0
c464fc8951825aed32755deb8a0becdad8b1a76a
766
restool
MIT License
generateKeyboard.kt
zeitlinger
615,489,554
false
{"Kotlin": 18243, "C": 176}
import org.hjson.JsonValue import java.io.File import java.io.FileReader fun main() { val config = File("/home/gregor/source/keyboard/README.md") val layoutTemplate = File("/home/gregor/source/keyboard/layout.h") val comboFile = File("/home/gregor/source/mini-ryoku/qmk/combos.def") val layoutFile = Fi...
0
Kotlin
0
1
f8f6968bb4689eedbee9953e6e2070b174cc4daf
11,901
keyboard
MIT License
src/main/java/space/gtimpact/virtual_world/addon/visual_prospecting/cache/CacheModels.kt
GT-IMPACT
600,141,768
false
{"Kotlin": 151783, "Java": 3883}
package space.gtimpact.virtual_world.addon.visual_prospecting.cache import space.gtimpact.virtual_world.api.VirtualOreVein data class CacheOreVeinList( val layer: Int, //byte (0..1) val veins: List<CacheOreVein> ) data class CacheOreVein( val veinId: Int, //short val x: Int, val z: Int, val c...
0
Kotlin
0
0
fe0e517c6ab87b6dacfe8b744e45978b09863df9
530
VirtualWorld
MIT License
app/src/main/java/com/ojhdtapp/action/logic/dao/ActionDao.kt
ojhdt
425,239,290
false
{"Kotlin": 414237}
package com.ojhdtapp.action.logic.dao import android.hardware.lights.LightState import androidx.lifecycle.LiveData import androidx.room.* import com.ojhdtapp.action.logic.model.Action @Dao interface ActionDao { @Insert fun insertAction(action: Action): Long @Delete fun deleteAction(action: Action) ...
0
Kotlin
1
1
4fad043c6e30bf3392f5a7df75c02515db9f712d
2,021
Action
MIT License
bz/bz_xc/src/main/java/com/atmk/xc/XCApplication.kt
YangJian007
527,470,200
false
{"Kotlin": 650668, "Java": 293068}
package com.atmk.xc import com.atmk.base.BzBaseModuleInit import com.hjq.base.application.ApplicationProvider import com.hjq.base.application.ModuleInitDelegate /** * @author 杨剑 * @fileName * @date 2022-08-24 * @describe * @changeUser * @changTime */ class XCApplication : ApplicationProvider() { init { ...
1
Kotlin
3
8
19e65fd5d22ebc1f5faded3d182fad25c9aa8627
382
AtmkArch
Apache License 2.0
modules/model/model/src/main/java/com/project/model/Sponsorship.kt
dev-darck
499,210,154
false
null
package com.project.model import com.google.gson.annotations.SerializedName data class Sponsorship( @SerializedName("impression_urls") val impressionUrls: List<String>, @SerializedName("sponsor") val sponsor: Sponsor, @SerializedName("tagline") val tagline: String, @SerializedName("taglin...
1
Kotlin
0
0
d6b0e8f79a8b229f7cec3907547bd05b01af606d
356
PicPicker
Apache License 2.0
Application-Challenge/项目11-160215-HandyInstruction/AndroidApp/app/src/main/java/com/qingkouwei/handyinstruction/av/ui/widget/MixedCallVideoLayout.kt
qingkouwei
520,060,307
false
{"Markdown": 4, "Git Attributes": 1, "Text": 2, "Ignore List": 5, "XML": 260, "Java Properties": 2, "Gradle": 3, "Shell": 1, "Batchfile": 1, "Proguard": 1, "Java": 299, "Kotlin": 11, "Makefile": 2, "JSON": 1}
package com.qingkouwei.handyinstruction.av.ui.widget import android.app.Activity import android.graphics.Bitmap import android.opengl.GLSurfaceView import android.os.Handler import android.util.AttributeSet import android.util.Log import android.view.SurfaceView import android.view.View import android.widget.FrameLayo...
1
null
1
1
e2d691e137999a2b2f5d3ceaab409b76d8431266
19,104
RTE-2022-Innovation-Challenge
MIT License
library/src/main/java/com/herry/libs/nodeview/model/NodePosition.kt
HerryPark
273,154,769
false
{"Kotlin": 1362527, "Java": 602}
package com.herry.libs.nodeview.model @Suppress("unused") class NodePosition(internal val positions: IntArray) { companion object { const val NO_POSITION = -1 /** * Creates the NodePosition with relative position */ internal fun compose(position: Int, relative: NodePosit...
0
Kotlin
0
0
a0fdf428ef056565aa829597ee02d3c4a26608c9
1,598
HerryApiDemo
Apache License 2.0
src/main/kotlin/com/financesbox/usermgmt/app/user/query/getuser/model/UserQueryModel.kt
FinancesBox
839,818,989
false
{"Kotlin": 76010, "Dockerfile": 247}
package com.financesbox.usermgmt.app.user.query.getuser.model import com.financesbox.shared.application.cqs.query.QueryModel import io.micronaut.serde.annotation.Serdeable import java.time.Instant import java.util.* @Serdeable class UserQueryModel( val id: UUID, val name: String, val email: String, val roles: Lis...
0
Kotlin
0
0
9496b4dabb13b163a161d7e0843649f592f7a4ad
371
core-api
MIT License
straight/src/commonMain/kotlin/me/localx/icons/straight/filled/SiteAlt.kt
localhostov
808,861,591
false
{"Kotlin": 79430321, "HTML": 331, "CSS": 102}
package me.localx.icons.straight.filled import androidx.compose.ui.graphics.Color import androidx.compose.ui.graphics.PathFillType.Companion.NonZero import androidx.compose.ui.graphics.SolidColor import androidx.compose.ui.graphics.StrokeCap.Companion.Butt import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter...
1
Kotlin
0
5
cbd8b510fca0e5e40e95498834f23ec73cc8f245
4,618
icons
MIT License
rumascot-api-v2-kmp/src/commonMain/kotlin/requests/UpdateRequestStrategy.kt
mathemator
586,045,497
false
null
package ru.otus.otuskotlin.marketplace.api.v2.requests import kotlinx.serialization.KSerializer import ru.otus.otuskotlin.marketplace.api.v2.models.AdUpdateRequest import ru.otus.otuskotlin.marketplace.api.v2.models.IRequest import kotlin.reflect.KClass object UpdateRequestStrategy: IRequestStrategy { override va...
2
Kotlin
0
0
633640f3c74b3d5a352052bbce9fd6358881953a
716
goppeav-kotlin-2022-12
Apache License 2.0
src/test/kotlin/multiple/SetTest.kt
sya-ri
557,209,174
false
{"Kotlin": 206299}
package multiple import dev.s7a.ktconfig.ktConfigString import dev.s7a.ktconfig.saveKtConfigString import io.kotest.core.spec.style.FunSpec import io.kotest.datatest.withData import io.kotest.matchers.shouldBe import java.math.BigDecimal import java.math.BigInteger import java.util.Calendar import java.util.Date impor...
5
Kotlin
1
10
47066550bec14392147d10c179b298f5c181d906
17,846
ktConfig
MIT License
ok/src/main/kotlin/com/github/jmfayard/okandroid/MainActivity.kt
jmfayard
113,597,045
false
null
package com.github.jmfayard.okandroid import android.app.Activity import android.content.Intent import android.os.Bundle import android.util.Log import android.view.MenuItem import android.widget.Toast import androidx.appcompat.app.AppCompatActivity import com.github.jmfayard.screens.HomeScreen import com.github.jmfay...
0
Kotlin
0
0
7d0e82038e457dc015bb31a77fa16787f6368166
3,734
okAndroid
The Unlicense
app/src/test/java/com/hivian/compose_mvvm/presentation/HomeViewModelTest.kt
hivian
558,800,190
false
null
package com.hivian.compose_mvvm.presentation import com.hivian.compose_mvvm.InstantExecutorExtension import com.hivian.compose_mvvm.MainCoroutineExtension import com.hivian.compose_mvvm.core.base.ViewModelVisualState import com.hivian.compose_mvvm.core.data.ServiceResult import com.hivian.compose_mvvm.core.data.networ...
0
Kotlin
0
0
5ca1bced1ce4c766f8b85f672cb0a8e324b17d81
7,464
Android-Compose-MVVM
MIT License
core-mvi/src/main/java/ru/surfstudio/android/core/mvi/ui/middleware/RxMiddleware.kt
eltray
200,101,552
true
{"Kotlin": 1787549, "Java": 826942, "FreeMarker": 54338, "Groovy": 8823, "C++": 1542, "CMake": 285}
package ru.surfstudio.android.core.mvi.ui.middleware import io.reactivex.Observable import ru.surfstudio.android.core.mvi.event.Event import ru.surfstudio.android.core.mvi.event.LoadableEvent import ru.surfstudio.android.core.mvi.ui.relation.StateEmitter import ru.surfstudio.android.core.mvp.binding.rx.loadable.type.m...
0
Kotlin
0
0
69d435621d90954102af7424b4b309213d9bc95d
1,132
SurfAndroidStandard
Apache License 2.0
ledger/src/main/kotlin/org/knowledger/ledger/serial/internal/HashEncodeForDisplay.kt
fakecoinbase
282,563,487
false
null
package org.knowledger.ledger.serial.internal import kotlinx.serialization.CompositeDecoder import kotlinx.serialization.CompositeEncoder import kotlinx.serialization.SerialDescriptor import org.knowledger.ledger.crypto.Hash import org.knowledger.ledger.serial.display.HashDisplaySerializer internal interface HashEnco...
0
Kotlin
0
0
8bc64987e1ab4d26663064da06393de6befc30ae
764
SeriyinslashKnowLedger
MIT License
src/DcircleChainP-Node/foundation/src/main/java/com/base/foundation/db/DIDArticleStat.kt
wanxiang-blockchain
683,936,032
false
{"Kotlin": 564771, "Java": 393645, "TypeScript": 313064, "Go": 182715, "SCSS": 72564, "CSS": 6411, "Solidity": 4012, "JavaScript": 2433, "HTML": 2352}
package com.base.foundation.db import com.base.foundation.getUs import com.base.foundation.nc.NcEvent import com.blankj.utilcode.util.LogUtils import com.github.xpwu.ktdbtable.eq import com.github.xpwu.ktdbtable.invoke import com.github.xpwu.ktdbtable.where.and import com.github.xpwu.ktdbtble.annotation.* import com.g...
0
Kotlin
8
29
d3a91f9fb7b0a5b29806bcd2968e4dc8d894581b
8,335
2023WXH-DcircleChain
MIT License
src/jvmMain/kotlin/com/sdercolin/vlabeler/ui/editor/labeler/CanvasParams.kt
sdercolin
503,365,242
false
null
package com.sdercolin.vlabeler.ui.editor.labeler import androidx.compose.runtime.Immutable import androidx.compose.runtime.Stable import androidx.compose.ui.unit.Density import com.sdercolin.vlabeler.model.AppConf @Stable data class CanvasParams( val dataLength: Int, val resolution: Int, val density: Dens...
2
Kotlin
12
85
4941e4ffce9d1d398f7f6baa3a392476244e7f88
884
vlabeler
Apache License 2.0