Skip to content

Instantly share code, notes, and snippets.

View sgobotta's full-sized avatar
:octocat:

Santiago Botta sgobotta

:octocat:
View GitHub Profile
@sgobotta
sgobotta / README.md
Last active April 26, 2021 14:08
My oh-my-zsh theme

sgobotta's Zsh Theme

Pre-requisites

Usage

  • Copy the sgobotta.zsh-theme file in a custom/themes directory in the ~/.oh-my-zsh repository
  • Paste this line in the very beginning of your ~/.zshrc file: ZSH_THEME=sgobotta
@sgobotta
sgobotta / README.md
Created May 26, 2021 23:08
Just an asdf cheatsheet

Asdf cheatsheet

Tool Installation

Clone the repository

git clone https://github.com/asdf-vm/asdf.git ~/.asdf
cd ~/.asdf
git checkout "$(git describe --abbrev=0 --tags)"
#!/usr/bin/env python
import requests
URL = 'https://www.dolarsi.com/api/api.php?type=valoresprincipales'
json = requests.get(URL).json()
print()
print(' 💵 | compra | venta')
print('----|--------|-------')
@sgobotta
sgobotta / average_score.ex
Created March 16, 2025 20:15
Calculating an average score using streams
defmodule AverageScore do
# @file_path "tiny-students.json"
# @file_path "students.json"
@file_path "big-students.json"
require Logger
def students, do: @students
def average_score(students) do