Skip to content

Instantly share code, notes, and snippets.

View jamesray's full-sized avatar
🐺
All of my whoadies coyotes, we stickin' together, we comin' like shottas.

James Ray jamesray

🐺
All of my whoadies coyotes, we stickin' together, we comin' like shottas.
View GitHub Profile
@jamesray
jamesray / wp_site
Created July 8, 2023 01:39
wp cli site commands
NAME
wp site
DESCRIPTION
Creates, deletes, empties, moderates, and lists one or more sites on a multisite installation.
SYNOPSIS
@jamesray
jamesray / gist:7edf4dce4967b1e47f78fd9f90a25435
Created April 14, 2023 17:26
write a google form that connects to a github issue template?
You can't directly create a Google Form that connects to a GitHub issue template. However, you can achieve this by using Google Apps Script to create a custom form submission handler that sends the form data to the GitHub API, which in turn creates a new issue using a specific template.
First, create your Google Form and collect the necessary information for the issue.
Next, follow these steps to create a Google Apps Script to handle form submissions and create a GitHub issue:
Open the Google Form.
Click the three-dot menu in the top right corner and select "Script editor."
In the script editor, replace the default code with the following code:
javascript