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
let fund = require("./data/dreaminvest-data-fund.json"); | |
let plan = require("./data/dreaminvest-data-plan.json"); | |
let records = fund.records; | |
let i,j,temparray = [],chunk = 200; | |
let fname = `data/dreaminvest-data-fund${i}d.json`; | |
let writeFile = function(name, contents) { | |
var fs = require('fs'); | |
fs.writeFile(name, contents, function(err) { |
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
#!/bin/bash | |
sfdx force:org:delete -u Demo -p | |
rm -rf Demo |
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
#!/bin/sh | |
# NOTE: The pilot version included the Heroku CLI. | |
# Running the script will blow away ALL Heroku folders. | |
# You may need to reinstall the Heroku Toolbelt. | |
# NOTE: As with any script you download on the internet, | |
# please make sure you understand what each command is | |
# going to do before running it. | |
rm -rf /usr/local/heroku |
This file has been truncated, but you can view the full file.
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
<?xml version="1.0" encoding="UTF-8"?> | |
<Profile xmlns="http://soap.sforce.com/2006/04/metadata"> | |
<applicationVisibilities> | |
<application>Cloud_Tech_Support</application> | |
<default>false</default> | |
<visible>false</visible> | |
</applicationVisibilities> | |
<applicationVisibilities> | |
<application>LiveChat</application> |
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
#!/bin/bash | |
if [ $# -eq 0 ] | |
then | |
echo "No arguments supplied, please supply the project directory, the source directory within the project directory and optionally 'yes' to preserve the original metadata." | |
exit 1 | |
fi | |
if [ -z "$2" ] | |
then |
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
#!/bin/bash | |
txtred='\e[0;31m' # Red | |
bldgrn='\e[1;32m' # Green | |
txtrst='\e[0m' # Text Reset | |
#trap "exit 1" TERM | |
#export TOP_PID=$$ | |
prompt() { |
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
#!/bin/bash | |
# specify your username or alias | |
usernameOrAlias=$1 | |
hub=$(sfdx force:data:soql:query -q "SELECT DurableId, SettingValue FROM OrganizationSettingsDetail WHERE SettingName = 'ScratchOrgManagementPref'" -t -u ${usernameOrAlias} --json) | |
# parse response | |
size="$(echo ${hub} | jq -r .result.size)" |
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
import { flags, SfdxCommand } from '@salesforce/command'; | |
import { Messages, SfdxError } from '@salesforce/core'; | |
import { AnyJson } from '@salesforce/ts-types'; | |
import { Twilio } from 'twilio'; | |
import TwilioConfig from '../../../lib/twilioconfig'; | |
// Initialize Messages with the current plugin directory | |
Messages.importMessagesDirectory(__dirname); | |
// Load the specific messages for this file. Messages from @salesforce/command, @salesforce/core, |
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
import { ConfigFile } from "@salesforce/core"; | |
export default class TwilioConfig extends ConfigFile<ConfigFile.Options> { | |
public static getFileName(): string { | |
return 'twilioconfig.json'; | |
} | |
} |
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
<!-- visStyles Static resource for CSS styles --> | |
.gi-override { | |
position: relative; | |
} | |
.webrtc-container { | |
position: relative; | |
float: left; | |
width: 559px; | |
height: 420px; |