Skip to content

Instantly share code, notes, and snippets.

View brsanthu's full-sized avatar

Santhosh brsanthu

View GitHub Profile
@brsanthu
brsanthu / gist:5332a0c77b17d8d450334e84762334a4
Created October 17, 2024 20:54
Salesforce Setup Audit Actions
accountlayout
AccountPRMEnabled
activatedinteractiondefinition
activatedinteractiondefinitionWithSystemMode
activatedinteractiondefversion
activatedinteractiondefversionWithSystemMode
activatedPicklistValueWithColor
activatedPicklistValueWithColorCustom
activatedprocessdefinition
activateduser
@brsanthu
brsanthu / sfdc-sobjnumber-fields.md
Created October 16, 2024 22:38
Salesforce <Sobject>Number Fields
Object Name Label Type
Account AccountNumber Account Number Text (40)
ApiAnomalyEventStore ApiAnomalyEventNumber Event Name Auto Number
Asset SerialNumber Serial Number Text (80)
AssetRelationship AssetRelationshipNumber Asset Relationship Number Auto Number
AssociatedLocation AssociatedLocationNumber Associated Location Name Auto Number
BriefcaseRuleFilter FilterSeqNumber Filter Sequence Number Integer
Case CaseNumber Case Number Auto Number
ContentVersion VersionNumber Version Number Text (20)
https://s3-us-west-2.amazonaws.com/datasert-downloads-prd/realfire/releases/6.0.0/realfire-6.0.0-macosx.cocoa.aarch64.tar.gz
Realfire.app (v5.3.2)
└── Contents
├── Eclipse
│ ├── artifacts.xml
│ ├── configuration
│ │ ├── config.ini
│ │ ├── org.eclipse.equinox.simpleconfigurator
│ │ │ └── bundles.info
│ │ └── org.eclipse.update
│ │ └── platform.xml
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>Error Page</title>
<style>
/*! Lightning Design System 2.10.2 */
@charset "UTF-8";
Description: Web Application lambdas
Transform: AWS::Serverless-2016-10-31
AWSTemplateFormatVersion: '2010-09-09'
Parameters:
Version:
Description: Version of this template
Type: String
EnvName:
Description: An environment name that is prefixed to resource names
Type: String
@brsanthu
brsanthu / CombinationImagePainter.java
Created February 28, 2018 17:28
Nattable Combination (Multiple Images) Image Painter
import java.util.ArrayList;
import java.util.List;
import org.eclipse.nebula.widgets.nattable.config.IConfigRegistry;
import org.eclipse.nebula.widgets.nattable.layer.cell.ILayerCell;
import org.eclipse.nebula.widgets.nattable.painter.cell.BackgroundPainter;
import org.eclipse.nebula.widgets.nattable.style.CellStyleUtil;
import org.eclipse.nebula.widgets.nattable.style.IStyle;
import org.eclipse.swt.graphics.GC;
import org.eclipse.swt.graphics.Image;
@brsanthu
brsanthu / base64ArrayBuffer.js
Created February 21, 2018 01:48 — forked from jonleighton/base64ArrayBuffer.js
Encode an ArrayBuffer as a base64 string
// Converts an ArrayBuffer directly to base64, without any intermediate 'convert to string then
// use window.btoa' step. According to my tests, this appears to be a faster approach:
// http://jsperf.com/encoding-xhr-image-data/5
/*
MIT LICENSE
Copyright 2011 Jon Leighton
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:partner.soap.sforce.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<loginResponse>
<result>
<metadataServerUrl>https://cs18.salesforce.com/services/Soap/m/34.0/00D11000000DMaw</metadataServerUrl>
<passwordExpired>false</passwordExpired>
<sandbox>true</sandbox>
<serverUrl>https://cs18.salesforce.com/services/Soap/u/34.0/00D11000000DMaw</serverUrl>
<sessionId>00D11000000DMaw!AQQAQDaNeywTW68YuLMMssAVkBjRp41VTJ49R35B34MI8zZomQ_IDN_GPlh9iryrsbBAfNJdO7Oqf1r_6jhw.DDdhsGRbB2s</sessionId>
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:partner.soap.sforce.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<loginResponse>
<result>
<metadataServerUrl>https://cs18.salesforce.com/services/Soap/m/34.0/00D11000000DMaw</metadataServerUrl>
<passwordExpired>false</passwordExpired>
<sandbox>true</sandbox>
<serverUrl>https://cs18.salesforce.com/services/Soap/u/34.0/00D11000000DMaw</serverUrl>
<sessionId>00D11000000DMaw!AQQAQDaNeywTW68YuLMMssAVkBjRp41VTJ49R35B34MI8zZomQ_IDN_GPlh9iryrsbBAfNJdO7Oqf1r_6jhw.DDdhsGRbB2s</sessionId>