Skip to content

Instantly share code, notes, and snippets.

@jfarcand
jfarcand / pierre-reference-llm-part1.md
Created December 17, 2025 19:59
Pierre MCP Server - LLM Reference Part 1: Core (Overview, Architecture, Config)

Pierre MCP Server - Reference Part 1: Core

Reference documentation for ChatGPT. Part 1: Overview, Architecture, Configuration.


Documentation

Developer documentation for Pierre Fitness Platform.

@jfarcand
jfarcand / pierre-reference-llm-part1.md
Created December 17, 2025 19:55
Pierre MCP Server - LLM Reference Documentation for ChatGPT

Pierre MCP Server - Reference Part 1: Core

Reference documentation for ChatGPT. Part 1: Overview, Architecture, Configuration.


Documentation

Developer documentation for Pierre Fitness Platform.

Pierre Frontend UI Improvement Phases

Branch: feature/frontend-vertical-sidebar

Overview

Transform the Pierre Admin Frontend with a vertical sidebar navigation and full alignment with BRAND.md design system.

Bug Fix (Pre-Phase - COMPLETED)

  • Fix check_setup_status() in src/auth.rs - was checking hardcoded admin@pierre.mcp instead of any user with is_admin=true
@jfarcand
jfarcand / pierre-fitness-report.md
Last active November 27, 2025 21:28
Pierre Fitness Intelligence Report - Jeanfrancois Arcand - Nov 27, 2025

Pierre Fitness Intelligence Report - Jeanfrancois Arcand - Nov 27, 2025

Pierre Fitness Intelligence Report

Athlete: Jeanfrancois Arcand (@cheffamille) Generated: November 27, 2025 Data Source: Strava Report Period: Last 30 days


Run cargo clippy --all-targets --all-features --quiet -- -W clippy::all -W clippy::pedantic -W clippy::nursery -D warnings
cargo clippy --all-targets --all-features --quiet -- -W clippy::all -W clippy::pedantic -W clippy::nursery -D warnings
shell: /usr/bin/bash -e {0}
env:
CARGO_TERM_COLOR: always
CARGO_HOME: /home/runner/.cargo
CARGO_INCREMENTAL: 0
error: `to_string()` called on a `&str`
--> src/providers/utils.rs:154:27
|
kl()
local key="$1"
local namespace="${2:-production}" # Default to production if no namespace is provided
local pod_names
local selected_pods=()
# Find the pod names based on the key
pod_names=($(kubectl get pod -n "$namespace" | grep "$key" | awk '{print $1}'))
if [[ ${#pod_names[@]} -eq 0 ]]; then
@jfarcand
jfarcand / podWithChoice.zsh
Created February 29, 2024 00:18
Get the pod log
kl() {
local key="$1"
local namespace="${2:-production}" # Default to production if no namespace is provided
local pod_names
local selected_pod
# Find the pod names based on the key
pod_names=($(kubectl get pod -n "$namespace" | grep "$key" | awk '{print $1}'))
if [[ ${#pod_names[@]} -eq 0 ]]; then
@jfarcand
jfarcand / logback.xml
Created August 25, 2020 15:31
Example of configuration
<configuration debug='true'>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} %level [%thread] %logger{10} [%file:%line] %msg%n</pattern>
</encoder>
</appender>
<logger name="org.atmosphere.interceptor.OnDisconnectInterceptor" level="TRACE"/>
<logger name="org.atmosphere.cache.UUIDBroadcasterCache" level="TRACE"/>
Caused by: java.net.ConnectException: Connection timed out: /52.24.104.213:8080
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.8.0_45]
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) ~[na:1.8.0_45]
at org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152) ~[tubes-loaddriver-all.jar:master-SNAPSHOT]
at org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105) ~[tubes-loaddriver-all.jar:master-SNAPSHOT]
... 8 common frames omitted
/**
* Exception in thread "main" scala.MatchError: StringType (of class org.apache.spark.sql.types.StringType$)
at org.apache.spark.sql.json.InferSchema$.apply(InferSchema.scala:58)
at org.apache.spark.sql.json.JSONRelation$$anonfun$schema$1.apply(JSONRelation.scala:139)
at org.apache.spark.sql.json.JSONRelation$$anonfun$schema$1.apply(JSONRelation.scala:138)
at scala.Option.getOrElse(Option.scala:121)
at org.apache.spark.sql.json.JSONRelation.schema$lzycompute(JSONRelation.scala:137)
at org.apache.spark.sql.json.JSONRelation.schema(JSONRelation.scala:137)
at org.apache.spark.sql.sources.LogicalRelation.<init>(LogicalRelation.scala:30)
at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:120)