Skip to content

Instantly share code, notes, and snippets.

View alvinslee's full-sized avatar

Alvin Lee alvinslee

View GitHub Profile
@alvinslee
alvinslee / guestbook-ui-deployment.yaml
Created February 28, 2025 05:27
Using Qodo for Argo
# Taken from https://github.com/argoproj/argocd-example-apps/blob/master/kustomize-guestbook/guestbook-ui-deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: guestbook-ui
spec:
replicas: 1
revisionHistoryLimit: 3
selector:
@alvinslee
alvinslee / parse-data-response.md
Last active February 3, 2025 21:45
Qodo Responses

To provide a more comprehensive solution, I'll create a JavaScript function that can parse both JSON and CSV data. This function will determine the data type based on the input format and parse it accordingly.

function parseData(input) {
    // Check if the input is a JSON string
    if (input.trim().startsWith('{') || input.trim().startsWith('[')) {
        try {
            return JSON.parse(input);
@alvinslee
alvinslee / paint-mockup-optimized.gif
Last active January 24, 2025 01:27
Tricentis Tosca Vision AI
text goes here
@alvinslee
alvinslee / qrcodedemo-optimized.gif
Last active January 21, 2025 02:29
Tricentis QR Code Demo
qrcodedemo-optimized.gif
@alvinslee
alvinslee / image1.png
Last active January 13, 2025 15:30
FastHTML Assets
Assets related to blog post on FastHTML
@alvinslee
alvinslee / sample-privacy-notice.md
Last active January 5, 2025 17:15
Consent Privacy Policy

Consent Privacy Notice

Your privacy is important to us. This Privacy Notice explains how we collect, use, and share your information when you interact with our website, services, or make purchases. By using our services, you agree to the practices described below.

Information we collect

  • Personal information you provide: Includes your name, email address, shipping/billing address, and payment details when you make a purchase or create an account.
  • Automatically collected information: Includes details such as your IP address, browser type, and browsing behavior on our site (e.g., pages visited, items viewed), collected through cookies or similar technologies.
  • Optional information: Information provided voluntarily, such as feedback or survey responses.
@alvinslee
alvinslee / npm-install-meme.gif
Last active November 5, 2024 17:46
NPM Install Meme
npm-install-meme.gif
@alvinslee
alvinslee / storefront.png
Created October 31, 2024 17:42
storefront
image attached
@alvinslee
alvinslee / coding-plus-coffee-banner.png
Last active September 13, 2024 03:27
Coffee Plus Coding Logo
coding-plus-coffee-banner.png
Remix App on Heroku