Skip to content

Instantly share code, notes, and snippets.

View AdryDev92's full-sized avatar
🎯
Focusing

AdryDev92 AdryDev92

🎯
Focusing
  • Spain
  • Seville
View GitHub Profile
@AdryDev92
AdryDev92 / auto-repo.sh
Last active October 27, 2019 08:42
Self building repo into github with direct connection
#! /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]
@AdryDev92
AdryDev92 / simple_buy_list.html
Created October 30, 2019 01:14
A simple buy list with add/delete buttons
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Lista de la compra</title>
</head>
<body>
<script type="text/javascript">
@AdryDev92
AdryDev92 / basic_calculator.rb
Created March 27, 2020 20:21
Basic calculator in ruby with four operations. If you press "N" after an operation, the app ends.
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?"