Skip to content

Instantly share code, notes, and snippets.

View rytina's full-sized avatar

Andreas Rytina rytina

  • Stuttgart, Germany
View GitHub Profile
lazy var collectionViewDataSource: CalendarCollectionViewDataSource = {
let range = CalendarManager.getCalendarRange(withStartDate: startDate, withEndDate: endDate)
let collectionView = CalendarCollectionViewDataSource(calendarRange: range)
return collectionView
}()
collectionView.dataSource = self.collectionViewDataSource
@evantoli
evantoli / GitConfigHttpProxy.md
Last active February 26, 2025 13:18
Configure Git to use a proxy

Configure Git to use a proxy

In Brief

You may need to configure a proxy server if you're having trouble cloning or fetching from a remote repository or getting an error like unable to access '...' Couldn't resolve host '...'.

Consider something like:

@jacobbubu
jacobbubu / ioslocaleidentifiers.csv
Created February 15, 2012 14:41
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)