はてブコメントに日時を書くと hCalendar を生成する Greasemonkey スクリプト - memo88
https://memo88.hatenablog.com/entry/20101120/1290219501
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 "json" | |
require "logger" | |
REQUEST_TABLE = {} | |
NOTIFICATION_TABLE = {} | |
LOGGER = Logger.new(File.join(__dir__, "debug.log")) | |
def log(msg) LOGGER.info(msg) end | |
def read_header |
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>GainNode test</title> | |
<script src="test.js"></script> | |
</head> | |
<body style="background: #f8f8f8; padding: 1rem;"> | |
<p>ページのどこかをクリック、またはスペースキー押下で再生開始</p> | |
<pre 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> | |
<head> | |
<meta charset="utf-8" /> | |
<title>align-regexp</title> | |
<style> | |
* { | |
font-family: Firge, monospace; | |
} |
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
rem -*- mode: basic -*- | |
Option Explicit | |
rem -------------------------------- | |
function parse_json(json) | |
dim parse_result | |
parse_result = _parse_json(json) | |
parse_json = parse_result(0) |
LibreOffice Drawのodgファイルから図形の情報を抜き出して使う - memo88
https://memo88.hatenablog.com/entry/2019/12/03/003517
ああああ \ いいいい
ああああ いいいい
— うううう
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
#!/usr/bin/env ruby | |
# coding: utf-8 | |
require "pp" | |
CS_JAR_PATH = "checkstyle-8.12-all.jar" | |
CS_CONFIG_PATH = "google_checks.xml" | |
class DiffRange | |
def initialize(from, len) |
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
class ErbContext | |
def initialize params | |
@params = params | |
end | |
def method_missing name, *args | |
if @params.has_key? name | |
@params[name] | |
else | |
raise "unknown key (#{name})" |
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
MANUAL_INDEX | |
http://www.aozora.gr.jp/KOSAKU/MANU_IND.html | |
旧マニュアル? | |
青空文庫・外字注記辞書 | |
http://www.aozora.gr.jp/gaiji_chuki/ | |
外字注記辞書のPDF | |
実 → 實 | |
7 . 說 ※[#「言+兌」]→[包摂適用 説 ] 15 |
NewerOlder