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
<!-- sample DOM to be scanned by the JS below to pull out authors of articles written in 2022 and later | |
<main class="column"> | |
<ul> | |
<li><article class="content is-clearfix"><h3><a href="/blog/article1">Article 1 Title</a></h3><p><span>Betty Farquharson</span> on <span>February 22nd 2023</span></p>Article 1 description text. <a class="is-pulled-right" href="/blog/article1">Read the rest of this post</a></article><hr> | |
</li> | |
<li><article class="content is-clearfix"><h3><a href="/blog/article2">Article 2 Title</a></h3><p><span>Jimmy Retalic</span> on <span>February 21st 2023</span></p>Article 2 description text. <a class="is-pulled-right" href="/blog/article2">Read the rest of this post</a></article><hr> | |
</li> | |
<li><article class="content is-clearfix"><h3><a href="/blog/article3">Article 3 Title</a></h3><p><span>Jimmy Retalic</span> on <span>February 21st 2022</span></p>Article 3 description text. <a class="is-pulled-right" href="/blog/article3">Read the rest of this post</a></article><hr> | |
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
.contentHidden { | |
display: none; | |
} |
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
// here filesToCreate had an array of object literals with details for file creation. | |
// so much SMH...instead, create an array of unresolved promises, then use Promise.all() | |
filesToCreate.forEach(file => { | |
this.log('creating file ' + file.name) | |
fs.writeFile(file.name, file.text) | |
.then(() => { | |
this.log(`created file ${file.name}`) | |
}, | |
error => { |
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
0 info it worked if it ends with ok | |
1 verbose cli [ | |
1 verbose cli '/usr/local/Cellar/node/12.6.0/bin/node', | |
1 verbose cli '/usr/local/bin/npm', | |
1 verbose cli 'run', | |
1 verbose cli 'prettier:verify' | |
1 verbose cli ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 verbose run-script [ 'prettier:verify' ] |
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
this == that; |
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
*/2 * * * * /Users/pchittum/Stuff/git/sfdx-projects/norf/writeapexlog.sh |
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
<aura:component > | |
<aura:handler name="init" value="{!this}" action="{!c.doInit}" /> | |
</aura:component> |
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
{ | |
"status": 0, | |
"result": { | |
"actionOverrides": [], | |
"activateable": false, | |
"childRelationships": [ | |
{ | |
"cascadeDelete": true, | |
"childSObject": "AttachedContentDocument", | |
"deprecatedAndHidden": false, |
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
List<User> notifyUsers = new List<User>(); | |
List<Group> notifyGroups = new List<Group>(); | |
List<Property__c> properties = [SELECT | |
TYPEOF Owner | |
WHEN User THEN Id, Name, Username, Email | |
WHEN Group THEN Id, Name, Email, DoesSendEmailToMembers | |
END | |
FROM Property__c | |
WHERE ID in Trigger.new]; |
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
<aura:component controller="PicklistController"> | |
<aura:attribute name="sObjectName" type="String" /> | |
<aura:attribute name="fieldName" type="String" /> | |
<aura:attribute name="picklistValues" type="Object" /> | |
<aura:handler name="init" value="{!this}" action="{!c.doInit}" /> | |
</aura:component> |
NewerOlder