I hereby claim:
- I am es0329 on github.
- I am es0329 (https://keybase.io/es0329) on keybase.
- I have a public key whose fingerprint is 6912 2CF9 122D 28CC BEE6 A8CA C219 35C8 F2B5 67DB
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # | |
| # Build configuration for Circle CI | |
| # | |
| general: | |
| artifacts: | |
| - /home/ubuntu/Fool-Android/app/build/outputs/apk/ | |
| machine: | |
| environment: |
| public final class League { | |
| public final String franchise_id; | |
| public final String url; | |
| public final String name; | |
| public final String franchise_name; | |
| public League(String franchise_id, String url, String name, String franchise_name) { | |
| this.franchise_id = franchise_id; | |
| this.url = url; | |
| this.name = name; |
| package com.es0329.sqlite; | |
| import ckm.simple.sql_provider.UpgradeScript; | |
| import ckm.simple.sql_provider.annotation.ProviderConfig; | |
| import ckm.simple.sql_provider.annotation.SimpleSQLConfig; | |
| import com.es0329.sqlite.R; | |
| @SimpleSQLConfig( | |
| name = "FooProvider", | |
| authority = "com.es0329.sqlite.AUTHORITY", |
I hereby claim:
To claim this, I am signing this object:
| // plugin requirements | |
| buildscript { | |
| repositories { | |
| mavenCentral() | |
| maven { url "https://dl.bintray.com/jetbrains/kotlin-native-dependencies" } | |
| } | |
| dependencies { | |
| classpath "org.jetbrains.kotlin:kotlin-native-gradle-plugin:0.6" | |
| } | |
| } |
| import android.util.Base64 | |
| import java.security.MessageDigest | |
| fun computeHash(input: String, algorithm: String = "SHA-256"): String { | |
| // https://developer.android.com/reference/java/security/MessageDigest | |
| val messageDigest = MessageDigest.getInstance(algorithm).apply { | |
| update(input.toByteArray()) | |
| } | |
| return Base64.encodeToString(messageDigest.digest(), Base64.DEFAULT) |
| task fatJar(type: Jar) { | |
| manifest { | |
| attributes 'Implementation-Title': 'Gradle Fat Jar', | |
| 'Implementation-Version': version, | |
| 'Main-Class': 'io.ktor.server.netty.EngineMain' | |
| } | |
| baseName = project.name + '-all' | |
| from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } | |
| with jar | |
| } |
| { | |
| "data": { | |
| "id": "42", | |
| "type": "workflow/role-offers", | |
| "attributes": { | |
| "current": true, | |
| "side": "buy", | |
| "state": "open", | |
| "system-terms-accepted-at": null, | |
| "transactions": { |
| public abstract class EndlessRecyclerViewScrollListener extends RecyclerView.OnScrollListener { | |
| // The minimum amount of items to have below your current scroll position | |
| // before loading more. | |
| private int visibleThreshold = 5; | |
| // The current offset index of data you have loaded | |
| private int currentPage = 0; | |
| // The total number of items in the dataset after the last load | |
| private int previousTotalItemCount = 0; |