- разные задачи на руби https://gist.github.com/elvisgiv/c9a7242d783a254539d2bb7f99907116
- примеры скриптов https://gist.github.com/elvisgiv/c6bfa1b469344b67e0f0282ec72ccb86
- Дефолтный шаблон для рельсового приложения https://github.com/maxivak/rails-tpl
- Создание приложения https://gist.github.com/elvisgiv/892e36a713c0db3284b4
- Этапы, на которых возможны неполадки https://gist.github.com/elvisgiv/34af9f6f6171e52b4740
- Что же такое проблема N+1? https://gist.github.com/elvisgiv/c643f3683d052c6d3988
- Gem creating https://gist.github.com/elvisgiv/087543229a00d6625677
- Creating DB https://gist.github.com/elvisgiv/7688d3fd3c422d9ac8ca
- Задача - сделать так, чтобы для new и edit рендерилась одна форма при условии, что у нас есть пространство имен https://gist.github.com/elvisgiv/0c18c87ed319aea3543c
- Задача - создание хэлпера для контроллеров https://gist.github.com/elvisgiv/2df53a1b2c259ece082d
- true - false(варианты записей) https://gist.github.com/elvisgiv/d87db2a6136c9f192f73
- Задача - показать количество продуктов в списке категорий https://gist.github.com/elvisgiv/2ea189885620dda62bb1435e66cc82bb
- manage model field with data stored on disk https://gist.github.com/elvisgiv/740ac6f31a87fe3d4703713dfb2ac5f7
- add captcha to form https://gist.github.com/elvisgiv/f10e44314831d095e345c726a513757e
- задача - сохранять данные из базы в виде таблицы excel на языке заполнения (create directory if not exists) https://gist.github.com/elvisgiv/2b2723a66c3d7ec55329fa6ff6c69c8f
- задача - загрузить файл (запись из базы данных) из браузера на диск https://gist.github.com/elvisgiv/a49206f7ef4cc08c1aed9a5beafa985f
- задача - подключить react к существующему проекту на rails https://gist.github.com/elvisgiv/96a66175ac9903780f26d2d92a522dc5
- Для того, чтобы сделать перевод строк https://gist.github.com/elvisgiv/5bef5b01a575c0d7ea1c
- Перевод после создания, удаления, изменения объекта. На примере удаления https://gist.github.com/elvisgiv/938c414dd0fe154f6a0c
- Создание поля с выбором даты для simple_form https://gist.github.com/elvisgiv/54c17a4643f529b8143a
- Ссылки на тестирование с помощью Capybara без запуска Rails https://gist.github.com/elvisgiv/5b2cdedcaa1f2a3029b9
- Rspec Expect vs Allow https://gist.github.com/elvisgiv/0fb0e9ad45809fe84753f08c29a7c798
- Создание дерева в таблице базы данных с помощью гема ANCESTRY https://gist.github.com/elvisgiv/883569251a75db11b0f9
- Actions with ajax https://gist.github.com/elvisgiv/00e8606260403304bdbd
- JQuery разбор кода https://gist.github.com/elvisgiv/83911a883328d3fe0eee7fe32a06e8b6
- TOGGLE javascript https://gist.github.com/elvisgiv/a869b915d6e856b41684e6a4f1feb852
- Devises fields change (add, change, destroy) https://gist.github.com/elvisgiv/0a93ce14186b600778b4
- Sign in as another user if you are an admin https://github.com/plataformatec/devise/wiki/How-To:-Sign-in-as-another-user-if-you-are-an-admin
- Avatar with gem paperclip. Gravatar https://gist.github.com/elvisgiv/89b44d4f51cc6ba82f5d
- Time zone in Rails(выставить время отображения созданных объектов для своей временной зоны) https://gist.github.com/elvisgiv/b26e4601a6422bad870b
- Blocks in RoR https://gist.github.com/elvisgiv/127f004ed0dd81c53923
- Wi-Fi для сетевой карты broadcom 802.11g в Ubuntu https://gist.github.com/elvisgiv/274705a728e640dc7416
- Установка Cancancan https://gist.github.com/elvisgiv/6883ce0f01892cc525ac
- Направление потока ошибок в стандартный поток https://gist.github.com/elvisgiv/300fb09648f98c12644caffd0f83689d
- Custom layout https://gist.github.com/elvisgiv/248256da8456bd63350fe8c49370c34f
- Вывод textarea в отформатированном виде во вью https://gist.github.com/elvisgiv/5d4887ea0a82b973ee50e097a64f86de
- Смена пароля для
root
при наличии пароля дляsudo
https://gist.github.com/elvisgiv/03c435ed3b3ea594f2c5b208c5369f5c - rubu elasticsearch dsl http://www.rubydoc.info/gems/elasticsearch-api/Elasticsearch/API/Actions
- copy directory with subdirectory to remote mashine https://gist.github.com/elvisgiv/51ef496ce19f342f9b751fe7394dbe6c
- Вложенные формы с гемом cocoon https://gist.github.com/elvisgiv/923a1d42e372da35e5659b20afe1ede2
- action_mailer https://gist.github.com/elvisgiv/6619b72b174fd4a04963
- Для вызова методов внутри метода в ОДНОМ контроллере https://gist.github.com/elvisgiv/c95c6767639d043af97ae3adf562b14a
- Вызов команды терминала опреационной системы из метода https://gist.github.com/elvisgiv/ad2229783de17c692feae77035e2fc19
- Подключение файла .css во вью https://gist.github.com/elvisgiv/fc198f2754de2d5cd8d168eafef83084
- Elasticsearch install https://gist.github.com/elvisgiv/cf83570c79da80bec326d2bdd454980d
- Elasticsearch with highlight https://gist.github.com/elvisgiv/4bfef210aa0a75135dfd3257a061083c
- Elasticsearch without DB https://gist.github.com/elvisgiv/586297e56b02301e15dd7fa2c95687d1
- Elasticsearch add custom fields to elasticsearch (which do not belong to the model) https://gist.github.com/elvisgiv/5138120a19fe80f147abcac993c6c898
- Elasticsearch sort by id https://gist.github.com/elvisgiv/190fa83b8ba3c70af56ff65f50503540
- Elasticsearch range by DATE https://gist.github.com/elvisgiv/1c65ca0f5beed2b5bf30f3404ec92a32
- Install and run Fluentd + Elasticsearch + Kibana https://gist.github.com/elvisgiv/236d88cdfcf36c0213619c68c927e8cf
- search examples https://gist.github.com/elvisgiv/abd81d38095c6dfcec212cc9dcf4a4ee
- Kibana install https://gist.github.com/elvisgiv/e32d1c043df4e38594c6bbd10044548d
- Kibana in Rails https://gist.github.com/elvisgiv/c2f3b95c29348fa64aa2e4903d65c086
https://gist.github.com/elvisgiv/2755f61de991576390c8a41c03e63e4a
-
install flume on ubuntu https://gist.github.com/elvisgiv/1dce3ef36e269c4c89a954e099153627
CONFIGS FOR FLUME:
-
flume_from_kafka_to_elasticsearch_with_kibana https://gist.github.com/elvisgiv/7e81df173056fc06a62904e66f9f2423
- Install docker and docker-compose https://gist.github.com/elvisgiv/cbed66089cc4e3e00295242c9e5063f8
- Edit docker container https://gist.github.com/elvisgiv/8577c93c543fdb944d7a8fb41e889775
- Docker tutorial(at the stage of writing...) https://gist.github.com/elvisgiv/2a81002e3949130ff11c2202ea8a79bc
Detect scroll to bottom event and upload next portion of rows https://gist.github.com/elvisgiv/82fb848251333994a67ec262a86a6b06
- выпадающий текст после нажатия на линк https://gist.github.com/elvisgiv/2fc51d247386f03b81bc4d338fee115d
- смена изображений кнопки при нажатии https://gist.github.com/elvisgiv/9815377877eab8aa875b99f771b78479
- enzyme pass props to component https://gist.github.com/elvisgiv/60ef6850aa7bc2a4beed7291203a146f
- enzyme setState examples https://gist.github.com/elvisgiv/e9056bde1cfbf5bcfecdfb32c10577ea
- enzyme check state changes after button click https://gist.github.com/elvisgiv/85623b613bbf2ce46e49d9c5c0677a0a
- enzyme attach third part component to jsDOM https://gist.github.com/elvisgiv/089f16bd4d6b3e6fcb04f1ff9a9f5901
- Sinon Stub method which invoke from method after click https://gist.github.com/elvisgiv/78aca6b5165def84e0f6066bd2bb42e2
- terraform scripts for launch instance on aws https://gist.github.com/elvisgiv/3ec1944f680a02625f5f03f215262536
- ansible https://gist.github.com/elvisgiv/0563792bfb2cd68d80883525fadfb7a4