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
| p = self.spawnpos() | |
| str="THIS IS THE MESSAGE!" | |
| isx = 1 | |
| isz = 0 | |
| dir = -1 | |
| for i = 1, #str do | |
| local c = str:sub(i,i) |
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
| # Usage: | |
| # | |
| # Run `some_app` only if 10 math puzzles are solved first: | |
| # python3 compute_exercise.py && some_app | |
| # | |
| # Only 7 puzzles instead of the default 10: | |
| # python3 compute_exercise.py 7 && some_app | |
| # | |
| # Only 5 puzzles, but force exit after 10min: | |
| # python3 compute_exercise.py 5 && timeout 600 some_app |
OlderNewer