This file contains hidden or 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
EntityName,FieldName | |
AIPredictionEvent,ReplayId | |
AIPredictionEvent,CreatedDate | |
AIPredictionEvent,CreatedById | |
AIPredictionEvent,EventUuid | |
AIPredictionEvent,PredictionEntityId | |
AIPredictionEvent,InsightId | |
AIPredictionEvent,TargetId | |
AIPredictionEvent,Confidence | |
AIPredictionEvent,FieldName |
This file contains hidden or 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
@IsTest | |
public class LimitsIllustratorTest { | |
private static final Integer RECORDS_TO_INSERT_PER_ITERATION = 9000; | |
private static final INTEGER SOQL_QUERIES_PER_ITERATION = 40; | |
private static final Integer FUTURE_METHOD_ITERATIONS = 3; //you can go upto 50 here theoretically, but Salesforce will kill the test after a while | |
@TestSetup | |
private static void setup() { | |
Test.startTest(); | |
for (Integer i = 0; i < FUTURE_METHOD_ITERATIONS; i++) { | |
LimitsIllustratorTest.insertAccounts(i); |
This file contains hidden or 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
{ | |
"info": { | |
"_postman_id": "35d1388c-2a10-4698-9cd6-6fb250c2b458", | |
"name": "Local SF Auth", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", | |
"_exporter_id": "1474473", | |
"_collection_link": "https://team-sf.postman.co/workspace/Salesforce~e589a405-8419-4e78-9608-343f0d307f55/collection/1474473-35d1388c-2a10-4698-9cd6-6fb250c2b458?action=share&source=collection_link&creator=1474473" | |
}, | |
"item": [ | |
{ |
This file contains hidden or 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
class Membership { | |
Id apexClassId; | |
Id apexTestSuiteId; | |
public Membership(Id suiteId, Id classId) { | |
this.apexTestSuiteId = suiteId; | |
this.apexClassId = classId; | |
} | |
} | |
String suiteName = 'My_Test_Suite'; |
This file contains hidden or 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
<template> | |
<h2>Dynamic Component</h2> | |
<div lwc:dom="manual" class="container"></div> | |
</template> |
This file contains hidden or 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
#!/usr/bin/env bash | |
set -euo pipefail | |
# A script for invoking SF REST APIs using session id from sfdx | |
if [[ $1 = "-h" || $1 = "-help" ]]; then | |
echo "Usage: $(basename $0) <org username/alias> <path starting from version number> <additional request info>" | |
exit 1 | |
fi |
This file contains hidden or 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
#!/usr/bin/env bash | |
set -euo pipefail | |
usage="./traceFlag.sh <traced user name>(defaults to 'System') <trace interval in minutes>(defaults to 30 minutes)" | |
if [[ "$1" = "-h" ]]; then | |
echo $usage | |
exit 0 | |
fi | |
tracedUserName=${1:-System} | |
traceInterval=${2:-30} | |
echo "tracing $tracedUserName for $traceInterval minutes" |
This file contains hidden or 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
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.234.0/containers/ubuntu/.devcontainer/base.Dockerfile | |
# [Choice] Ubuntu version (use ubuntu-22.04 or ubuntu-18.04 on local arm64/Apple Silicon): ubuntu-22.04, ubuntu-20.04, ubuntu-18.04 | |
ARG VARIANT="jammy" | |
FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT} | |
# [Optional] Uncomment this section to install additional OS packages. | |
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ | |
# && apt-get -y install --no-install-recommends <your-package-list-here> |
This file contains hidden or 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
#!/usr/bin/env bash | |
set -euo pipefail | |
orgname=$1 | |
sfdx force:data:soql:query -q "Select FolderName,DeveloperName from Report where FolderName='Public Reports'" -u $orgname -r csv | tail -n +2 | grep -e "^[^,]" | sed 's/^/Report:/g' | sed -z 's/,/\//g' | tr '\n' ', ' | sed 's/.$//' | xargs -I '%' sfdx force:source:retrieve -m "%" -u $orgname -w 5 |
This file contains hidden or 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
input-xml: yes | |
quiet: yes | |
indent: yes | |
indent-attributes: yes | |
indent-spaces: 4 | |
char-encoding: utf8 | |
wrap: 0 | |
wrap-asp: no | |
wrap-jste: no | |
wrap-php: no |
NewerOlder