| name | description |
|---|---|
EXPERIMENT_NAME |
[Experiment Type] Skill. Usage: (1) [Scenario 1], (2) [Scenario 2], (3) [Scenario 3]. Tested on [Verification Model/Environment]. |
| Item | Details |
| from concurrent.futures import ProcessPoolExecutor | |
| import time | |
| def wait_function(x, y): | |
| print('Task(', x,'multiply', y, ') started') | |
| time.sleep(2) | |
| print('Task(', x,'multiply', y, ') completed') | |
| return x * y | |
| def callback_function(future): |
| default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam' | |
| default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes' | |
| default['sshd']['sshd_config']['PasswordAuthentication'] = 'no' |
| #!/usr/bin/env python | |
| # makekey.py - A key making tool | |
| # This program will accept a pin configuration for a Schalge 5 Pin lock and produce GCode to mill out the corresponding key. | |
| # | |
| # For example, this will produce a bump key: | |
| # $ ./makekey.py 99999 | |
| # | |
| # This could produce a key to something else: | |
| # $ ./makekey.py 38457 | |
| # |