Skip to content

Instantly share code, notes, and snippets.

View crtag's full-sized avatar

Alexey Novikov crtag

View GitHub Profile
@crtag
crtag / hubspot-workflow-create-company.js
Last active October 13, 2020 05:52
Hubspot workflow Node JS webhook to create a company record via API call.
// TODO: configure your own hubspot client
/**
* This webhook is triggered by Hubspot workflow and receives a full Hubspot contact object
* to create the company for. It does expect company name property, but will default
* company name to contact `${firstname} ${lastname} construct
*
*/
module.exports = async (req, res) => {
@crtag
crtag / README.md
Created February 20, 2025 02:41
OCI Data Pump Export File Reconstruction Script

OCI Data Pump Export File Reconstruction Script

Purpose: This script is specifically designed for reconstructing Oracle Data Pump export files that were written to Object Storage using Swift format. It combines segmented files from a source bucket (accessed via PAR) into their original format suitable for import using Oracle Data Pump (impdp). This script can be repurposed for similar format file transfers or other segmented file formats.

Prerequisites

Environment

  • OCI Cloud Shell or equivalent Bash shell environment with configured OCI CLI
  • Proper IAM permissions to:
  • Read from source bucket (via PAR)