This file contains 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
<html> | |
<head> | |
<script type='text/javascript'> | |
function clickyClick() { | |
url = 'https://cei.org' + document.getElementById("contactid").value; | |
//cei.org used here for example | |
window.open(url, '_blank'); | |
} | |
</script> | |
</head> |
This file contains 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
.DS_Store | |
.sfdx | |
.project | |
.salesforce | |
.settings | |
node_modules | |
.idea |
This file contains 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
Integer sampleSize = 50; | |
//Testing functions by printing out names from sample db. | |
List<Contact> population = [SELECT LastName FROM Contact LIMIT 1000]; | |
List<Contact> sample = getContactSample(population,sampleSize); | |
System.debug('sample size: ' + sample.size()); | |
for(Contact sampledContact : sample){ | |
System.debug('Contact: ' + sampledContact.LastName); | |
} | |
public List<Contact> getContactSample(List<Contact> population, Integer sampleSize){ | |
List<Contact> sample = new List<Contact>(); |
This file contains 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
find . -name "*.txt" -type f -delete |
This file contains 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
sfdx force:mdapi:retrieve -u MySandboxName -r target_dir -k unpackaged/package.xml --wait 100 |
This file contains 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
sfdx force:mdapi:convert --rootdir target_dir/unpackaged --outputdir force-app |
This file contains 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
section .data | |
section .text | |
global _start | |
exit: | |
mov ebx, 0 ; return 0 status on exit - 'No Errors' | |
mov eax, 1 ; invoke SYS_EXIT (kernel opcode 1) | |
int 80h |
This file contains 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
section .data | |
msg db 'This is a test message.',0Ah | |
SECTION .text | |
global _start | |
_start: | |
mov ebx, msg | |
mov eax, ebx | |
This file contains 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
const [testData,setTestData] = useState({message : "abc"}); | |
useEffect(() => { | |
async function setData(){ | |
const response = await fetch('http://localhost:8080/test'); | |
const parsedData = await response.json(); | |
setTestData(parsedData); | |
setData(); | |
},[]); |
This file contains 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
const [testData,setTestData] = useState({message : "abc"}); | |
useEffect(() => { | |
async function setData(){ | |
fetch('http://localhost:8080/test').then( | |
response => { response.json(); } | |
).then( | |
response => { setTestData(response); } | |
); |
OlderNewer