Skip to content

Instantly share code, notes, and snippets.

View toyo97's full-sized avatar

Vittorio Zampinetti toyo97

View GitHub Profile
@toyo97
toyo97 / b-pinns-experiment.ipynb
Last active October 8, 2024 17:40
b-pinns-experiment.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@toyo97
toyo97 / cluster_notes.md
Last active August 1, 2023 19:42
Useful commands for HPC usage

Useful cluster info

SBATCH script

This runs 12 tasks on 3 nodes using 8 CPUs per task and notifies via mail about beginning and ending status of job.

#!/bin/bash
#
@toyo97
toyo97 / rev-gma.py
Last active January 20, 2022 08:58
Giacenza media annua conto revolut. Richiede pandas
# python3 rev-gma.py <nome-file> <anno>
# gist github: https://gist.github.com/toyo97/3f876f3e079b96752cd1ed0f7f03d8b6
import sys
import pandas as pd
from datetime import datetime, date
file_name = sys.argv[1]
year = int(sys.argv[2])