This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = async ({ logger, configVars }, stepResults) => { | |
logger.info("Hello World"); | |
return { data: null }; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"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" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"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" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"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" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"comment_title": "optio molestias id quia eum", | |
"post_title": "qui est esse" | |
}, | |
{ | |
"comment_title": "doloribus ad provident suscipit at", | |
"post_title": null | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ "post": 2, "comment": 10 }, | |
{ "post": 3, "comment": 20 }, | |
{ "post": 5, "comment": 50 } | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
member_id | member_num | acct_num | loan_num | first | last | |
---|---|---|---|---|---|---|
1 | 123 | 123 | 123 | Taylor | Reece | |
2 | 123 | 123 | 123 | John | Doe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"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♣"]]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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; | |
}, {}) | |
); |
NewerOlder