Skip to content

Instantly share code, notes, and snippets.

@dennisedson
dennisedson / gist:666742c45701e662075bc44f22902574
Created March 18, 2025 13:44
Generate an invoice with HubSpot's APIs
const axios = require('axios');
const hubspot = require('@hubspot/api-client');
exports.main = async (event, callback) => {
const token = process.env.Token;
const hubspotClient = new hubspot.Client({ accessToken: token });
// Retrieve the deal record ID (hs_object_id) from the workflow input fields.
const hs_object_id = event.inputFields['hs_object_id']; // This is the deal ID
Deep research topic idea: replace the following with whatever you are building. be as specific as possible. useful to use AI to help refine this initial prompt.
I would like to create an app using vercel and supabase that creates matches for pickleball the flow should looks something like this, but i am open to changes 1. a person navigates to a website where they can create an event. An event would be considered a series of games 2. when the user chooses create an event, they are then asked to input the players. after inputting the players, we should store them in a database so we can quickly add them for future events. 3. when inputting players, we will add name and pickleball rank which will be a number in .5 increments between 1 and 5. 4. after adding players, the user will submit this list and the app should generate a series of games. the games will be a combo of 4 players playing 2 versus 2. The app should attempt to make the play time for each player equivalent and try to make sure everyone plays w
@dennisedson
dennisedson / .circleci config.yml
Created August 6, 2019 11:04 — forked from ryanshoover/.circleci config.yml
CircleCI 2.1 Continuous Integration with WP Engine
# Continuous Integration to a WP Engine install
# PHP CircleCI 2.1 configuration file
# Requirements:
# 1. In CircleCI settings, add environment variables for your site's installs:
# * WPE_PRODUCTION_INSTALL=thenameofyourproductioninstall
# * WPE_STAGING_INSTALL=thenameofyourstaginginstall
# * WPE_DEVELOPMENT_INSTALL=thenameofyourdevelopmentinstall
# 2. In your repo, have two files
# * `./.gitignores/__default` -- Excludes any compiled files