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
# 読み | 単語 | 品詞 | |
---|---|---|---|
ざん | 斬 | 固有名詞 | |
いっせん | 一閃 | 固有名詞 | |
つかうち | 柄打ち | 固有名詞 | |
いあい | 居合 | 固有名詞 | |
きはく | 気迫 | 固有名詞 | |
あっき | 圧気 | 固有名詞 | |
きえんばんじょう | 気炎万丈 | 固有名詞 | |
つきかげおとし | 月影落 | 固有名詞 | |
うらなみあらし | 浦波嵐 | 固有名詞 |
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
[user] | |
# email = | |
# name = | |
[core] | |
editor = "$HOME/scoop/apps/neovim/current/bin/nvim-qt.exe" | |
autocrlf = false | |
safecrlf = true | |
excludesfile = ~/.gitignore | |
attributesfile = ~/.gitattributes | |
whitespace = cr-at-eol |
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
{ | |
"normal": [ | |
{"name":"斬", "owner":"ユリナ", "category":"通常札", "cost":null, "maintype":"攻撃", "subtype":null, "range":"3-4", "damage":"3/1", "text":""}, | |
{"name":"一閃", "owner":"ユリナ", "category":"通常札", "cost":null, "maintype":"攻撃", "subtype":null, "range":"3", "damage":"2/2", "text":"【常時】決死―あなたのライフが3以下ならば、この《攻撃》は+1/+0となる。"}, | |
{"name":"柄打ち", "owner":"ユリナ", "category":"通常札", "cost":null, "maintype":"攻撃", "subtype":null, "range":"1-2", "damage":"2/1", "text":"【攻撃後】決死―あなたのライフが3以下ならば、このターンにあなたが次に行う《攻撃》は+1/+0となる。"}, | |
{"name":"居合", "owner":"ユリナ", "category":"通常札", "cost":null, "maintype":"攻撃", "subtype":"全力", "range":"2-4", "damage":"4/3", "text":"【常時】現在の間合が2以下ならば、この攻撃は-1/-1となる。"}, | |
{"name":"気迫", "owner":"ユリナ", "category":"通常札", "cost":null, "maintype":"行動", "subtype":null, "text":"あなたは集中力を1得る。\nこのターンにあなたが次に行う他 |
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
function to_link(str) { | |
var r_alpha = '[A-Za-z]'; | |
var r_escape = '(?:%[0-9A-Fa-f]{2})'; | |
var r_xalpha = '(?:[-0-9A-Za-z$_@.&!*"\'(),]|'+r_escape+')'; | |
var r_xpalpha = '(?:\\+|'+r_xalpha+')'; | |
var r_xealpha = '(?:=|'+r_xalpha+')'; | |
var r_hostname = '(?:'+r_alpha+r_xpalpha+')(?:\\.'+r_alpha+r_xpalpha+')*'; | |
var r_hostnumber = '(?:[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)'; | |
var r_host = '(?:'+r_hostname+'|'+r_hostnumber+')'; | |
var r_port = '(?::[0-9]+)' |
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
{ | |
"normal": [ | |
{"name": "斬", "type": ["攻"], "owner": "ユリナ", "text": "1-2 3/1"}, | |
{"name": "一閃", "type": ["攻"], "owner": "ユリナ", "text": "2 2/2"}, | |
{"name": "遠当て", "type": ["攻"], "owner": "ユリナ", "text": "4-5 2/1 決死:+1/+0"}, | |
{"name": "居合", "type": ["攻","全"], "owner": "ユリナ", "text": "2-3 4/2"}, | |
{"name": "足捌き", "type": ["行"], "owner": "ユリナ", "text": "間合3↑なら,間合2→ダスト"}, | |
{"name": "圧気", "type": ["付"], "owner": "ユリナ", "text": "2 隙 破棄時:0-5 3/-"}, | |
{"name": "気炎万丈", "type": ["付","全"], "owner": "ユリナ", "text": "4 決死:攻撃に+1/+0"}, | |
{"name": "シュート", "type": ["攻"], "owner": "ヒミカ", "text": "4-10 2/1"}, |
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 csv_parse = function(text) { | |
return text.split(/[\r\n]+/) | |
.map(function(l) { | |
var data = l.match(/("(?:[^"]|"")+"|[^,]+)/g); | |
if (data === null) {return null;} | |
return data.map(function(e) { | |
return e.replace(/^"(.*)"$/, '$1').replace('""', '"'); | |
}); | |
}) | |
.filter(function(r) {return r !== null;}); |
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
/* eslint-env node */ | |
/* eslint-disable no-console */ | |
var request = require('request-promise'); | |
var request_raw = require('request'); | |
var cheerio = require('cheerio'); | |
var Promise = require('bluebird'); | |
var fs = Promise.promisifyAll(require('fs')); | |
var mkdirp = require('mkdirp-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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Web Push API example</title> | |
<style>pre {white-space: pre-wrap;}</style> | |
</head> | |
<body> | |
<main> | |
<h1>Push</h1> |
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
@echo off | |
setlocal enabledelayedexpansion | |
for /l %%i in (0, 1, 40) do ( | |
set x=%%i | |
if %%i LSS 10 ( | |
set x=0!x! | |
) |
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
#!/usr/bin/env node | |
Number.prototype.times = function(f) { | |
for (var i = 0; i < this; i++) { | |
f(this); | |
} | |
}; | |
Array.prototype.shuffle = function() { | |
var a = [].concat(this); | |
for (var i = this.length - 1; i > 0; i = 0 | i - 1) { |
NewerOlder