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
# autotrace.dockerfile | |
# Copyright (C) 2025 Koutaro Mukai | |
# | |
# 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, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
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
<!doctype html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Document</title> | |
<style> | |
@page { | |
size: A5; |
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
<!doctype html> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Vivliostyle CLI+rehypeプラグインによる原稿の前処理</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<link | |
rel="stylesheet" | |
type="text/css" | |
href="themes/packages/css/style.css" |
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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>CSS組版完全に理解した</title> | |
<style> | |
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:[email protected]&display=swap"); | |
:root { | |
font-family: "Noto Sans JP"; |
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
/** | |
* https://drafts.csswg.org/css-color-5/#device-cmyk | |
* | |
* @param {string} input | |
* @returns {{c:number,m:number,y:number,k:number,a:number}|null} | |
*/ | |
function parseDeviceCmyk(input) { | |
/** | |
* https://www.w3.org/TR/css-syntax/#newline | |
*/ |
Pokémon Past Generation Advent Calendar 2023、185日目の記事です。売り切れ御礼の3DS LL合意なし秘密さわさわ基板Qingpiの製造についてかんたんに書きます。
QingpiはGPLv3で公開されています。ライセンスに従って自由に製造していただいて構いません。なおNew 3DS LLに対応する新作を開発中です。よほどでなければ気長にお待ちいただくのがよいでしょう。3DS LLに対応するかは未定です。
Qingpiのプリント基板は、JLCPCBでの製造を前提にKiCadで開発されています。もろもろの具体的な手順は他所のサイトを参考にしてください。
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
import fs from "node:fs"; | |
import vm from "node:vm"; | |
import jsdom from "jsdom"; | |
type PrismContext = vm.Context & { PrismContext: never }; | |
type PrismPlugin = "autolinker" | |
| "autoloader" | |
| "command-line" | |
| "copy-to-clipboard" |
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
import argparse | |
def figure_6_v_o(n: int, d: int, d_3: int) -> float: | |
""" | |
Voltage divider calculation based on the approach shown in Figure 6. | |
Args: | |
n (int): The resolution of the RDACs in bits. | |
d (int): The data bits of `U_1` and `U_2`. |
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
import math | |
import time | |
import typing | |
import serial | |
from Commands.PythonCommandBase import ImageProcPythonCommand | |
import qingpi | |
from qingpi import * # type: ignore |
NewerOlder