Skip to content

Instantly share code, notes, and snippets.

View derpoliuk's full-sized avatar
🇺🇦
Слава Україні!

Stanislav Derpoliuk derpoliuk

🇺🇦
Слава Україні!
View GitHub Profile
import Foundation
struct DataError: Error {
let message = "DataError"
}
func formatData(_ data: Data) throws -> Data {
if Bool.random() {
return data
} else {
@derpoliuk
derpoliuk / .gitignore
Last active August 29, 2015 13:57 — forked from adamgit/.gitignore
Adds **/Pods folder, refactors indents, changes version number
#########################
# .gitignore file for Xcode4 / OS X Source projects
#
# Version 2.1
# For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects
#
# 2013 updates:
# - fixed the broken "save personal Schemes"
#
# 2014 updates:
@derpoliuk
derpoliuk / ru.yml
Last active December 21, 2015 18:49 — forked from soffes/en.yml
ru:
viewer:
comment_on_twitter: 'Комментировать на Twitter'
older: 'Старее'
newer: 'Новее'
feed: 'Лента'
share: 'Поделиться'
close: 'Закрыть'
next_post: 'Следующий пост'
previous_post: 'Предыдущий пост'