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
import asyncio | |
from random import randrange | |
import time | |
async def mustDoTask(name): | |
count = 0 | |
start = time.time() | |
while count < 10: | |
print(f'longtask {name} loop {count}') | |
await asyncio.sleep(randrange(3,6)/10) |
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
sudo raspi-config | |
# interfacing options -> camera -> enable | |
# advanced options -> expand filesystem | |
# reboot | |
# install vim | |
sudo apt-get install vim | |
# clean up bloatware | |
sudo apt-get purge wolfram-engine |