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
    
  
  
    
  | SET GLOBAL slow_query_log = 'ON'; | |
| SET GLOBAL long_query_time = 30; | |
| SET GLOBAL slow_query_log_file = '/var/lib/mysql/slow.log'; | 
  
    
      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
    
  
  
    
  | # Laravel/Lumen | |
| # docker build . -t imedcl/lme-tramitacion:1.0.0 | |
| # docker run --rm -v /Users/svaldes/workspace/imedcl/projects/lme-servicio-tramitacion:/var/www/html -p 80:80 imedcl/lme-tramitacion:1.0.0 | |
| # ./composer.phar create-project --prefer-dist laravel/lumen lme-servicio-tramitacion | |
| FROM php:7.3-alpine | |
| COPY . . | |
| RUN apk add libzip-dev | |
| RUN docker-php-ext-install zip | 
  
    
      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
    
  
  
    
  | # inside a rails console | |
| Sidekiq.redis { |conn| conn.flushdb } | 
  
    
      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
    
  
  
    
  | SELECT * | |
| FROM | |
| information_schema.KEY_COLUMN_USAGE | |
| WHERE | |
| REFERENCED_TABLE_SCHEMA = 'objective_schema' | |
| AND REFERENCED_TABLE_NAME = 'objective_table' | |
| AND REFERENCED_COLUMN_NAME = 'objective_fk_column'; | 
  
    
      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
    
  
  
    
  | #!/usr/bin/env ruby | |
| if Gem::Specification.find_all_by_name('git').empty? | |
| puts 'gem "git" not founded' | |
| puts 'Run "gem install git" command to install required gem' | |
| exit | |
| end | |
| require 'git' | |
| require 'logger' | 
  
    
      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
    
  
  
    
  | update | |
| tap phinze/homebrew-cask | |
| tap caskroom/versions | |
| tap homebrew/services | |
| install brew-cask | |
| #common | |
| cask install spotify | |
| cask install slack | |
| cask install google-chrome | |
| cask install telegram |