这篇文档由AI生成,具体细节可能有问题,遇到问题可以继续沟通。 This document is generated by AI, and there may be issues with the specific details. If you encounter any problems, please continue to communicate.
- Version: 1.0
- Date: 2025-01-XX
| <!DOCTYPE html> | |
| <html lang="zh-CN"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>批量XTH文件生成器</title> | |
| <style> | |
| * { | |
| box-sizing: border-box; | |
| margin: 0; |
| echo "" > commands | |
| ID=$(echo "$1" | sed 's/.*dg_\([0-9]*\).*/\1/g') | |
| echo "set sound enable off" >> commands | |
| echo "set analysis chequerplay evaluation plies 3" >> commands | |
| echo "import mat \"$1\"" >> commands | |
| echo "analyse match" >> commands | |
| echo "export match pdf \"reviews/$ID.pdf\"" >> commands | |
| echo "quit" >> commands | |
| /Users/ruben/fromsource/bg/gnubg-1.07.001/gnubg -c commands | |
| rm commands |
| blink1-tool --hsb 13,80,92 --setpattline 1 -m 754 | |
| blink1-tool --hsb 27,90,96 --setpattline 2 -m 802 | |
| blink1-tool --hsb 12,95,98 --setpattline 3 -m 982 | |
| blink1-tool --hsb 20,100,101 --setpattline 4 -m 959 | |
| blink1-tool --hsb 15,85,81 --setpattline 5 -m 782 | |
| blink1-tool --hsb 12,93,101 --setpattline 6 -m 758 | |
| blink1-tool --hsb 14,81,83 --setpattline 7 -m 992 | |
| blink1-tool --hsb 18,100,104 --setpattline 8 -m 627 | |
| blink1-tool --hsb 23,95,120 --setpattline 9 -m 992 | |
| blink1-tool --hsb 20,90,102 --setpattline 10 -m 897 |
| let when = args.widgetParameter || 'today' | |
| let now = new Date() | |
| if (when == 'tomorrow') { | |
| now.setDate(now.getDate() + 1); | |
| } | |
| let formatter = new DateFormatter() | |
| formatter.dateFormat = 'yyyyMMdd' | |
| let today = formatter.string(now) |
| javascript: (() => {const toggles = tip => ({ key }) => key === '' && document.querySelectorAll('[data-tooltip]').forEach(el => el.dataset.tooltip === tip && el.click());document.body.onkeyup = toggles('Turn off microphone (⌘ + D)');document.body.onkeydown = toggles('Turn on microphone (⌘ + D)');})(); |
| javascript: (() => {const toggles = tip => ({ key }) => key === '' && document.querySelectorAll('[data-tooltip]').forEach(el => el.dataset.tooltip === tip && el.click());document.body.onkeyup = toggles('Turn off microphone (⌘ + D)');document.body.onkeydown = toggles('Turn on microphone (⌘ + D)');})(); |
To take full advantage of the workshop you'll need
You can clone this repository to have the notebook and slides (some things may still change until Saturday, like uploading and upgating the compiled slides, but the notebook is essentially finished).
| ;; Copyright 2009 Rubén Berenguel | |
| ;; ruben /at/ maia /dot/ ub /dot/ es | |
| ;; This program is free software: you can redistribute it and/or | |
| ;; modify it under the terms of the GNU General Public License as | |
| ;; published by the Free Software Foundation, either version 3 of the | |
| ;; License, or (at your option) any later version. | |
| ;; This program is distributed in the hope that it will be useful, |