Skip to content

Instantly share code, notes, and snippets.

View mkf-simpson's full-sized avatar

Konstantin Makarychev mkf-simpson

View GitHub Profile
Privacy Policy of Provectus
Provectus operates the http://awsdevday.moscow.provectus.com/ website, which provides the SERVICE.
This page is used to inform website visitors regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our Service, the AWS DevDay Moscow website.
If you choose to use our Service, then you agree to the collection and use of information in relation with this policy. The Personal Information that we collect are used for providing and improving the Service. We will not use or share your information with anyone except as described in this Privacy Policy.
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at http://awsdevday.moscow.provectus.com/, unless otherwise defined in this Privacy Policy. Our Privacy Policy was created with the help of the Privacy Policy Template.
Information Collection and Use
<h1>Privacy Policy of Provectus </h1>
<p>Provectus operates the http://awsdevday.moscow.provectus.com/ website, which provides the SERVICE.</p>
<p>This page is used to inform website visitors regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our Service, the AWS DevDay Moscow website.</p>
<p>If you choose to use our Service, then you agree to the collection and use of information in relation with this policy. The Personal Information that we collect are used for providing and improving the Service. We will not use or share your information with anyone except as described in this Privacy Policy.</p>
<p>The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at http://awsdevday.moscow.provectus.com/, unless otherwise defined in this Privacy Policy. Our Privacy Policy was created with the help of the <a href="https://www.privacypolicytemplate.net">Privacy Policy Template</a>.</p>
@mkf-simpson
mkf-simpson / Main.scala
Created February 13, 2019 21:02
Finch with Circe
package finchtest
import cats.effect._
import cats.implicits._
import com.twitter.finagle.Http
import com.twitter.util
import io.circe._
import io.circe.generic.extras.{Configuration => CirceExtraConfiguration}
import io.circe.generic.extras.auto._
import io.finch._
@mkf-simpson
mkf-simpson / Main.scala
Created February 13, 2019 13:19
Finch with FS2
package finchtest
import cats.effect._
import cats.implicits._
import com.twitter.finagle.Http
import com.twitter.util
import fs2.Stream
import io.finch._
import io.finch.fs2._
function tryFinally() {
"use strict";
for (let i = 0; i < 5; i++) {
try {
return i;
} finally {
if (i !== 3) {
continue;
}
}
# Генерирует следующую строку последовательности
def sequence(str)
i = 0
count = 1
start = 0
str2=''
while i < str.length
if str[i+1] == str[start]
i = i + 1
count = count + 1
@mkf-simpson
mkf-simpson / uncommitable-hook.sh
Created February 20, 2015 12:39
pre-commit hook to prevent commit when there is a comment «UNCOMMITABLE»
#!/usr/bin/env bash
declare -i ERRORS=0
if git rev-parse --verify HEAD > /dev/null 2>&1
then
AGAINST=HEAD
else
AGAINST=4b825dc642cb6eb9a060e54bf8d69288fbee4904
fi
class BaseCollection extends Backbone.Collection
parse: (response, options) ->
if options.xhr.status is 304
return @models
response
childViewOptions: (model) ->
selected: model.get('id') in @model.get('sport_ids')
@mkf-simpson
mkf-simpson / gist:6abdd838bb0177614dc5
Created June 30, 2014 11:12
task number from branch name
#!/usr/bin/env bash
branch=$(git symbolic-ref --short HEAD)
branch_description=$(echo $branch | cut -f2 -d/)
prefix=$(echo $branch_description | cut -f1 -d-)
number=$(echo $branch_description | cut -f2 -d-)
git commit -am "$prefix-$number $1"