Skip to content

Instantly share code, notes, and snippets.

@jfmlima
jfmlima / jefit_to_hevy_converter.py
Last active November 21, 2025 13:52
Convert JEFIT into Hevy compatible CSV
"""
As multiple persons were requesting help I've decided to create this tool to help people migrate.
https://workout-converter.fly.dev/
If you liked it, feel free to buy me a coffee.
"""
import pandas as pd
# Read the input CSV file
df_exercises = pd.read_csv("exercises.csv")
@jfmlima
jfmlima / interfacing.go
Created May 29, 2019 15:21
Proper interfacing in golang
func Test() {
http.HandleFunc("/", Potato{Conn: MockConnection{}}.potatoHandler)
}
type Connection struct{}
type MySQLConnection struct {
db *Connection
}
type MongoConnection struct {
db *Connection