Skip to content

Instantly share code, notes, and snippets.

View alesker's full-sized avatar
:shipit:
Every day I worry all day

Ilya Alesker alesker

:shipit:
Every day I worry all day
View GitHub Profile
@alesker
alesker / PULL_REQUEST_TEMPLATE.md
Last active July 3, 2017 14:00
PULL_REQUEST_TEMPLATE

Feature 📦

Issue ‼️

Goals ⚽

@alesker
alesker / ff.sh
Last active August 24, 2018 11:08
Feature flags check
git diff $(git rev-list -n1 --before="3 weeks ago" master) Pipedrive/Classes/Modules/Feature\ Configuration/RemoteConfigurations.swift
@alesker
alesker / zopa.swift
Created January 17, 2019 13:33
zopa.swift
typealias Zopa = (zo: Int, pa: Int)
func zopa(a: Int, completion: (Zopa) -> Void) {
let zopa = (a, a * a)
completion(zopa)
}
zopa(a: 9001) { _ in
print("dratuti")
// simpleFeature
/*
Let's say we have an app that works by fetching data from network and allows storing that data for offline use.
Implement a simple feature that fetches, stores and presents a list of contacts and with an ability to select a single contact and view its details.
APIs:
struct Contact {
let id: String
@alesker
alesker / gitstats.py
Last active September 4, 2023 07:46
Python (Python 3) script to count contributions based on git-blame
#!/usr/bin/env python
import subprocess
import re
import operator
import sys
import os.path
path = '.'
if (len(sys.argv) > 1):