This file contains 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/zsh | |
# if you use bash, change /bin/zsh to /bin/bash | |
if [ "$1" = "-h" ]; then | |
echo "To use correctly this script, execute: | |
[arg1 = folder name] [arg2 = repo/github/url] | |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Lista de la compra</title> | |
</head> | |
<body> | |
<script type="text/javascript"> |
This file contains 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
puts "======================" | |
puts "| CALCULADORA BÁSICA |" | |
puts "| EN RUBY |" | |
puts "======================" | |
ops = ["1.suma","2.resta","3.multiplicación","4.división"] | |
begin | |
puts "\n¿Qué operación deseas realizar?" |
OlderNewer