fflib and at4dx should be pulled locally and pushed to your orgs.
They should NOT be backed up in git.
To install the packages run (from within your SFDX Project):
node --harmony setup.mjs e- ORG_ALIAS
String theToken = ''; | |
for (String idPart : UserInfo.getSessionId().split('')) { | |
theToken += '"' + idPart + '",'; | |
} | |
System.debug('[ ' + theToken + '].join(\'\')'); | |
// DEBUG: [ "0", "1", "2", ...].join('') | |
// the output can be pasted into a browser console to join it back into a single string |
.theme-light { | |
--backgroundColorA: var(--c-282339); | |
--backgroundColorA-RGB: 40,35,57; | |
--backgroundColorB: var(--c-211D2F); | |
--backgroundColorC: var(--c-302B42); | |
--backgroundColorD: var(--c-3A3557); | |
--backgroundColorE: var(--c-4A475F); | |
--backgroundColorF: var(--c-191525); | |
--backgroundColorG: var(--c-2F2943); | |
--borderColor3: var(--c-8480A0); |
[ | |
"Blues", | |
"Classic Rock", | |
"Country", | |
"Dance", | |
"Disco", | |
"Funk", | |
"Grunge", | |
"Hip-Hop", | |
"Jazz", |
String extFileUrl = 'https://images.unsplash.com/photo-1592746455916-7ac99236b6d6?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=634&q=80'; | |
Http h = new Http(); | |
HttpRequest req = new HttpRequest(); | |
// Replace any spaces in extFileUrl with %20 | |
extFileUrl = extFileUrl.replace(' ', '%20'); | |
// Set the end point URL | |
req.setEndpoint(extFileUrl); | |
req.setMethod('GET'); |
/* Allows devs to see errors that probably should be logged to the console but aren't */ | |
.auraErrorBox { | |
width: 100%; | |
} | |
.auraErrorBox > span { | |
display: flex; | |
align-items: center; | |
font-weight: 700; | |
margin-bottom: 8px; | |
} |
fflib and at4dx should be pulled locally and pushed to your orgs.
They should NOT be backed up in git.
To install the packages run (from within your SFDX Project):
node --harmony setup.mjs e- ORG_ALIAS
/* Allows devs to see errors that probably should be logged to the console but aren't */ | |
.auraErrorBox { | |
width: 100%; | |
} | |
.auraErrorBox > span { | |
display: flex; | |
align-items: center; | |
font-weight: 700; | |
margin-bottom: 8px; | |
} |
for /r %d in (*) do copy "%d" "C:\Documents\PATH\TO\SOURCE" |
Long dt1Long = DateTime.now().addDays(-1).getTime(); | |
Long dt2Long = DateTime.now().getTime(); | |
Long milliseconds = dt2Long - dt1Long; | |
Long seconds = milliseconds / 1000; | |
Long minutes = seconds / 60; | |
Long hours = minutes / 60; | |
Long days = hours / 24; |