調査日: 2026-08-28
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
| # SPDX-FileCopyrightText: Copyright (c) 2025 Wataru Ashihara <wataash0607@gmail.com> | |
| # SPDX-License-Identifier: Apache-2.0 | |
| """ | |
| mostly generated by codex | |
| builtin echo $token | python spotify_genlist.py spotify_playlist --access_token_file=- --playlist_name="list_$(date +%Y%m%d%H%M%S)" --tracks_file=tracks.tsv | |
| """ | |
| import argparse | |
| import asyncio |
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
| # SPDX-FileCopyrightText: Copyright (c) 2024 Wataru Ashihara <wataash0607@gmail.com> | |
| # SPDX-License-Identifier: Apache-2.0 | |
| import argparse | |
| import asyncio | |
| import base64 | |
| import collections | |
| import dataclasses | |
| import datetime | |
| import difflib |
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
| require "set" | |
| unless ARGV.length == 1 | |
| warn("usage: systemd-analyze dot | systemd-analyze-dot-only-n N") | |
| exit(1) | |
| end | |
| n = ARGV.shift.to_i(10) | |
| txt = ARGF.read | |
| pairs_unit_count = Hash.new(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
| # SPDX-License-Identifier: Apache-2.0 | |
| """ | |
| https://gist.github.com/wataash/dc9f8352dc147b223382def86c3a592b | |
| A Python implementation of "Packrat Parsers Can Support Left Recursion" by | |
| Alessandro Warth, James R. Douglass, and Todd Millstein. | |
| http://www.vpri.org/pdf/tr2007002_packrat.pdf | |
| 2. An Overview of Packrat Parsing |
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
| [ | |
| { | |
| "arguments": [ | |
| "gcc", | |
| "-c", | |
| "-Wp,-MMD,drivers/tty/vt/.vt.o.d", | |
| "-nostdinc", | |
| "-isystem", | |
| "/usr/lib/gcc/x86_64-linux-gnu/9/include", | |
| "-I/home/wsh/qc/linux/arch/x86/include", |
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
| $ sudo ip xfrm state | |
| ↓ info for local→remote direction IPsec tunnel(ESP) | |
| src 192.168.0.2 dst 10.0.0.1 | |
| proto esp spi 0xaaaaaaaa reqid 1 mode transport | |
| replay-window 0 | |
| auth-trunc hmac(sha1) 0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb 96 | |
| enc cbc(aes) 0xcccccccccccccccccccccccccccccccccccccccccccccccccccccccc | |
| encap type espinudp sport 4500 dport 4500 addr 0.0.0.0 | |
| anti-replay context: seq 0x0, oseq 0xaab, bitmap 0x00000000 | |
| sel src 192.168.0.2/32 dst 10.0.0.1/32 |
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
| // Compilers: Principles, Techniques, and Tools, 1st Edition (1986) | |
| // by Alfred V. Aho, Ravi. Sethi, Jeffrey D. Ullman | |
| // Section 2.9 | |
| // http://basen.oru.se/kurser/koi/2010-2011-p1/asu-86/29/files.html | |
| /* global.h */ | |
| #include <stdio.h> /* include declarations for i/o routines */ | |
| #include <ctype.h> /* ... and for character test routines */ |
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
| # MIT License | |
| # | |
| # Copyright (c) 2020 Wataru Ashihara | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is | |
| # furnished to do so, subject to the following conditions: |
NewerOlder