Skip to content

Instantly share code, notes, and snippets.

View bobrnor's full-sized avatar

Bobrnor bobrnor

View GitHub Profile
minimock -i <interface> -o <output dir> -s "_mock.go"
example:
minimock -i cuscom/sms_gate/services/sms_gate.Account -o services/sms_gate/ -s "_mock.go"
для тестирования последовательности вызовов:
m := NewAccountServiceMock(t)
m.AccountMock.ExpectOnce("string1").Return(Account{}, errors.New("error"))
m.AccountMock.ExpectOnce("string2").Return(Account{}, nil)
http://stackoverflow.com/questions/11155539/grid-component-for-tabular-data-on-ios
Hi, I'm a developer of a recently released NGrid iOS framework designed for creating tables, grids, and spreadsheets. I'd like to recommend that you try it as it just might fill your needs.
For instance, it allows:
- changing the number of rows and columns on the fly;
- setting any number of row and/or column headers that will be always visible regardless of content offset;
- sorting by columns and/or rows out of the box;
- inserting any number of images into cells as well as arranging them.
(and many more things)
[4/25/13 16:36:44] Philip: привет из 90х - http://www.youtube.com/watch?v=Tq0IQ-QH3No
[4/25/13 16:37:05] Igor Tetuev: бля, тут нас и так бобр травит Ранетками
[4/25/13 16:37:20] Philip: ранетки рулят :)
[4/25/13 16:37:25] Philip: я их тоже слушаю!
[4/25/13 16:37:31] Igor Tetuev: (puke)
[4/25/13 16:37:46] Anna Pospelova: o! ранетки!
[4/25/13 16:38:02] Бобр'nor: (rofl)
[4/25/13 16:38:14] Philip: http://www.youtube.com/watch?v=g32956RxlW0
[4/25/13 16:38:18] Philip: это же МЕГА
[4/25/13 16:38:25] Sёmka Novikov: У меня мама долгое время считала, что ранетки это такой эвфемизм