Skip to content

Instantly share code, notes, and snippets.

View s0nerik's full-sized avatar
🎯
Building stuff

Sasha Isaienko s0nerik

🎯
Building stuff
View GitHub Profile
@s0nerik
s0nerik / app.gradle.kts
Last active May 16, 2023 14:46
Android multi-module Gradle setup example
plugins {
id("com.android.application")
}
android {
defaultConfig {
applicationId = "com.example.task"
versionCode = 1
versionName = "1.0"
}
public struct AnyCodable {
let value: Any
public init(_ value: Any) {
self.value = value
}
}
extension AnyCodable: Codable {
public init(from decoder: Decoder) throws {
@s0nerik
s0nerik / designer.html
Created October 13, 2015 17:48
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../core-pages/core-pages.html">
<polymer-element name="my-element">
def string1 = """\
001001
000101
000101
"""
def string2 = """\
10
01
01