Skip to content

Instantly share code, notes, and snippets.

@ChristineP2
ChristineP2 / ReuseRequest.js
Created December 29, 2021 23:17 — forked from prashantagarwal/ReuseRequest.js
Script to fetch and reuse a request from a different collection
function executeReferencedRequest({ collectionUUID, requestName }, callback) {
var _ = require('lodash');
//Please refer Postman docs on how to generate an API KEY https://go.pstmn.io/docs-pro-api-intro
const API_KEY = "<API-KEY>";
/*
Here we are making an API call to Postman (Refer: https://api.getpostman.com) using pm.sendRequest from the script,
to fetch the collection from which we need to reuse the request.
*/
@ChristineP2
ChristineP2 / 01-generate-ed25519-ssh-key.sh
Created July 27, 2021 23:23 — forked from grenade/01-generate-ed25519-ssh-key.sh
generate ed25519 ssh and gpg/pgp keys and set file permissions for ssh keys and config
#!/bin/bash
# generate new personal ed25519 ssh key
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "rob thijssen <[email protected]>"
# generate new host cert authority (host_ca) ed25519 ssh key
# used for signing host keys and creating host certs
ssh-keygen -t ed25519 -f manta_host_ca -C manta.network
eval "$(ssh-agent -s)"