Skip to content

Instantly share code, notes, and snippets.

View Scorpio93's full-sized avatar
πŸŠβ€β™‚οΈ
Focusing

Evgeny Prytula Scorpio93

πŸŠβ€β™‚οΈ
Focusing
View GitHub Profile
@Scorpio93
Scorpio93 / kupon-privacy-policy.md
Last active September 11, 2026 00:13
Kupon β€” Privacy Policy

Privacy Policy

This privacy policy applies to the Kupon app for mobile devices (Google Play package ua.kupon.app), together with any related services operated by the developer of Kupon (collectively, the "Application"). The developer of Kupon is hereby referred to as the "Service Provider".

What information does the Application obtain and how is it used?

The Application does not collect, log, or store any personal information on the Service Provider's side when you download and use it. Registration is not required, and the Application contains no advertising, analytics, or tracking.

The portfolio positions you enter (bond ISIN, quantity, price, and purchase date) are stored only in the Application's private storage on your device. They are never sent to the Service Provider or to anyone else.

@Scorpio93
Scorpio93 / description.md
Last active November 29, 2019 13:48
Markdown generator

I think first of all need to explain about some functions as markdown(init: MARKDOWN.() -> Unit), h1(init: HEADER.() -> Unit), h2(init: HEADER.() -> Unit) etc. All of them called high-ordered functions because they operate with other functions in any way as that possible, in this case, i passed anonymous function(also known as lambdas) into each of them. Also, we should remember about type args limitation in these functions, for example, we can't use BOLD() type without P() wrapper. MARKDOWN, HEADER, BOLD and other classes are support classes, which means they are not used explicitly and that why they have uppercase names. Each of them should call lambdas after initialization, that why we need doInit(child: T, init: T.() -> Unit) function which does that. Another important thing that we need to know about operator overloading which gives us the ability to call +"Some string ", but underhood it just means call extension functions String.unaryPlus() and adding the processed string to the collectio