Skip to content

Instantly share code, notes, and snippets.

View CreedsCode's full-sized avatar
🎯
Focusing

CreedsCode CreedsCode

🎯
Focusing
View GitHub Profile
@CreedsCode
CreedsCode / SKILL.md
Created March 24, 2026 14:34
A/B Test Significance Calculator

name: ab-test-calculator description: > Render an interactive A/B statistical significance calculator widget whenever the user wants to know if a difference between two variants is real or random noise. Use this skill across ANY testing context: email campaigns (open rate, click rate, reply rate), paid ads (CTR, ROAS, CPA), newsletters (open rate, unsubscribe rate), SaaS products (feature adoption, activation rate, conversion rate, retention, churn), landing pages (signup rate, bounce rate), onboarding flows (completion rate, drop-off), pricing page tests, and any before/after experiment. Trigger when the user mentions "A/B test", "split test", "experiment", "significance", "is this difference real?", "which version is better?", "did this change work?", "feature flag", "rollout result", "test vs control", or pastes two sets of numbers from any platform — Apollo, Mailchimp, HubSpot, Google Ads, Meta Ads, Mixpanel, Amplitude, LaunchDarkly, PostHog, or similar. Always pre-fill the widget with numbers found

name: Server Build & Push
on:
push:
branches: [main]
paths:
- 'server/**'
- 'shared/**'
- docker-compose.prod.yml
- Dockerfile
@CreedsCode
CreedsCode / twitter_template.ipynb
Created June 1, 2022 05:55
My Twitter jupyter template.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@CreedsCode
CreedsCode / start.sh
Created August 12, 2021 07:10
start.sh for github runner, to be able to curl it in the dockerfile
#!/bin/bash
ORGANIZATION=$ORGANIZATION
ACCESS_TOKEN=$ACCESS_TOKEN
REG_TOKEN=$(curl -sX POST -H "Authorization: token ${ACCESS_TOKEN}" https://api.github.com/orgs/${ORGANIZATION}/actions/runners/registration-token | jq .token --raw-output)
cd /home/docker/actions-runner
./config.sh --url https://github.com/${ORGANIZATION} --token ${REG_TOKEN}
@CreedsCode
CreedsCode / docker-compose.yml
Created June 26, 2021 19:10
My dev env, when working with Wordpress
version: '3'
services:
mysql:
image: mysql:5
container_name: mysql
environment:
- MYSQL_DATABASE=wpdb
- MYSQL_USER=wpuser
@CreedsCode
CreedsCode / splice.py
Last active December 23, 2020 10:20
Splice the images out of a video
import cv2
vidcap = cv2.VideoCapture('video.mp4')
success, image = vidcap.read()
count = 1
while success:
cv2.imwrite("output/image_%d.jpg" % count, image)
success, image = vidcap.read()
print('Saved ', count)
count += 1
@CreedsCode
CreedsCode / Program.cs
Created August 2, 2019 00:19
Asp.net deploy setup
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
@CreedsCode
CreedsCode / Dockerfile
Created September 6, 2018 11:40 — forked from jcavat/Dockerfile
docker-compose with php/mysql/phpmyadmin/apache
FROM php:7.1.2-apache
RUN docker-php-ext-install mysqli
@CreedsCode
CreedsCode / BallBouncer.cs
Last active July 30, 2018 01:42
Unity3D Script snippets/examples
//Copied From https://gist.github.com/unity3dcollege/b43888d4d17bef0c21369d6cc32352dd
using UnityEngine;
public class BallBouncer : MonoBehaviour
{
[SerializeField]
[Tooltip("Just for debugging, adds some velocity during OnEnable")]
private Vector3 initialVelocity;
[SerializeField]