Skip to content

Instantly share code, notes, and snippets.

View WomB0ComB0's full-sized avatar
⚔️
Veni, vidi, vici

Mike Odnis WomB0ComB0

⚔️
Veni, vidi, vici
View GitHub Profile
@WomB0ComB0
WomB0ComB0 / ui-capture.ts
Created November 19, 2025 08:57
ui-capture - Enhanced with AI-generated documentation
/**
* Copyright (c) 2025 Mike Odnis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
@WomB0ComB0
WomB0ComB0 / jspring
Created November 10, 2025 22:08
jspring - Enhanced with AI-generated documentation
#!/usr/bin/env bash
set -euo pipefail
# Defaults
NAME=""
GROUP_ID="com.example"
ARTIFACT_ID=""
PACKAGE=""
VERSION="0.0.1-SNAPSHOT"
DESCRIPTION=""
@WomB0ComB0
WomB0ComB0 / effect-schema-data-loader.tsx
Created October 13, 2025 23:00
effect-schema-data-loader - Enhanced with AI-generated documentation
("use client");
import { FetchHttpClient } from "@effect/platform";
import type { QueryKey } from "@tanstack/react-query";
import {
useQueryClient,
useSuspenseQuery,
type UseSuspenseQueryOptions,
} from "@tanstack/react-query";
import { Effect, pipe, Schema } from "effect";
@WomB0ComB0
WomB0ComB0 / effect-schema-fetcher.ts
Created October 13, 2025 23:00
effect-schema-fetcher - Enhanced with AI-generated documentation
"use strict";
import { HttpClient, HttpClientRequest } from "@effect/platform";
import { Schema, ParseResult } from "effect";
import { Duration, Effect, pipe, Schedule } from "effect";
declare const EMPTY = "";
/**
* @module effect-fetcher
@WomB0ComB0
WomB0ComB0 / holiday.py
Created October 8, 2025 02:51
post holidays (I don't keep track of holidays)
import tweepy
import requests
from datetime import datetime, timedelta
import time
import os
# ===== CONFIGURATION =====
# X (Twitter) API credentials - get from https://developer.twitter.com/
TWITTER_API_KEY = os.getenv('TWITTER_API_KEY', 'your_api_key_here')
TWITTER_API_SECRET = os.getenv('TWITTER_API_SECRET', 'your_api_secret_here')
@WomB0ComB0
WomB0ComB0 / greadme.ts
Created October 5, 2025 00:55
greadme - Enhanced with AI-generated documentation
#!/usr/bin/env bun
/**
* AI-Powered README Generator
*
* @description Generates comprehensive, interactive README documentation using Gemini AI
* @author Mike Odnis
* @license MIT
*
* @usage
@WomB0ComB0
WomB0ComB0 / gtopic.ts
Created October 5, 2025 00:14
gtopic - Enhanced with AI-generated documentation
#!/usr/bin/env bun
/**
* GitHub Repository Analyzer with Gemini AI
*
* @description Analyzes GitHub repositories using GitIngest and Gemini AI
* @author Mike Odnis
* @license MIT
*
* @usage
@WomB0ComB0
WomB0ComB0 / auto-commit.sh
Last active October 2, 2025 16:25
Utilizing an AI-powered CLI to incrementally create AI-generated commit messages based on you git changes.
#!/bin/bash
set -euo pipefail
# Enhanced Git Auto-Commit Script
# Automatically commits and pushes changes across multiple repositories with AI-generated messages
# --- Configuration and Defaults ---
readonly SCRIPT_NAME="$(basename "$0")"
readonly SCRIPT_VERSION="2.0.1"
@WomB0ComB0
WomB0ComB0 / datadog-init.tsx
Created September 19, 2025 11:20
datadog-init - Enhanced with AI-generated documentation
'use client';
import { datadogRum } from '@datadog/browser-rum';
import type { RumInitConfiguration } from '@datadog/browser-rum-core';
import app from 'next/app';
import { cache, memo, useEffect } from 'react';
/**
* Type declaration extending the global Window interface to include Datadog initialization flag
* @interface Window
@WomB0ComB0
WomB0ComB0 / adsense.tsx
Created September 19, 2025 11:18
adsense - Enhanced with AI-generated documentation
'use client';
import { config } from '@/config';
import { useEffect } from 'react';
interface AdSenseProps {
adSlot: string;
adFormat?: 'auto' | 'fluid';
style?: React.CSSProperties;
}