Skip to content

Instantly share code, notes, and snippets.

//gatsbyjs source plugin for FRED Economic Research Data https://fred.stlouisfed.org/
// Var Fred = require('fred-api');
const fetch = require('node-fetch');
const queryString = require('query-string');
exports.sourceNodes = async ({
actions,
createNodeId,
createContentDigest
}, configOptions) => {
module.exports = function(context, callback) {
// Simple webservice that scrapes a page to find out which marketing automation tools are being used.
// Working Example
// https://wt-611d8b75bb0dc120b61fe552a63a32d9-0.sandbox.auth0-extend.com/find-marketing-automation-tool?domain=vmware.com
// replace domain with site you want to find out which marketing automation tools they use.
// There is an aws lambda for marketo webhook just ask me about it.
// Paste code below into https://webtask.io/make and try it for yourself
// TODO
// Website redirects automatically but not recognizing or waiting for google tag manager
# Curl Helper Guide
### Install Jq
jq is a lightweight and flexible command-line JSON processor. This will make reading the output of the API calls a bit easier. https://stedolan.github.io/jq/download/
### Environment Variables
Enter each of these commands into the terminal to setup your curl environment.
@i001962
i001962 / file1.txt
Created January 8, 2020 05:58
Created via API
Demo
@i001962
i001962 / file1.txt
Created January 8, 2020 19:41
Created via API
Demo
@i001962
i001962 / file1.json
Created January 8, 2020 20:03
Created via API
{maxSupportedAPIVersion: 8}
@i001962
i001962 / file1.json
Created January 8, 2020 20:09
Created via API
{"maxSupportedAPIVersion": "8"}
@i001962
i001962 / seal1.json
Created January 8, 2020 20:11
Created via API
%7B%0A%20%20maxSupportedAPIVersion%3A%208%2C%0A%20%20documents%3A%20%5B%0A%20%20%20%20%7B%0A%20%20%20%20%20%20lookupInfo%3A%20glove.png%20-%20hmm%20take%202%2C%0A%20%20%20%20%20%20retrievalId%3A%20ri31737348d90d51c84a37d2f16e35c1ba0ce72939cf5c9d95bcd25765bd595e34b%2C%0A%20%20%20%20%20%20seal%3A%20%7B%0A%20%20%20%20%20%20%20%20documentInfo%3A%20%7B%0A%20%20%20%20%20%20%20%20%20%20lookupInfo%3A%20glove.png%20-%20hmm%20take%202%2C%0A%20%20%20%20%20%20%20%20%20%20submittedAt%3A%201578182710875%0A%20%20%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%20%20proofs%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20bundleMethod%3A%20BALANCED_MERKLE_TREE%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20operations%3A%20%5B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20blockChainId%3A%200x00791f855257c04bd90f68ada195c24308ba36d275623629f903cc52fb1de1cf%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20instanceName%3A%204%2C%0A%20%20%20%20%20%20%

Keybase proof

I hereby claim:

  • I am i001962 on github.
  • I am i001962 (https://keybase.io/i001962) on keybase.
  • I have a public key ASCKgIno7yA84ya-E2OrJJ6jDEFUPKn4YfC7P-gqQTTPsgo

To claim this, I am signing this object:

// example calling Cryptowerk.com API to register a hash to blockchains
// APIKey space APICred
const axios = require('axios');
var postData = {
hashes: "1111111111111111111111111111111111111111111111111111111111111111"
};
let axiosConfig = {