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
/** | |
* RecipeJsonViewer - A utility for visualizing JSON recipe data as interactive graphs | |
* | |
* Usage: | |
* const viewer = new RecipeJsonViewer(containerElement, options); | |
* viewer.loadJson(jsonData); | |
*/ | |
class RecipeJsonViewer { | |
constructor(container, options = {}) { | |
this.container = container; |
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
-------------------------------------------------------------------- | |
-- Queries related to distribution of metadata. | |
-- Find the number of users per profile. | |
SELECT count(id), Profile.name | |
FROM User | |
WHERE User.IsActive = true | |
GROUP BY Profile.name | |
-- Find the distribution of Apex classes per namespace. | |
select count(id), NameSpacePrefix |
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
{ | |
"orgName": "Salesforce Developer", | |
"edition": "Enterprise", | |
"hasSampleData": "true", | |
"features": ["MultiCurrency","DeferSharingCalc","PersonAccounts"], | |
"settings": { | |
"mobileSettings": { | |
"enableS1EncryptedStoragePref2": true | |
}, | |
"omniChannelSettings": { |
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
PS C:\Users\Saicharan Reddy K\Desktop\VSCodeSetup> sfdx force:data:record:create -s Contact -v "LastName=Acme" | |
Successfully created record: 0030K00002IDJOWQA5. | |
PS C:\Users\Saicharan Reddy K\Desktop\VSCodeSetup> sfdx force:data:record:update -s Contact -i 0030K00002IDJOW -v "LastName=AcmeUpdate" | |
Successfully updated record: 0030K00002IDJOW. | |
PS C:\Users\Saicharan Reddy K\Desktop\VSCodeSetup> sfdx force:data:record:get -s Contact -i 0030K00002IDJOW | |
attributes: | |
type: "Contact" | |
url: "/services/data/v48.0/sobjects/Contact/0030K00002IDJOWQA5" | |
Id: "0030K00002IDJOWQA5" | |
IsDeleted: null |
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
[ | |
"shane-sfdx-plugins", | |
"@muenzpraeger/sfdx-plugin" | |
"sfdx-waw-plugin", | |
"mo-dx-plugin", | |
"sfdx-cmdt-plugin", | |
"texei-sfdx-plugin", | |
"etcopydata", | |
"sfdx-browserforce-plugin", | |
"sfdx-migration-automatic", |
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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<Package xmlns="http://soap.sforce.com/2006/04/metadata"> | |
<types> | |
<members>*</members> | |
<name>ApexClass</name> | |
</types> | |
<types> | |
<members>*</members> | |
<name>ApexComponent</name> | |
</types> |
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
{ | |
"content": [ | |
{ | |
"type":"cms_image", | |
"urlName":"urlname", | |
"status":"Draft", | |
"body": { | |
"title" : "Draft Blade Coffee Grinder Large", | |
"altText" : "blade_coffee_grinder_large", | |
"thumbUrl":"https://image.shutterstock.com/image-photo/mountains-during-sunset-beautiful-natural-260nw-407021107.jpg", |
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
OpenSSL x509 -req -sha256 -days 365 -in server.csr -signkey server.key -out server.crt |
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
OpenSSL req -new -key server.key -out server.csr |
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
openssl genrsa -des3 -passout pass:SomePassword -out server.pass.key 2048 | |
openssl rsa -passin pass:SomePassword -in server.pass.key -out server.key |
NewerOlder