Skip to content

Instantly share code, notes, and snippets.

View benjsicam's full-sized avatar
:octocat:
Kaizen

Benj Sicam benjsicam

:octocat:
Kaizen
View GitHub Profile
@benjsicam
benjsicam / netsuite_file_upload_wizard_css.js
Last active August 16, 2018 02:29
This code is the Client Side Script for a NetSuite Wizard or NetSuite Assistant which has a File Upload functionality.
/**
* Executes when the wizard page loads. Binds a function/callback on the Browse button.
* @returns {Void}
*/
function onPageInit() {
var fileUploadButton = jQuery('#browse');
if (fileUploadButton.length == 0) return;
@benjsicam
benjsicam / metabase-scaling.md
Last active October 19, 2022 07:53
Metabase Horizontal Scaling

Overview

Below is a Docker Compose file with 3 instances of Metabase connecting to the same PostgreSQL database and a shared volume mount.

version: "3"

services:
  metabase-instance1:
    image: "metabase/metabase:v0.32.9"

Keybase proof

I hereby claim:

  • I am benjsicam on github.
  • I am benjnextpay (https://keybase.io/benjnextpay) on keybase.
  • I have a public key whose fingerprint is 1769 F783 B7E7 5D01 EE13 2DB6 5978 B4D5 4DEC 4FC9

To claim this, I am signing this object: