Skip to content

Instantly share code, notes, and snippets.

@nillpo
nillpo / pdfme_workout_template.json
Last active July 31, 2025 03:32
Pdfme向けの筋トレメニューテンプレート
{
"schemas": [
[
{
"name": "TITLE",
"type": "text",
"content": "筋力トレーニング記録表",
"position": {
"x": 65,
"y": 10
@nillpo
nillpo / salicylic_acid3_weeky_report_list.ts
Created February 14, 2025 07:03
サリチル酸さんの週報リスト
import { DOMParser } from "jsr:@b-fuze/deno-dom";
const years = ["2021", "2022", "2023", "2024", "2025"];
const postedDate: { post_date: string; title: string; url: string }[] = [];
for (const year of years) {
let page = 1;
while (true) {
const res = await fetch(
`https://salicylic-weekly.hatenablog.jp/archive/${year}?page=${page}`,
);
@nillpo
nillpo / keeb_pd.md
Last active July 9, 2025 11:58
過去のKEEB_PDの開催日付とTwitterへのURL
@nillpo
nillpo / keeb_pd.ts
Last active February 12, 2025 02:41
KEEB_PDの開催日付とURLを生成するやつ
import { assertEquals } from "jsr:@std/assert@^1.0.11";
// KEEB_PDの初回からのURLを生成する
const KEEB_PD_START_DATE = "2020-07-19";
const KEEB_PD = "KEEB_PD";
type Schedules = {
round: string;
since: Temporal.PlainDate;
@nillpo
nillpo / list.md
Last active November 26, 2024 18:56
2024/11/27 kindle 50%ポイント還元リスト
Title Series Index Price Points Point Rate Series URL URL Series Affilate URL Affilate URL
地図にない場所(1) (ビッグコミックス) 1 693 14 2 URL URL URL URL
地図にない場所(2) (ビッグコミックス) 2 693 308 44 URL URL URL URL
地図にない場所(3) (ビッグコミックス) 3 693 308 44 URL URL URL URL
地図にない場所(4) (ビッグコミックス) 4 693 308 44 [URL](https://www.amazon.
@nillpo
nillpo / keyket.md
Last active February 18, 2025 12:23
2024/03/02 キーボードマーケット トーキョー

にるぽケーブルファクトリー 王立魔界鍵盤製作所の隅っこ店

  • A-9 王立魔界鍵盤製作所 の隅っこでTRRSケーブル(¥3000)を頒布させていただきます
  • 長さはケーブルによって異なりますが今回用意したものは35cm以下となります

反省点

  • 数をあまり用意できていなかったので30分ちょいくらいで完売状態になってしまった
  • サンプルが適当なケーブルだったため、在庫がなくなるとケーブル作るの楽しいぞアピールをするためのものがなくなってしまい雰囲気を口で説明するだけになってしまっていた
  • ぎりぎりまでやっていたせいで作ったものの写真を全く撮れていない
  • 展示が雑
function* meraGenerator() {
for (let i = 0x30A1; i <= 0x30FA; i++) {
yield `${String.fromCharCode(i)}メラ`;
}
}
console.log(
[...meraGenerator()].sort().reduce((p, c, index) => {
if (index % 10 === 0) {
p.push([c]);
// -*- mode: c++ -*-
// Copyright 2016-2022 Keyboardio, inc. <jesse@keyboard.io>
// See "LICENSE" for license details
/**
* These #include directives pull in the Kaleidoscope firmware core,
* as well as the Kaleidoscope plugins we use in the Model 100's firmware
*/
// The Kaleidoscope core
<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
<channel>
<title>🐶<title>
<description>🐶情報</description>
<item>
<title></title>
<link>https://twitter.com/nillpo/status/1543965259329064961</link>
<description>🐶<description>
<pubDate>Wed, 6 Jul 2022 20:31:00 +0900</pubDate>