This file contains 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
press enter lumage |
This file contains 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
var keyregex = /\b3*([A-HJ-NP-TV-Z1-9]{1,8})\b/g; | |
function sanitize(text){ | |
return text.replace(/&/g,"&").replace(/</g,"<"); | |
} | |
function size(bytes){ | |
var suffix = "B"; | |
if(bytes/1024 >= 1){ | |
suffix = "KB"; |
This file contains 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
' | |
' SOFT KEYBOARD + HELP + CMPL + GUIDE | |
' | |
' ※プログラム内に含まれるいくつかの命令はシステム専用命令で通常実行環境では使えません | |
' | |
' 2018.11.06:UISTATE | |
' 2018.11.07:TOUCH(FRAME COUNTER),UIMASK | |
' 2018.11.08:確認方法の間違いを直してもらったので見直してコメント追加 | |
' 2018.11.09:CTRLKEYボタン追加 | |
' 2018.11.15:UIGETCMPL |
This file contains 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
// Create your own language definition here | |
// You can safely look at other samples without losing modifications. | |
// Modifications are not saved on browser refresh/close though -- copy often! | |
return { | |
// Set defaultToken to invalid to see what you do not tokenize yet | |
// defaultToken: 'invalid', | |
ignoreCase: true, | |
defaultToken: "invalid", | |
outdentTriggers: ["D","E","F","L","T","P"], |
This file contains 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
7048 ABS | |
DBC8 ACCEL | |
DC7C ACLS | |
7059 ACOS | |
E37C ARYOP | |
703F ASC | |
7058 ASIN | |
705A ATAN | |
D578 ATTR | |
DCE8 BACKCOLOR |
This file contains 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
CEF8,659.1666666666666*36,MID$ | |
CF64,3*36,INSTR | |
CF88,1*36,SUBST$ | |
CFAC,1*36,INKEY$ | |
CFD0,1*36,PUSH | |
CFF4,1*36,UNSHIFT | |
D018,1*36,CLS | |
D03C,1*36,LOCATE | |
D060,1*36,COLOR | |
D084,1*36,ATTR |
This file contains 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
7001 0000 | |
9425 DCA0 0880 0001 | |
7001 0001 | |
7001 0001 | |
7001 0001 | |
7001 0001 | |
9425 DD0C 0880 0004 | |
9425 D50C 0880 0000 | |
7001 000F | |
9425 D554 0880 0001 |
This file contains 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
?"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
This file contains 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
-- Usage: | |
-- input chatlog files on stdin, outputs formatted logs on stdout | |
-- (name<tab>message\n), with all lines of multiline messages labelled with usernames | |
-- Pass a list of usernames to filter as arguments (optional) | |
-- iterator function, returns: name, message, room, time (in minutes) | |
function chatlines(file, ...) | |
local name, hour, minute, room | |
local names | |
if #{...}>0 then |
This file contains 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
-- iterator function, returns: name, message, room, hour, minute | |
function chatlines(file) | |
local name, hour, minute, room | |
return function() | |
local space, name2, hour2, minute2, room2, message | |
local line = file:read() | |
if not line then return end | |
_, _, space, name2, hour2, minute2, room2, message = line:find("^(%s*)([A-Za-z0-9_]-)%[(%d%d):(%d%d)%](.): (.*)$") | |
if space then | |
name, hour, minute, room = name2, tonumber(hour2), tonumber(minute2), room2 |
OlderNewer