- create a vm
- note down the vm id, disk location and disk size.
- enter directory and make sure size is correct
- replace the disk.raw file
- enter command:
qm rescan
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
| /** | |
| * 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; |
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
| # 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 |
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
| 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); | |
| } |
# admin terminal
wsreset -i
# then wait for around 30syep. Simple is that.
P.s. when second user wants store as well, run
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
| # 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 \ |
OlderNewer