Skip to content

Instantly share code, notes, and snippets.

View korsander's full-sized avatar

Grigory Bondarenko korsander

View GitHub Profile
@korsander
korsander / intl_en.arb
Created November 19, 2021 17:47
translation
{
"@@locale": "en",
"auth_confirm_error": "Confirmation code required",
"auth_confirm_subtitle": "We have sent a confirmation code to the number",
"auth_confirm_code_label": "Confirmation code",
"auth_confirm_code_error": "Incorrect code",
"auth_confirm_code_hint": "Enter your code",
"auth_confirm_code_repeat": "Get new code",
"auth_button": "Login",
"auth_subtitle": "To start using the application. Please log in",
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDL/xe+6rq+i87HRS/j6DLqXV63Ps0fthAv1DCA5WpL3Pqx0oFxs+tPvRJXJxIgJIuhdt5lvOjUcOd/qlYKWuvB/HtO+qfV6pXT5wMkJTOY5ycz8DhDz7eR5ll8QNo9L37kwE+9gCNu62PPmME//nymsOa4KwStavt7wW4WcgMONTZXk/EhPtHLFeAk8DW1Wf9cFWrY8SOYCSuffGjrGPByDR7U6LfYYA9seLwY7s6jTVIPrFE29m3LjgBuyQEETA91Tljr+GeXvUBg8rIfAOzSTSIst5irjbFQRDPgdugiTgD2nB2TDwDuMN3ppiu2Ydx1l/H+V6ms11kg1hgL1VWNduOT4QrRnaIEf3cUaoUKvUlxO35F2ePwj/DIHBUUFuOe6uFTl74O9Tz2XYhZMI4/2Wgf6sQOhglszDZETTPboPVK0D4KGUpk5EnW2mR1Qze7+qA7ziYjvrgiXG7bfgR02siI88SjnzyHGBVoeSlKt2LSefqDeQAvvQvYpE1lp4Keoy2s1peySQo1stW2Y8sWJ6Ade6DTf1M2VdWay6PULpIo7yo2/pdpHvxGHVDkI7YjZYbz1VthlLVoqDjCHC7EmKZtxMh9pYzSrwpH0fvT4WZdLes04ihGmll/OfmkvDq9mHYdUH70EkpzJsbcyxqU6NiRgjIec7PRUUm+R9Rw5w== korsander@gmail.com
@korsander
korsander / colors.go
Last active January 28, 2020 08:27
colors validation
package main
import (
"strings"
)
var validColors = []string{"red", "black", "white"}
func ValidateColor(color string) bool {
@korsander
korsander / gist:4510b79c01894ad42c8d91093c520e75
Created March 25, 2019 14:43 — forked from nekdenis/gist:60a160a5a3503f0dbdd1a0a429aa8794
TeamCity script git changes. Script that loads commit messages of last changes
#!/bin/bash
# Where the changelog file will be created
outputFile='%system.teamcity.build.tempDir%/releasenotesfile_%teamcity.build.id%.txt'
# the url of teamcity server
teamcityUrl='%teamcity.serverUrl%'
# username to access Teamcity REST API
username='%system.teamcity.auth.userId%'
# password to access Teamcity REST API
password='%system.teamcity.auth.password%'
@korsander
korsander / HierarchyTreeChangeListener.java
Created September 9, 2016 08:55 — forked from JakeWharton/HierarchyTreeChangeListener.java
A hierarchy change listener which recursively monitors and entire tree of views. Apache 2.
import android.view.View;
import android.view.ViewGroup;
/**
* A {@link ViewGroup.OnHierarchyChangeListener hierarchy change listener} which recursively
* monitors an entire tree of views.
*/
public final class HierarchyTreeChangeListener implements ViewGroup.OnHierarchyChangeListener {
/**
* Wrap a regular {@link ViewGroup.OnHierarchyChangeListener hierarchy change listener} with one