Archive for Ноябрь, 2016

How to encode cyrillic (non-ASCII) filename in the header Content-Disposition for different browsers

After spending several hours aggregating data from numerous sources, I decided to compose this article. The code has been tested in IE, Chrome and Firefox. I want to save a file with name «мале нький.txt» — I added a white space intentionally to test this case. Please follow the link for details.

How to override save method of CrudRepository REST wise

If you have to implement sophisticated business logic, then you most likely will face a necessity to extend some CRUD operations. Some practices can be found here: . But what if you deal with REST?

Скрипт для тестирования отправки СМС через smstraffic.ru

Данный скрипт был написан в целях тестирования. Как и ожидалось, отправителя русскими буквами указать нельзя, urlencode не помогает. Подставляйте свои логин и пароль вместо [removed] и наслаждайтесь.

Объемный паззл «Грузовик Mack»

В этот раз я расскажу про модель грузовика, которая собирается без клея. Запутаться сложно, потому что детали содержат в себе подсказки. Сборка развивает у ребенка пространственное мышление и мелкую моторику, а где-то надо и силу приложить.