This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git diff $(git rev-list -n1 --before="3 weeks ago" master) Pipedrive/Classes/Modules/Feature\ Configuration/RemoteConfigurations.swift |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import subprocess | |
import re | |
import operator | |
import sys | |
import os.path | |
path = '.' | |
if (len(sys.argv) > 1): |