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 / deployartifact.md
Last active November 1, 2024 03:46
Project Deployment Idea

Idea of Deploying with Artifact

Sources:

https://docs.gitlab.com/ee/api/deployments.html

It is possible to have a button on a GitLab README page that would deploy an artifact to a particular cloud provider. While the provided documentation doesn't explicitly mention this specific feature, it does discuss CI/CD pipelines and deployment to cloud providers like Google Cloud.

To achieve this, you would typically:

@thecatfix
thecatfix / pytontogo.md
Last active August 17, 2024 14:08
Gist from Drafts

Complexity of writing Python Machine Learning ANN and DNN Models in Go lang

Complexity Factors

    1. Language Paradigm Differences:
    • Python is dynamically typed and has a rich set of libraries for machine learning and data science.
    • Go is statically typed and is more focused on concurrency, simplicity, and performance.
    1. Libraries and Dependencies:
    • The Python code uses several libraries (e.g., numpy, torch, scipy, matplotlib, seaborn, argparse, etc.) which have no direct equivalents in Go.
    • Finding or implementing equivalent functionality in Go can be challenging and time-consuming.
@thecatfix
thecatfix / bio.md
Last active September 14, 2024 13:06
Gist from Drafts

A Journey in Financial Technology and Fixed Income Trading

My career in the financial services industry has been a relentless pursuit of innovation in financial technology. With over two decades of experience, I've played strategic roles with technology vendors and as a licensed member of the capital markets. My expertise is developing trading algorithms, electronic trading platforms, and managing key institutional relationships.

Early Career and Foundational Years

[{"longName":"Afghanistan","nameOrder":10,"longNameOrder":10,"continent":"ASI","id":"AFG","name":"Afghanistan","forgeSlug":"noc-af"},{"longName":"Albania","nameOrder":20,"longNameOrder":20,"continent":"EUR","id":"ALB","name":"Albania","forgeSlug":"noc-al"},{"longName":"Algeria","nameOrder":30,"longNameOrder":30,"continent":"AFR","id":"ALG","name":"Algeria","forgeSlug":"noc-dz"},{"longName":"American Samoa","nameOrder":40,"longNameOrder":40,"continent":"OCE","id":"ASA","name":"American Samoa","forgeSlug":"noc-as"},{"longName":"Andorra","nameOrder":50,"longNameOrder":50,"continent":"EUR","id":"AND","name":"Andorra","forgeSlug":"noc-ad"},{"longName":"Angola","nameOrder":60,"longNameOrder":60,"continent":"AFR","id":"ANG","name":"Angola","forgeSlug":"noc-ao"},{"longName":"Antigua and Barbuda","nameOrder":70,"longNameOrder":70,"continent":"AME","id":"ANT","name":"Antigua and Barbuda","forgeSlug":"noc-ag"},{"longName":"Argentina","nameOrder":80,"longNameOrder":80,"continent":"AME","id":"ARG","name":"Argentina","forg
@thecatfix
thecatfix / neveragain.md
Last active August 8, 2024 22:07
The horrible idea of asking ChatGPT about custom gpts

How It Started (Simple Question to ChatGPT)

how do i build a custom GPT that will write book reviews for me in my voice. I would like to upload some previous reviews for the GPT to know what my voice sounds like

Answer

Building a custom GPT model that writes book reviews in your voice involves several steps, including collecting and preparing your existing reviews, fine-tuning a pre-trained language model, and deploying the model for use. Here's a step-by-step guide:

Step 1: Collect and Prepare Your Existing Reviews

// See https://gist.github.com/thecatfix/60ba97638e223ccafe1a141852bafbee
// Select all elements with the class "book_info-title"
var titleElements = document.querySelectorAll('div[id^="book_info-title"]');
// Initialize an array to store the book info
var books = [];
// Loop through each title element to get the text content
titleElements.forEach(function(titleElement) {
@thecatfix
thecatfix / ExtractingbooksfromAmazon.md
Last active August 10, 2024 02:00
Gist from Drafts

Obtaining a List of Books from Amazon and Audible to Import into Goodreads

Problem:

You need a comprehensive list of all the books you have purchased from Amazon or Audible and want to import this list into Goodreads as a CSV file.

Steps to Obtain Book List:

1.	Amazon’s Your Books Feature:
•	Visit the Amazon “Your Books” page at www.amazon.com/your-books.
•	Adjust the browser zoom with Ctrl + - to shrink the font.