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
| use std::env; | |
| use std::fs; | |
| use std::io::Read; | |
| use std::path::Path; | |
| use anyhow::{Context, Result}; | |
| use xlsxwriter::Workbook; | |
| fn main() -> Result<()> { | |
| let args: Vec<String> = env::args().collect(); | |
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
| """モザイク専用ツール""" | |
| from PIL import Image | |
| import TkEasyGUI as eg | |
| # 定数の宣言 | |
| CANVAS_SIZE = (800, 600) # キャンバスのサイズ | |
| MOSAIC_SIZE = 5 # モザイクのサイズ | |
| # グローバル変数 | |
| is_mouse_down = False | |
| start_xy = (0, 0) |
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
| 01 北海道 497 2,868 1,677 945 | |
| 02 青森県 114 634 416 227 | |
| 03 岩手県 115 624 405 225 | |
| 04 宮城県 243 1,340 665 357 | |
| 05 秋田県 79 463 354 198 | |
| 06 山形県 105 546 360 199 | |
| 07 福島県 184 972 587 311 | |
| 08 茨城県 303 1,637 866 477 | |
| 09 栃木県 203 1,106 575 309 | |
| 10 群馬県 203 1,098 588 333 |
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
| use lopdf::{dictionary, Document, Object, ObjectId}; | |
| use std::collections::BTreeMap; | |
| use std::env; | |
| fn main() { | |
| let args: Vec<String> = env::args().collect(); | |
| if args.len() < 2 { | |
| println!("使い方: pdf_splitter <file.pdf>"); | |
| return; | |
| } |
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
| use anyhow::{Context, Result}; | |
| use candle_core::{D, DType, Device, Tensor}; | |
| use candle_nn::{linear, loss, Module, VarBuilder, VarMap}; | |
| use candle_optimisers::adam::{Adam, ParamsAdam}; | |
| use candle_nn::optim::Optimizer; | |
| use image::{imageops::FilterType}; | |
| use rand::{seq::SliceRandom, rng}; | |
| use std::fs; | |
| use std::path::Path; | |
| use walkdir::WalkDir; |
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" /> | |
| <title>風鈴</title> | |
| <style> | |
| :root { | |
| --bg1: #e6f2ff; | |
| --bg2: #fdfbff; |
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, viewport-fit=cover" /> | |
| <title>Full Screen Fireworks</title> | |
| <style> | |
| html, body { height: 100%; margin: 0; } | |
| body { background: radial-gradient(1200px 800px at 50% 80%, #06102a 0%, #020712 60%, #000 100%); | |
| overflow: hidden; } |
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>落ちものゲーム</title> | |
| <style> | |
| canvas { background: #eee; display: block; margin: 20px auto; } | |
| </style> | |
| </head> | |
| <body> |
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><head><meta charset="utf-8" /> | |
| <title>ハノイの塔(PyScript版)</title> | |
| <link rel="stylesheet" href="https://pyscript.net/releases/2025.7.3/core.css"> | |
| <script type="module" src="https://pyscript.net/releases/2025.7.3/core.js"></script> | |
| <style> | |
| canvas { border: 1px solid #000; background: #f8f8f8; } | |
| #controls { margin: 1em; } | |
| #message { color: red; margin-top: 1em; } | |
| </style> |
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>アイビーリーメソッド</title> | |
| <link rel="stylesheet" href="tasklist.css"> | |
| </head> | |
| <body> | |
| <h1>アイビーリーメソッド</h1> |
NewerOlder