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
    
  
  
    
  | --- | |
| include: | |
| - "**/*.rb" | |
| - Rakefile | |
| - "**/*.rake" | |
| - Gemfile | |
| - "**/*.gemspec" | |
| exclude: | |
| - spec/**/* | |
| - test/**/* | 
  
    
      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
    
  
  
    
  | # The following comments fill some of the gaps in Solargraph's understanding of | |
| # Rails apps. Since they're all in YARD, they get mapped in Solargraph but | |
| # ignored at runtime. | |
| # | |
| # You can put this file anywhere in the project, as long as it gets included in | |
| # the workspace maps. It's recommended that you keep it in a standalone file | |
| # instead of pasting it into an existing one. | |
| # | |
| # @!parse | |
| # class ActionController::Base | 
  
    
      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 | |
| require 'bundler/inline' | |
| gemfile do | |
| source 'https://rubygems.org' | |
| gem 'dotenv', require: 'dotenv/load' | |
| gem 'cloudflare' | 
  
    
      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
    
  
  
    
  | console.clear() | |
| const specs = document.querySelectorAll('header > div') | |
| let files = {} | |
| specs.forEach((item) => { | |
| const path = item.innerText | |
| const isSpecPath = path.match(/^spec/) | |
| if(isSpecPath) files[path] = (files[path] || 0) + 1 | 
  
    
      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
    
  
  
    
  | #!/bin/bash | |
| set -e -o pipefail | |
| # constants | |
| ROOT_DIR="$(pwd)" | |
| HOME_DIR="$HOME" | |
| function create_directory { | |
| local directory_path="$1" | 
  
    
      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 | |
| workspace do | |
| system = nil | |
| model do | |
| user = person "User" | |
| system = software_system "Software System" do | |
| webapp = container "Web Application" do |webapp_container| | |
| user.point_to webapp_container, label: "Uses" | 
  
    
      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
    
  
  
    
  | (function (module) { | |
| const script = document.createElement('script') | |
| script.setAttribute('src', module) | |
| document.body.appendChild(script) | |
| }('https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.min.js')) | |
| const name = '' | |
| if (_.isEmpty(name)) console.log('name is empty!') | 
  
    
      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
    
  
  
    
  | // colar no devtools e executar | |
| const el = document.querySelector('.chat-scroll') | |
| window.setInterval(function() { | |
| el.scrollTop = el.scrollHeight | |
| }, 50) | 
  
    
      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
    
  
  
    
  | require 'json' | |
| require 'bundler/inline' | |
| gemfile do | |
| source 'https://rubygems.org' | |
| gem 'faraday' | |
| 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
    
  
  
    
  | module GUT | |
| extend self | |
| MIN_CRITICAL_SCORE = 20 | |
| module ScoreFromLabels | |
| def self.included(base) | |
| base.extend(ClassMethods) | |
| end | 
