Skip to content

Instantly share code, notes, and snippets.

@niratama
niratama / ennum.pl
Last active October 23, 2024 09:06
ラベルつきBASICリストを行番号になおす
#!/usr/bin/env perl
# Usage: cat program.lbas | perl ennum.pl > program.bas
# Example:
# `@loop
# PRINT "nya-n"
# GOTO @loop
use strict;
use warnings;
use utf8;
@niratama
niratama / memo-2024-04.md
Last active April 30, 2024 09:56
2024年4月のメモ
@niratama
niratama / memo-2024-02.md
Last active February 14, 2024 10:01
2024年2月のメモ

PowerShell関連メモ

補完

Set-PSReadLineKeyHandler -Key Tab -Function Complete
Set-PSReadLineOption -BellStyle Visual

しておくのがよさそう

@niratama
niratama / escape.js
Last active September 22, 2023 13:58
JavaScriptのescape()でエスケープされない文字の一覧
(new Array(128)).fill(0).map((v,i) => { c = String.fromCharCode(i); e = escape(c); return e === c ? c : ''; })
// '*+-./0123456789@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'
@niratama
niratama / chromebook-memo.md
Last active January 27, 2024 00:26
Chromebook関連メモ