Skip to content

Instantly share code, notes, and snippets.

@joefaron
joefaron / wsl-odds-calculator-2025.php
Last active July 4, 2025 05:06
wsl odds calculator 2025
<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ERROR);
ini_set('max_execution_time', 0);
?>
View code at: <a href="https://gist.github.com/joefaron/acb7f2abd96b42e692c0fb11ef2fb879">https://gist.github.com/joefaron/acb7f2abd96b42e692c0fb11ef2fb879</a>
<?php
@echo off
setlocal
:: ===================================================================
:: STREAMLIT HEALTH CHECK FOR CURSOR AI IDE YOLO MODE
:: DON’T PANIC EDITION v42
:: ===================================================================
:: Description:
:: ------------
:: This batch script runs a specified Streamlit application,
@joefaron
joefaron / wsl.php
Last active August 9, 2023 02:21
WSL CS Odds Predictions (World Surf League - Challenger Series)
<PRE><?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ERROR);
ini_set('max_execution_time', 0);
?>
__ _______ _ ___ ___ ___ ____
\ \ / / ____| | |__ \ / _ \__ \|___ \
\ \ /\ / / (___ | | ______ ) | | | | ) | __) |
<?php
// host on own server, just replace getUrl() to properly get/cache html from magicseaweed which has closed down it's api
// create custom "My Data" function that calls this script.. works nice.
// https://developer.lametric.com/applications/createdisplay#create-popup
// Lametric TIME clock custom app for displaying surf swell, tide, sea temp data..
// smart clock: https://lametric.com/en-US
/* example return: (displays current sea temp, current swell, current wind, next best day in next 4 days)