Skip to content

Instantly share code, notes, and snippets.

View thecatfix's full-sized avatar
💬
Will reply if u direct mention me on GitHub or Twitter/X.

John Shelburne thecatfix

💬
Will reply if u direct mention me on GitHub or Twitter/X.
View GitHub Profile
@thecatfix
thecatfix / deepseekthis.py
Last active January 31, 2025 02:07 — forked from willccbb/grpo_demo.py
GRPO Llama-1B
# train_grpo.py
import re
import torch
from datasets import load_dataset, Dataset
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import LoraConfig
from trl import GRPOConfig, GRPOTrainer
# Load and prep dataset
@thecatfix
thecatfix / spitball.md
Created December 10, 2024 21:46
Spitballing with Ghatgippdy

Exploring the World of Automated Pipelines: A Rapid-Fire Analogy Session

Sometimes, the best ideas come from throwing thoughts against the wall and seeing what sticks. Today, I want to try something new--an approach I've never taken before--to spark creativity and explore a topic from fresh angles.

Here's the plan: I'll throw a few phrases your way. These phrases will act as starting points, and I'd like you to respond with quick, sharp analogies or short descriptions that pop into your mind. Think of it as a brainstorming session but focused and fast-paced--a spitball session, if you will.

You ChatGPT
@thecatfix
thecatfix / extremeprogramming.md
Created December 7, 2024 16:01
Extreme Programming

Extreme Programming

Extreme Programming (XP) is an agile software development methodology that emphasizes customer satisfaction, flexibility, and high-quality software delivery. It was introduced by Kent Beck in the late 1990s and is designed to improve software development practices through a set of core values, principles, and practices. Here are some key aspects of Extreme Programming:

Core Values

  1. Communication: Encourages open communication among team members, stakeholders, and customers to ensure that everyone is on the same page.
  2. Simplicity: Focuses on delivering the simplest solution that meets the customer's needs, avoiding unnecessary complexity.
  3. Feedback: Regular feedback from stakeholders and continuous testing help ensure that the software meets requirements and can adapt to changes.
  4. Courage: Encourages team members to take bold decisions, make changes, and try new approaches, even when it may be uncomfortable.
  5. Respect: Promotes a respectful and collaborat
@thecatfix
thecatfix / gcpapilist.md
Created December 4, 2024 20:08
Google Cloud Platform APIs

Google Cloud Platform APIs

https://developers.google.com/apis-explorer This is a comprehensive list of Google Cloud Platform (GCP) APIs and their descriptions. Each entry includes:

  • Name: The official name of the API service
  • Description: A brief explanation of the API's functionality and purpose

The list encompasses various categories of APIs including but not limited to:

  • Cloud Infrastructure Services
  • Machine Learning & AI
@thecatfix
thecatfix / codespacegiterror.md
Created December 4, 2024 04:15
What the Git

Solving Git Issues in GitHub Codespaces: A Beginner-Friendly Guide

If you’re using GitHub Codespaces to work on your project, you’ve chosen a powerful, cloud-based tool for coding and collaboration. But even in this smooth environment, Git issues can occasionally crop up. Don’t worry—these problems are common and easy to fix once you understand what’s happening.

Here’s a simple guide to help you understand and solve these issues while working in Codespaces.


The Problem: Your Changes and the Repository’s Changes Don’t Align

@thecatfix
thecatfix / ConversationsWithGCPgemini.md
Last active December 3, 2024 15:04
Conversations With Google Cloud Gemini

Explain how I reregister certificates and why my domain will no longer work in load balancer.

***Scenario - ***

Okay, I understand. While the provided context doesn't directly explain how to re-register certificates or why your domain might stop working with a load balancer, I can offer some general information based on common scenarios and the provided links. Why a domain might stop working with a load balancer:

  • Certificate Expiration: SSL certificates have an expiration date. If your certificate expires, the load balancer will no longer be able to serve traffic securely using your domain. This is a common reason for domains to stop working.
  • Certificate Revocation: In some cases, a certificate might be revoked before its expiration date due to security concerns. This would also cause the load balancer to stop serving traffic for your domain. Misconfigured DNS: If the DNS records for your domain are not correctly pointing to the load balancer, traffic will not be routed properly.
  • Changes to Loa
@thecatfix
thecatfix / 4 Key Takeaways from Snowflake 2022.md
Last active November 30, 2024 22:12
Snowflake Summit 2022

4 Key Takeaways from Snowflake Summit

Created: November 1, 2022 11:00 AM Created Date: 11/01/22 Created Time: November 1, 2022 11:00 AM Property: November 1, 2022 11:00 AM Tags: Data, Snowflake

Going into Snowflake Summit 2022, I was excited to spend time with our customers and partners, and excited to be able to share some of the innovations we’ve been working on. And I was not disappointed! It felt great to experience the energy that only an in-person event can deliver. I relished talking to customers about how our products can help them meet and even surpass their business goals. For me, the most valuable part of it was hearing customer and partner reactions to the product announcements at the conference.

@thecatfix
thecatfix / SpinGCPANDacquireGitLab.md
Created November 29, 2024 18:32
Why Google Should Spin Out Google Cloud and Acquire GitLab

Why Google Should Spin Out Google Cloud and Acquire GitLab

In the tech world, Microsoft has firmly established itself with Azure and GitHub, offering a comprehensive cloud developer environment. Google, on the other hand, has the potential to make a bold move by acquiring GitLab and spinning out Google Cloud. This strategic decision could help Google catch up in the cloud developer space and offer a competitive alternative to Microsoft's ecosystem. By taking decisive action, Google could redefine its place in the rapidly evolving cloud services market and position itself as a leader in developer-focused innovation.


Microsoft’s Lead in the Cloud Developer Space

To understand why this move is critical for Google, it’s essential to examine Microsoft’s current dominance in the cloud market. Microsoft’s Intelligent Cloud segment, which includes Azure, server products, and enterprise services, has consistently outperformed Google Cloud. Its success is built on a combination of strategic acquisitions, d

@thecatfix
thecatfix / SSLTLS.md
Last active November 15, 2024 16:31
Certificates - Why They are Important

Why Do I Need A Certificate For A Website

Interesting to discover that another acronym that I glossed over actually ties back to my interest in the history of the internet and the keys of the internet

What is SSL/TLS. Why don't we talk about it more often

It's the public key private key converstation from the 7 keys of the internet conversation on Waveform podcast https://share.snipd.com/snip/fa0a4118-43ec-4f78-b337-641873ba6b8c

SSL (Secure Sockets Layer) and TLS (Transport Layer Security) are cryptographic protocols that secure communications over a network, such as the internet. They ensure that data sent between a user’s browser and a website (or between two systems) is encrypted, authenticated, and tamper-proof.

@thecatfix
thecatfix / dockerforboomers.md
Last active March 29, 2025 18:49
A Simple Explanation of Docker

A Simple Explanation of Docker

Explain the following as if i were 70 years old. Paint a clear picture.

A Dockerfile enables a self-contained environment, making cloud deployment easy and consistent. The entire environment can be recreated just by pulling and running the image, with no manual setup needed. This approach provides a reliable and efficient way to deploy applications directly from your GitHub repo to the cloud.

Special Lasagna

Imagine you have a recipe book with a favorite recipe--let's say, your special lasagna. This recipe book is like a Dockerfile. It has all the instructions needed to make that exact lasagna every time, just the way you like it.

Now, let's say your friend wants to make that lasagna too. Instead of them calling you up to ask about every ingredient and every step, they can just use your recipe. That recipe makes it easy to get the same results each time, no matter who's making it. This recipe book can travel anywhere, and as long as someone follows it, they'll