This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " Optioni | |
| "set cursorline " Highlights the current line in the editor | |
| set hidden " Hide unused buffers | |
| set autoindent " Indent a new line | |
| set inccommand=split " Show replacements in a split screen | |
| "set mouse=a " Allow to use the mouse in the editor | |
| "set number " Shows the line numbers | |
| set relativenumber " Shows the line numbers | |
| set number relativenumber | |
| set splitbelow splitright " Change the split screen behavior |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # frozen_string_literal: true | |
| ############################################################################################### | |
| # WHAT I SERIALIZE? # | |
| ############################################################################################### | |
| # This scrip can help you to find what object types you need to witelist after CVE-2022-32224 update | |
| # AD: If you using StimulusJS then checkout my gem stimulus_tag_helper | |
| # https://rubygems.org/gems/stimulus_tag_helper | |
| # https://github.com/crawler/stimulus_tag_helper |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%= link_to 'Voltar', root_path %> | |
| <%= link_to 'Registrar uma promoção', new_promotion_path, class: 'btn btn-success' %> | |
| <%= form_with url: search_promotions_path, id: 'search-promotion', method: :get, local: false do |f| %> | |
| <%= f.label :q, 'Busca' %> | |
| <%= f.text_field :q %> | |
| <%= f.submit 'Buscar' %> | |
| <% end %> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ruby '2.7.1' | |
| gem 'rails', github: 'rails/rails' | |
| gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
| # Action Text | |
| gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra' | |
| gem 'okra', github: 'basecamp/okra' | |
| # Drivers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Carta | |
| attr_accessor :ingles, :portugues | |
| def initialize(ingles, portugues) | |
| @ingles = ingles | |
| @portugues = portugues | |
| end | |
| def to_s() | |
| "#{ingles()} -> #{portugues()}" |