# admin terminal
wsreset -i
# then wait for around 30syep. Simple is that.
P.s. when second user wants store as well, run
# 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; |