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/sh | |
| set -e | |
| # | |
| # This script is meant for quick & easy install via: | |
| # 'curl -sSL https://get.docker.com/ | sh' | |
| # or: | |
| # 'wget -qO- https://get.docker.com/ | sh' | |
| # | |
| # For test builds (ie. release candidates): | |
| # 'curl -fsSL https://test.docker.com/ | sh' | 
  
    
      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
    
  
  
    
  | # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName | 
  
    
      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
    
  
  
    
  | .white-font { color: white; } | |
| .background { | |
| background: red; | |
| margin: 0; | |
| padding: 50px; | |
| text-align: center; | |
| width: 600px; | |
| } | |
| .hashtag { | |
| display: inline-block; | 
  
    
      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
    
  
  
    
  | <div class='background white-font'> | |
| <img src='images/coronita.svg' /> | |
| <h1> KEEP </h1> | |
| <h2> CALM </h2> | |
| <h4> AND </h4> | |
| <h3> VÁMONOS </h3> | |
| <h3> DE FIESTA </h3> | |
| <h4> FESTEJANDO </h4> | |
| <h5> EL DIA DEL PROGRAMADOR </h5> | |
| <h6> Y LA INDEPENDENCIA DE MEXICO </h6> | 
  
    
      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 HashConverter | |
| class << self | |
| def to_camel_case hash | |
| convert hash | |
| end | |
| def convert obj | |
| case obj | |
| when Hash | |
| obj.inject({}) do |h,(k,v)| | 
  
    
      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 'minitest/autorun' | |
| module Generators | |
| class Multiplicative | |
| attr_accessor :seed, :modulo, :x0 | |
| def initialize (p = {}) | |
| @seed = p[:seed] | 
  
    
      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
    
  
  
    
  | #Ejercicio 2 | |
| def factorial(n=1) | |
| if n == 0 | |
| 1 | |
| else | |
| n*factorial(n-1) | |
| end | |
| end |