01/13/2012. From a lecture by Professor John Ousterhout at Stanford, class CS140
Here's today's thought for the weekend. A little bit of slope makes up for a lot of Y-intercept.
[Laughter]
| #!/bin/bash | |
| # Colors | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| NO_COLOR='\033[0m' | |
| BLUE='\033[0;34m' | |
| YELLOW='\033[0;33m' | |
| NO_COLOR='\033[0m' |
| <?php | |
| /** | |
| * TimeoutGuard — A lightweight timeout wrapper using PHP ticks. | |
| * | |
| * This lets you interrupt execution of any callable if it exceeds a time limit. | |
| * Works even on Windows (unlike pcntl). | |
| * | |
| * ⚠️ Requires `declare(ticks=1);` | |
| */ |
| gh issue list -s all -L 500 --json number | \ | |
| jq -r '.[] | .number' | \ | |
| xargs -I% gh issue transfer % https://github.com/<destination repo> |