YouTube のスパチャ・スパステの支払いの金額集計
↓のページを開く
https://www.youtube.com/paid_memberships
支払い履歴のところが省略されてる場合は必要なところまで開く
YouTube のスパチャ・スパステの支払いの金額集計
↓のページを開く
https://www.youtube.com/paid_memberships
支払い履歴のところが省略されてる場合は必要なところまで開く
export default ({ | |
auto_names_promise, | |
local_names, | |
disable_local_name_suffix, | |
form_name, | |
storage_key, | |
}) => { | |
let auto_names = [] | |
auto_names_promise.then(data => { | |
auto_names = data |
import std/os | |
import std/strutils | |
import std/sequtils | |
let log_file = getHomeDir() & DirSep & "once_log.txt" | |
type Parsed = object | |
action: string | |
param: string | |
exec: seq[string] |
# config | |
$token = "" | |
$gistid = "" | |
$filename = "" | |
# 読み込み | |
function load() { | |
$data = irm "https://api.github.com/gists/$gistid" | |
return $data.files.$filename.content | |
} |
<!DOCTYPE html> | |
<div id="target"> | |
<p>aaa</p> | |
<h1>1</h1> | |
<p>bbb</p> | |
<p>ccc</p> | |
<h2>1.1</h2> | |
<p>dddd</p> | |
<h3>1.1.1</h3> |
class CommonHTMLElement extends HTMLElement { | |
constructor() { | |
super() | |
this.attachShadow({ mode: "open" }) | |
this.defineAttributeProperties() | |
this.rendered = false | |
} | |
defineAttributeProperties() { | |
for (const [name, type] of Object.entries(this.constructor.attributeProperties)) { |
$bat = $args[0] | |
while ($true) { | |
if (Test-Path $bat -PathType Leaf) { | |
$ts = Get-Date -Format "yyyy/MM/dd HH:mm" | |
"### ${ts} | ${bat}" >> "$bat.log" | |
& $bat 2>&1 >> "$bat.log" | |
mv $bat "$bat.done" | |
} | |
import os | |
import pandas as pd | |
import regex | |
import romkan | |
# change here | |
dir = r"C:\files\dl\mecab-ipadic-2.7.0-20070801" | |
kanaset = set() | |
for file in [f for f in os.listdir(dir) if f.endswith(".csv")]: |
あ → U+3042 → #3042 rgba(51, 0, 68, 0.133) | |
canvas 版は色が劣化するからうまく動かない | |
いつか動くようになればいいけど | |
pngjs 版は https://github.com/lukeapage/pngjs を browserify したものをロード必要 |
/*//////////////////////////////////////////////// | |
ライブドアブログのタグ管理画面で実行する | |
http://livedoor.blogcms.jp/blog/ユーザ名/config/tag/ | |
タグリストを生成する | |
/*//////////////////////////////////////////////// | |
{ | |
const user_name = Object(location.href.match(/\/blog\/(.*?)\/config\//))[1] |