Skip to content

Instantly share code, notes, and snippets.

View Todoviernes's full-sized avatar

Santiago Vallejo Todoviernes

View GitHub Profile

Keybase proof

I hereby claim:

  • I am todoviernes on github.
  • I am todoviernes (https://keybase.io/todoviernes) on keybase.
  • I have a public key ASAuus-XGiI7OZoWhrB8MClB7TB3hC2m3Gk8_pLLeQKxxwo

To claim this, I am signing this object:

void main() {
final ages = [33, 15, 27, 40, 22];
ages.sort();
print("""
La edad mayor es ${ages[ages.length -1]}
La edad menor es ${ages[0]}
La edad promedio es ${ages.reduce((cur, next) => cur + next) / ages.length};
""");
}
import requests
import urllib
import urllib.request
from slugify import slugify
url = "https://example.com/api/v1/images"
payload={}
headers = {
sudo apt update
sudo apt upgrade -y
sudo apt install nginx -y
sudo apt install mariadb-server -y
sudo mysql_secure_installation
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
class UsersController < ApplicationController
before_action :set_user, only: [:edit, :show, :update, :destroy]
after_action :send_slack, only: [:create, :update, :destroy]
def index
@users = User.all
end
def show
@Todoviernes
Todoviernes / the-myers-briggs-game.rb
Created September 25, 2017 12:25
To run the-myers-briggs-game.rb need gem'Colorize' library
require 'colorize'
#Defining the users profile
user_profile = ""
jobs = {
"estj" => {
description: "Realists who are quick to make practical decisions.",
# ok = "ok man"
jobs: [
"Insurance Sales Agent",
"Pharmacist",