For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
| const express = require('express'); | |
| const wol = require('wake_on_lan'); | |
| const app = express(); | |
| app.use(express.json()); | |
| app.post('/wake', (req, res) => { | |
| const { mac, ip = '255.255.255.255', port = 9 } = req.body; | |
| if (!mac) { |
Note: This is for windows.
| #!/usr/bin/env bash | |
| # Generates gource video (h.264) out of multiple repositories. | |
| # Pass the repositories in command line arguments. | |
| # Example: | |
| # <this.sh> /path/to/repo1 /path/to/repo2 | |
| i=0 | |
| for repo in $*; do | |
| # 1. Generate a Gource custom log files for each repo. This can be facilitated by the --output-custom-log FILE option of Gource as of 0.29: | |
| logfile="$(mktemp /tmp/gource.XXXXXX)" |