Skip to content

Instantly share code, notes, and snippets.

@maxivak
Last active February 22, 2019 16:33
Show Gist options
  • Select an option

  • Save maxivak/01def575d5e52d5cb6e4 to your computer and use it in GitHub Desktop.

Select an option

Save maxivak/01def575d5e52d5cb6e4 to your computer and use it in GitHub Desktop.

Revisions

  1. maxivak revised this gist Feb 22, 2019. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion __readme.md
    Original file line number Diff line number Diff line change
    @@ -103,4 +103,5 @@ Links to my gists and repositories
    * [Custom error pages](https://gist.github.com/maxivak/5248696)
    * [skip the authenticity token check for a json request](https://gist.github.com/maxivak/a25957942b6c21a41acd)
    * [Sanitize HTML](https://gist.github.com/maxivak/c6266125d042ef7a04ed)
    * [Generate sitemap.xml](https://gist.github.com/maxivak/5f24052e49f0974dac9d)
    * [Generate sitemap.xml](https://gist.github.com/maxivak/5f24052e49f0974dac9d)
    * [Issue with ImageMagick and SVG files](https://gist.github.com/maxivak/1476f7e979879da9f75371a86d5627b5)
  2. maxivak revised this gist May 30, 2018. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions __readme.md
    Original file line number Diff line number Diff line change
    @@ -29,6 +29,7 @@ Links to my gists and repositories
    * [Examples - general](https://gist.github.com/maxivak/ed5649cfc8bcac83dd5e)

    ## Assets
    * [Webpacker, Yarn, Npm in Rails](https://gist.github.com/maxivak/2612fa987b9f9ed7cb53a88fcba247b3)
    * [CDN](https://gist.github.com/maxivak/5239159)


  3. maxivak revised this gist May 23, 2018. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions __readme.md
    Original file line number Diff line number Diff line change
    @@ -20,6 +20,9 @@ Links to my gists and repositories
    * [Form examples](https://gist.github.com/maxivak/6442c521c71974144a38398ec4802947) - examples of all form types.
    * [simple_form and bootstrap 3 examples](https://gist.github.com/maxivak/9a6cb31950a8f4e37949)
    * [Custom submit button in simple_form and bootstrap 3](https://gist.github.com/maxivak/57a2fb71afeb9efcf771)
    * [Datetime picker](https://gist.github.com/maxivak/7d9045c7084e589d74c4d892bd599a19)



    ## URLs, Routes
    * [URLs with simple_form - examples](https://gist.github.com/maxivak/720aed6f4f4e3619eb3c54b1f7797b98)
  4. maxivak revised this gist Dec 19, 2017. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions __readme.md
    Original file line number Diff line number Diff line change
    @@ -39,6 +39,11 @@ Links to my gists and repositories
    * [Integrate Gem/Engine and main Rails app](https://gist.github.com/maxivak/5d428ade54828836e6b6)



    ## Log db changes

    * [Audit Globalize translations ](https://gist.github.com/maxivak/e1c6b39b9ec5a16d2d3daacbdd2a64d4)

    ## Emails
    * [SMTP settings](https://gist.github.com/maxivak/24238d2c1437a3718d3e)
    * [Send email to multiple recipients ](https://gist.github.com/maxivak/8460f022f5b369626069)
  5. maxivak revised this gist Sep 25, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion __readme.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@
    Links to my gists and repositories

    ## System
    * [Load code in libries in Rails 5](https://gist.github.com/maxivak/381f1e964923f1d469c8d39da8e2522f)
    * [Load code in libraries in Rails 5](https://gist.github.com/maxivak/381f1e964923f1d469c8d39da8e2522f)

    ## Models

  6. maxivak revised this gist Sep 25, 2017. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions __readme.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,8 @@
    # Ruby on Rails
    Links to my gists and repositories

    ## System
    * [Load code in libries in Rails 5](https://gist.github.com/maxivak/381f1e964923f1d469c8d39da8e2522f)

    ## Models

  7. maxivak revised this gist Mar 10, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion __readme.md
    Original file line number Diff line number Diff line change
    @@ -86,7 +86,7 @@ Links to my gists and repositories

    ## SSH

    * [Running commands on remote servers with SSHKit](https://gist.github.com/maxivak/51b2435ee59061cfc8b1ad25768a1c37)
    * [Running commands on remote server with SSH using SSHKit](https://gist.github.com/maxivak/0a7dcb248997ce637a5915b066d6dd95)

    ## Misc
    * [Custom error pages](https://gist.github.com/maxivak/5248696)
  8. maxivak revised this gist Feb 24, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion __readme.md
    Original file line number Diff line number Diff line change
    @@ -52,7 +52,7 @@ Links to my gists and repositories


    ## Sidekiq, Resque
    * [Sidekiq, Reqsue with God](https://github.com/maxivak/sidekiq-god)
    * [Sidekiq, Resque with God](https://github.com/maxivak/sidekiq-god)


    ## RabbitMQ
  9. maxivak revised this gist Feb 24, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion __readme.md
    Original file line number Diff line number Diff line change
    @@ -52,7 +52,7 @@ Links to my gists and repositories


    ## Sidekiq, Resque
    * [Sidekiq, Reqsue with God]https://github.com/maxivak/sidekiq-god
    * [Sidekiq, Reqsue with God](https://github.com/maxivak/sidekiq-god)


    ## RabbitMQ
  10. maxivak revised this gist Feb 8, 2017. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion __readme.md
    Original file line number Diff line number Diff line change
    @@ -61,7 +61,8 @@ Links to my gists and repositories
    ## Testing
    * [RSpec3 basics](https://gist.github.com/maxivak/e752ae6dc7986ef9bd4a)
    * [Using RSpec without Rails](https://gist.github.com/maxivak/720fc38769c94a59893f)
    * [Running Selenium tests Headless, Xvfb](http://maxivak.com/running-selenium-tests-with-ruby-on-centos/)
    * [Run RSpec tests as a Rake task](http://maxivak.com/run-rspec-tests-as-a-rake-task/)
    * [Run Selenium tests Headless, Xvfb](http://maxivak.com/running-selenium-tests-with-ruby-on-centos/)
    * [RSpec tests with Capybara and Selenium](https://gist.github.com/maxivak/c961800c3b898cd6a56c)
    * [RSpec tests with Headless, Capybara and Selenium - sample project](https://github.com/maxivak/rspec_selenium_headless)

  11. maxivak revised this gist Feb 8, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions __readme.md
    Original file line number Diff line number Diff line change
    @@ -61,6 +61,7 @@ Links to my gists and repositories
    ## Testing
    * [RSpec3 basics](https://gist.github.com/maxivak/e752ae6dc7986ef9bd4a)
    * [Using RSpec without Rails](https://gist.github.com/maxivak/720fc38769c94a59893f)
    * [Running Selenium tests Headless, Xvfb](http://maxivak.com/running-selenium-tests-with-ruby-on-centos/)
    * [RSpec tests with Capybara and Selenium](https://gist.github.com/maxivak/c961800c3b898cd6a56c)
    * [RSpec tests with Headless, Capybara and Selenium - sample project](https://github.com/maxivak/rspec_selenium_headless)

  12. maxivak revised this gist Feb 8, 2017. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions __readme.md
    Original file line number Diff line number Diff line change
    @@ -62,6 +62,9 @@ Links to my gists and repositories
    * [RSpec3 basics](https://gist.github.com/maxivak/e752ae6dc7986ef9bd4a)
    * [Using RSpec without Rails](https://gist.github.com/maxivak/720fc38769c94a59893f)
    * [RSpec tests with Capybara and Selenium](https://gist.github.com/maxivak/c961800c3b898cd6a56c)
    * [RSpec tests with Headless, Capybara and Selenium - sample project](https://github.com/maxivak/rspec_selenium_headless)


    * [Mock application config variable](https://gist.github.com/maxivak/5f66b5ac73ca89370996)

    ### Test emails
  13. maxivak revised this gist Dec 6, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion __readme.md
    Original file line number Diff line number Diff line change
    @@ -61,7 +61,7 @@ Links to my gists and repositories
    ## Testing
    * [RSpec3 basics](https://gist.github.com/maxivak/e752ae6dc7986ef9bd4a)
    * [Using RSpec without Rails](https://gist.github.com/maxivak/720fc38769c94a59893f)
    * [Selenium tests on Ruby](https://gist.github.com/maxivak/c961800c3b898cd6a56c)
    * [RSpec tests with Capybara and Selenium](https://gist.github.com/maxivak/c961800c3b898cd6a56c)
    * [Mock application config variable](https://gist.github.com/maxivak/5f66b5ac73ca89370996)

    ### Test emails
  14. maxivak revised this gist Nov 12, 2016. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions __readme.md
    Original file line number Diff line number Diff line change
    @@ -68,6 +68,9 @@ Links to my gists and repositories
    * [Gem to test emails using Redis](https://github.com/maxivak/test_email_redis)


    ## Deploy
    * [Deploy with Capistrano 3](https://github.com/maxivak/deploy-rails-capistrano3)

    ## Search engines

    * [Using Solr search engine with Sunspot gem](https://gist.github.com/maxivak/e1211b67d33add72a4c4)
  15. maxivak revised this gist Jul 19, 2016. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions __readme.md
    Original file line number Diff line number Diff line change
    @@ -52,8 +52,8 @@ Links to my gists and repositories


    ## Sidekiq, Resque
    * [Sidekiq with God]https://github.com/maxivak/sidekiq-god
    * [God + Resque or Sidekiq](https://gist.github.com/maxivak/05847dc7f558d5ef282e)
    * [Sidekiq, Reqsue with God]https://github.com/maxivak/sidekiq-god


    ## RabbitMQ
    * [RabbitMQ and bunny gem examples](https://gist.github.com/maxivak/28805beccea0bca67516)
  16. maxivak revised this gist Jul 19, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions __readme.md
    Original file line number Diff line number Diff line change
    @@ -52,6 +52,7 @@ Links to my gists and repositories


    ## Sidekiq, Resque
    * [Sidekiq with God]https://github.com/maxivak/sidekiq-god
    * [God + Resque or Sidekiq](https://gist.github.com/maxivak/05847dc7f558d5ef282e)

    ## RabbitMQ
  17. maxivak revised this gist Jul 5, 2016. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions __readme.md
    Original file line number Diff line number Diff line change
    @@ -75,6 +75,10 @@ Links to my gists and repositories

    * [Install TinyMCE editor 4 with Elfinder file manager in Rails 4 app](https://gist.github.com/maxivak/8e64ed8c0d86b0d994e1)

    ## SSH

    * [Running commands on remote servers with SSHKit](https://gist.github.com/maxivak/51b2435ee59061cfc8b1ad25768a1c37)

    ## Misc
    * [Custom error pages](https://gist.github.com/maxivak/5248696)
    * [skip the authenticity token check for a json request](https://gist.github.com/maxivak/a25957942b6c21a41acd)
  18. maxivak revised this gist Jul 4, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion __readme.md
    Original file line number Diff line number Diff line change
    @@ -48,7 +48,7 @@ Links to my gists and repositories
    * [Daemonize process](https://gist.github.com/maxivak/5b021f791cfca4ad9f0c9fca7db67545)

    ## Monitoring
    * [God](https://gist.github.com/maxivak/af267e94bbd251b031514f888af8f756)
    * [Install God](https://gist.github.com/maxivak/af267e94bbd251b031514f888af8f756)


    ## Sidekiq, Resque
  19. maxivak revised this gist Jun 4, 2016. 1 changed file with 2 additions and 3 deletions.
    5 changes: 2 additions & 3 deletions __readme.md
    Original file line number Diff line number Diff line change
    @@ -20,9 +20,8 @@ Links to my gists and repositories
    * [Custom submit button in simple_form and bootstrap 3](https://gist.github.com/maxivak/57a2fb71afeb9efcf771)

    ## URLs, Routes
    * [URLs examples](https://gist.github.com/maxivak/720aed6f4f4e3619eb3c54b1f7797b98)

    * [Examples](https://gist.github.com/maxivak/ed5649cfc8bcac83dd5e)
    * [URLs with simple_form - examples](https://gist.github.com/maxivak/720aed6f4f4e3619eb3c54b1f7797b98)
    * [Examples - general](https://gist.github.com/maxivak/ed5649cfc8bcac83dd5e)

    ## Assets
    * [CDN](https://gist.github.com/maxivak/5239159)
  20. maxivak revised this gist Jun 4, 2016. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions __readme.md
    Original file line number Diff line number Diff line change
    @@ -12,15 +12,16 @@ Links to my gists and repositories

    * [HAML Examples](https://gist.github.com/maxivak/e0cee158eb2f1c892cff)

    ## URLs
    * [URLs examples](https://gist.github.com/maxivak/720aed6f4f4e3619eb3c54b1f7797b98)


    ## Forms
    * [Form examples](https://gist.github.com/maxivak/6442c521c71974144a38398ec4802947) - examples of all form types.
    * [simple_form and bootstrap 3 examples](https://gist.github.com/maxivak/9a6cb31950a8f4e37949)
    * [Custom submit button in simple_form and bootstrap 3](https://gist.github.com/maxivak/57a2fb71afeb9efcf771)

    ## URLs, Routes
    * [URLs examples](https://gist.github.com/maxivak/720aed6f4f4e3619eb3c54b1f7797b98)

    * [Examples](https://gist.github.com/maxivak/ed5649cfc8bcac83dd5e)

    ## Assets
  21. maxivak revised this gist Jun 4, 2016. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions __readme.md
    Original file line number Diff line number Diff line change
    @@ -12,6 +12,9 @@ Links to my gists and repositories

    * [HAML Examples](https://gist.github.com/maxivak/e0cee158eb2f1c892cff)

    ## URLs
    * [URLs examples](https://gist.github.com/maxivak/720aed6f4f4e3619eb3c54b1f7797b98)

    ## Forms
    * [Form examples](https://gist.github.com/maxivak/6442c521c71974144a38398ec4802947) - examples of all form types.
    * [simple_form and bootstrap 3 examples](https://gist.github.com/maxivak/9a6cb31950a8f4e37949)
  22. maxivak revised this gist Jun 1, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion __readme.md
    Original file line number Diff line number Diff line change
    @@ -13,7 +13,7 @@ Links to my gists and repositories
    * [HAML Examples](https://gist.github.com/maxivak/e0cee158eb2f1c892cff)

    ## Forms
    * [Form examples](***) - examples of all form types.
    * [Form examples](https://gist.github.com/maxivak/6442c521c71974144a38398ec4802947) - examples of all form types.
    * [simple_form and bootstrap 3 examples](https://gist.github.com/maxivak/9a6cb31950a8f4e37949)
    * [Custom submit button in simple_form and bootstrap 3](https://gist.github.com/maxivak/57a2fb71afeb9efcf771)

  23. maxivak revised this gist May 29, 2016. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions __readme.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,9 @@ Links to my gists and repositories

    ## Models

    ### Trees, nested lists
    * [Tree with ancestry gem](https://gist.github.com/maxivak/36b7b5254418ae3d9a93a71338143098)
    * [GUI for sortable tree for models organized by ancestry gem](https://gist.github.com/maxivak/9f11c1f29d6b24c6fde0e99632101c47)

    ## Views

  24. maxivak revised this gist May 28, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion __readme.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ Links to my gists and repositories

    ## Models

    * Tree with ancestry gem](https://gist.github.com/maxivak/36b7b5254418ae3d9a93a71338143098)
    * [Tree with ancestry gem](https://gist.github.com/maxivak/36b7b5254418ae3d9a93a71338143098)

    ## Views

  25. maxivak revised this gist May 28, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion __readme.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ Links to my gists and repositories

    ## Models

    * [Show full tree for nested items with ancestry](https://gist.github.com/maxivak/36b7b5254418ae3d9a93a71338143098)
    * Tree with ancestry gem](https://gist.github.com/maxivak/36b7b5254418ae3d9a93a71338143098)

    ## Views

  26. maxivak revised this gist May 28, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion __readme.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ Links to my gists and repositories

    ## Models

    * [Show full tree for nested items for ancestry](https://gist.github.com/maxivak/36b7b5254418ae3d9a93a71338143098)
    * [Show full tree for nested items with ancestry](https://gist.github.com/maxivak/36b7b5254418ae3d9a93a71338143098)

    ## Views

  27. maxivak revised this gist May 28, 2016. No changes.
  28. maxivak revised this gist May 28, 2016. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions __readme.md
    Original file line number Diff line number Diff line change
    @@ -8,6 +8,8 @@ Links to my gists and repositories

    ## Views

    * [HAML Examples](https://gist.github.com/maxivak/e0cee158eb2f1c892cff)

    ## Forms
    * [Form examples](***) - examples of all form types.
    * [simple_form and bootstrap 3 examples](https://gist.github.com/maxivak/9a6cb31950a8f4e37949)
  29. maxivak revised this gist May 28, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion __readme.md
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@ Links to my gists and repositories
    ## Forms
    * [Form examples](***) - examples of all form types.
    * [simple_form and bootstrap 3 examples](https://gist.github.com/maxivak/9a6cb31950a8f4e37949)

    * [Custom submit button in simple_form and bootstrap 3](https://gist.github.com/maxivak/57a2fb71afeb9efcf771)

    ## URLs, Routes
    * [Examples](https://gist.github.com/maxivak/ed5649cfc8bcac83dd5e)
  30. maxivak revised this gist May 28, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion __readme.md
    Original file line number Diff line number Diff line change
    @@ -10,7 +10,7 @@ Links to my gists and repositories

    ## Forms
    * [Form examples](***) - examples of all form types.

    * [simple_form and bootstrap 3 examples](https://gist.github.com/maxivak/9a6cb31950a8f4e37949)


    ## URLs, Routes