Skip to content

Instantly share code, notes, and snippets.

View mastahnish's full-sized avatar
🏠
Working from home

Jacek Ryś mastahnish

🏠
Working from home
View GitHub Profile
def getCoByTuVersionCode() {
def minutes = System.currentTimeSeconds() / 60 - 24682868
def code = (int) minutes
System.out.println("versionCode: " + code)
return code
}
{
"definitions": {},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://example.com/root.json",
"type": "object",
"title": "The Root Schema",
"required": [
"isOpen",
"order_time_start",
"order_time_finish",
<android.support.v4.widget.DrawerLayout
android:id="@+id/activity_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<android.support.design.widget.CoordinatorLayout
android:id="@+id/cl_root_coordinator"
android:layout_width="match_parent"