Skip to content

Instantly share code, notes, and snippets.

View taylorreece's full-sized avatar

Taylor Reece taylorreece

View GitHub Profile
module.exports = async ({ logger, configVars }, stepResults) => {
logger.info("Hello World");
return { data: null };
};
[
{
"event_name": "My awesome event 0",
"acme_id": "53b78d74-40cf-4eab-831c-6a4891d75ca2"
},
{
"event_name": "My awesome event 1",
"acme_id": "7168ee1f-bae5-4f30-bb0d-f13b1e9b1e2d"
},
{
@taylorreece
taylorreece / example-events.json
Created September 14, 2023 18:53
Example Events to Import into Dynamics
[
{
"event_name": "My awesome event 0",
"acme_id": "53b78d74-40cf-4eab-831c-6a4891d75ca2"
},
{
"event_name": "My awesome event 1",
"acme_id": "7168ee1f-bae5-4f30-bb0d-f13b1e9b1e2d"
},
{
[
{
"event_name": "My awesome event 0",
"acme_id": "e90dc318-5efc-4142-8105-7b99258988e6"
},
{
"event_name": "My awesome event 1",
"acme_id": "30988b24-6b7b-4d80-bd56-161820b087ca"
},
{
const express = require("express");
const bodyParser = require("body-parser");
const app = express();
const port = 3000;
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: false }));
app.get("/oauth/authorize", (req, res) => {
[
{
"comment_title": "optio molestias id quia eum",
"post_title": "qui est esse"
},
{
"comment_title": "doloribus ad provident suscipit at",
"post_title": null
},
{
[
{ "post": 2, "comment": 10 },
{ "post": 3, "comment": 20 },
{ "post": 5, "comment": 50 }
]
member_id member_num acct_num loan_num first last
1 123 123 123 Taylor Reece
2 123 123 123 John Doe
@taylorreece
taylorreece / file.jsonl
Created July 27, 2022 03:14
Example JSONL File
{"name": "Gilbert", "wins": [["straight", "7♣"], ["one pair", "10♥"]]}
{"name": "Alexa", "wins": [["two pair", "4♠"], ["two pair", "9♠"]]}
{"name": "May", "wins": []}
{"name": "Deloise", "wins": [["three of a kind", "5♣"]]}
@taylorreece
taylorreece / groupAnagrams.js
Created November 22, 2021 15:19
Group Annagrams
// https://twitter.com/cassidoo/status/1462644774834475008
const groupAnagrams = (words) =>
Object.values(
words.reduce((acc, word) => {
const key = word.split("").sort().join("");
acc[key] = [...(acc[key] || []), word];
return acc;
}, {})
);