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 |
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
Show hidden characters
| { | |
| "workbench.colorTheme": "Default Dark+", | |
| "git.postCommitCommand": "sync", | |
| "git.enableSmartCommit": true, | |
| "git.confirmSync": false, | |
| "git.autofetch": true, | |
| "terminal.integrated.fontFamily": "Consolas", | |
| //"prettier.prettierPath": "/home/coder/.npm/lib/node_modules/prettier", | |
| "editor.formatOnSave": true, | |
| "editor.defaultFormatter": "esbenp.prettier-vscode", |
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
| public with sharing class CreateNamedCredsController { | |
| public static final String CLIENT_ID = '<clientid>'; | |
| public static final String CLIENT_SECRET = '<clientsecret>'; | |
| public static final String API_VERSION='v51.0'; | |
| public static final String TOKEN_ENDPOINT_URL = 'https://login.salesforce.com/services/oauth2/token'; | |
| public static final String AUTHORIZE_ENDPOINT_URL = 'https://login.salesforce.com/services/oauth2/authorize'; | |
| public static final String REDIRECT_URL = URL.getSalesforceBaseUrl().toExternalForm()+'/apex/AuthHandler'; | |
| public static final String NAMEDCRED_TOOLING_ENDPOINT_URL = URL.getSalesforceBaseUrl().toExternalForm()+'/services/data/'+API_VERSION+'/tooling/sobjects/NamedCredential/'; | |
| public static final String AUTH_PROVIDER_NAME = 'SF_Auth'; | |
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 for:each="{forecastRevenues}" for:item="period"> | |
| <tr key="{period.index}"> | |
| <td | |
| data-label="{period}" | |
| data-id="{period.Id}" | |
| data-field="Forcast_Period_Start__c" | |
| > | |
| <div class="slds-truncate" title="{period.Forecast_Period_Start__c}"> | |
| <lightning-input | |
| type="date" |
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:-default}" | |
| foldername="$2" | |
| if [[ $foldername != "" ]]; then | |
| query="Select Folder.DeveloperName,DeveloperName from EmailTemplate where Folder.DeveloperName='$foldername'" | |
| else | |
| query="Select Folder.DeveloperName,DeveloperName from EmailTemplate" | |
| fi | |
| # echo $orgname $query |
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
| AIInsightAction | |
| AIInsightFeedback | |
| AIInsightReason | |
| AIInsightValue | |
| AIPredictionEvent | |
| AIRecordInsight | |
| AcceptedEventRelation | |
| Account | |
| AccountBrand | |
| AccountBrandShare |
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
| AboutMe User | |
| AboutMe UserChangeEvent | |
| AcceptLanguage CredentialStuffingEvent | |
| AcceptLanguage CredentialStuffingEventStore | |
| AcceptanceLabel Recommendation | |
| AcceptanceLabel RecommendationChangeEvent | |
| AccessCode ConferenceNumber | |
| AccessLevel AccountBrandShare | |
| AccessLevel AssessmentIndicatorDefinitionShare | |
| AccessLevel AssessmentTaskDefinitionShare |