# admin terminal
wsreset -i
# then wait for around 30syep. Simple is that.
P.s. when second user wants store as well, run
| # Change this section accordingly | |
| DEV_HUB_CLIENT_ID="(CLIENT_ID_OF_EXTERNAL_CLIENT_APP)" | |
| DEV_HUB_PRIVATE_KEY_PATH="(path/to/private/key/file)" | |
| SIGNUP_USERNAME="(ADMIN_USERNAME)" | |
| LOGIN_URL="https://(ORG_MY_DOMAIN_NAME)" | |
| DEV_HUB_ALIAS="(myAwesomeDevelopmentOrg)" | |
| # Log in with JWT | |
| sf org login jwt \ |
# admin terminal
wsreset -i
# then wait for around 30syep. Simple is that.
P.s. when second user wants store as well, run
| public with sharing class FibonacciGenerator implements Iterable<Long> { | |
| private Integer howMany = 0; | |
| public FibonacciGenerator(Integer howMany) { | |
| this.howMany = howMany; | |
| } | |
| public Iterator<Long> iterator() { | |
| return new FibonacciIterator(howMany); | |
| } |
| # Linux: /home/me/.ssh/config | |
| # macOS: /Users/me/.ssh/config | |
| # Windows: C:\Users\me\.ssh\config | |
| # macOS - localhost - fish shell | |
| HOST localhost | |
| Hostname localhost | |
| User me | |
| Port 22 | |
| IdentityFile /Users/me/.ssh/id_ed25519 |
| /** | |
| * get a random Integer number ∈ [minValue, maxValue) | |
| */ | |
| public Integer getRandomNumberBetween(Integer minValue, Integer maxValue) { | |
| if (minValue > maxValue) { | |
| // swap position | |
| Integer tmp = minValue; | |
| minValue = maxValue; | |
| maxValue = tmp; |