Skip to content

Instantly share code, notes, and snippets.

View reloni's full-sized avatar
🐡

Anton Efimenko reloni

🐡
  • Moscow
View GitHub Profile
@reloni
reloni / Postgresql commands.txt
Created November 19, 2016 16:42
Postgresql commands
#install
brew install postgres
#Create db
initdb /path/to/db
#creates user with same name as logged OS user without password
#create user
createuser --pwprompt username
@reloni
reloni / ioslocaleidentifiers.csv
Created November 10, 2016 09:38 — forked from jacobbubu/ioslocaleidentifiers.csv
iOS Locale Identifiers
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
mr Marathi
bs Bosnian
ee_TG Ewe (Togo)
ms Malay
kam_KE Kamba (Kenya)
mt Maltese
ha Hausa
es_HN Spanish (Honduras)
ml_IN Malayalam (India)
ro_MD Romanian (Moldova)
@reloni
reloni / timeZoneAbbreviations
Last active October 28, 2016 06:04
iOS timeZoneAbbreviations
"CEST": "Europe/Paris",
"WEST": "Europe/Lisbon",
"CDT": "America/Chicago",
"EET": "Europe/Istanbul",
"BRST": "America/Sao_Paulo",
"EEST": "Europe/Istanbul",
"CET": "Europe/Paris",
"MSD": "Europe/Moscow",
"MST": "America/Denver",
"KST": "Asia/Seoul",
@reloni
reloni / gist:62a09f0e67631f62e38b5a3566e0f6bf
Last active April 17, 2018 03:55
Add blur to UITableView (Swift 3)
tableView.backgroundColor = UIColor.clear()
let blurEffect = UIBlurEffect(style: .light)
let blurEffectView = UIVisualEffectView(effect: blurEffect)
tableView.backgroundView = blurEffectView
@reloni
reloni / setup carthage
Last active February 18, 2016 13:48
Setup carthage on travis ci
curl -OlL "https://github.com/Carthage/Carthage/releases/download/0.9.4/Carthage.pkg"
sudo installer -pkg "Carthage.pkg" -target /
rm "Carthage.pkg"