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
/(:\w+:\s*)\1{2,}/ | |
:send_money: | |
:is_all_scam: | |
:yosano_akiko_is_always_watching_you: | |
:chinchin: | |
:boredparrot: | |
:fastparrot: | |
:parrot: | |
:ablobcathyper: | |
:blobcatrainbow: |
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
/* チャンネル投稿をタイムラインに表示しない */ | |
.xcSej.x3762:has(.xww2J) { | |
display:none; | |
} | |
/* ホーム以外のRN非表示 デッキUI対応版 */ | |
div[style="position: sticky; top: var(--stickyTop, 0); z-index: 1000;"]:has(.ti-home~.xqAei.xvOIQ)~div .xcSej.x3762:has(.xBwhh), .xlmHf:not(:has(.ti-home))~.xubeM .xcSej.x3762:has(.xBwhh) { | |
display: none; | |
} | |
/* ホーム以外で「〜が何かを言いました」を非表示 */ |
We can make this file beautiful and searchable if this error is corrected: It looks like row 8 should actually have 22 columns, instead of 8 in line 7.
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
rank,specials,inked,rank_in_team,elapsed,date_time,disconnected,simple_result,knockout,judge_friend,judge_opponent,exempted,kill,assist,kill_assist,death,lobby,mode,stage,weapon,sub_weapon,special | |
S+ 16,5,1174,4,300,2022-11-28T20:32:00Z,FALSE,Victory,FALSE,99,73,FALSE,5,3,8,7,バンカラマッチ (チャレンジ),ホコ,ゴンズイ,パブロ,スプラッシュボム,メガホンレーザー5.1ch | |
S+ 16,4,1182,4,300,2022-11-28T20:25:00Z,FALSE,Victory,FALSE,49,20,FALSE,7,1,8,9,バンカラマッチ (チャレンジ),ホコ,ゴンズイ,パブロ,スプラッシュボム,メガホンレーザー5.1ch | |
S+ 16,3,883,2,242,2022-11-28T20:19:00Z,TRUE,Victory,TRUE,NA,NA,FALSE,8,3,11,6,バンカラマッチ (チャレンジ),ホコ,ゴンズイ,パブロ,スプラッシュボム,メガホンレーザー5.1ch | |
S+ 16,4,907,4,300,2022-11-28T20:13:00Z,FALSE,Defeat,FALSE,48,65,FALSE,4,1,5,11,バンカラマッチ (チャレンジ),ホコ,ザトウ,パブロ,スプラッシュボム,メガホンレーザー5.1ch | |
S+ 16,0,281,1,64,2022-11-28T20:07:00Z,FALSE,Victory,TRUE,NA,NA,FALSE,4,1,5,2,バンカラマッチ (チャレンジ),ホコ,ゴンズイ,パブロ,スプラッシュボム,メガホンレーザー5.1ch | |
S+ 16,3,1114,2,302,2022-11-28T20:04:00Z,FALSE,Victory,FALSE,72,51,FALSE,7,4,11,9,バンカラマッチ (チャレンジ),ホコ,ゴンズイ,パブロ,スプラッシュボム,メガホンレーザー5.1ch | |
S+ 16,6,1344,3,300,2022-11-28T19:57:00Z,FALSE,D |
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
--- | |
title: "stat.inkからSplatoon 3の戦歴データを取得する" | |
author: '@nozma' | |
date: "2022-11-29" | |
output: html_document | |
--- | |
```{r setup, include=FALSE} | |
knitr::opts_chunk$set(echo = TRUE) | |
library(rvest) |
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
- Name: Insert Python code chunk | |
Binding: | | |
context <- rstudioapi::getActiveDocumentContext() | |
id <- context$id | |
location <- c(context$selection[[1]]$range$start) | |
text <- "```{python}\n\n```" | |
rstudioapi::insertText(location, text, id) | |
rstudioapi::setCursorPosition(location + c(1, 0)) | |
Interactive: false |
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
--- | |
title: "総合課税にするかどうか計算" | |
author: '@nozma' | |
date: "2022/02/26" | |
--- | |
```{r setup, include=FALSE} | |
library(dplyr) | |
library(ggplot2) | |
options(scipen = 10) |
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
// テーブルの1行目を太字、中央揃えするための処理 ---- | |
// テーブルのタイトルにクラスを付与 | |
function addTableStartClass() { | |
$('.line').has('.table-block-start').addClass("table-start"); | |
}; | |
addTableStartClass(); | |
// 行選択でクラス名が変更される対策でDOMを監視 | |
// (by https://scrapbox.io/customize/インデント毎に背景色を変える#5fca6962bacd1c0000143f41) | |
(function () { | |
const target = document.getElementById('app-container') |
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
@import "/api/code/nozma/見える文字数カウンター/style.css"; | |
.page { /* pageにしないとテロメアが見えない */ | |
/* テーブルがはみ出てしまう場合に横スクロールするように */ | |
overflow-x: scroll; | |
} | |
/* テーブルの1行目を太字、中央揃え (要UserScript) */ | |
.table-start + .line .table-block .cell { | |
font-weight: bolder; |
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
Sepal.Length | Sepal.Width | Petal.Length | Petal.Width | Species | id | |
---|---|---|---|---|---|---|
5.1 | 3.5 | 1.4 | 0.2 | setosa | 1 | |
4.9 | 3 | 1.4 | 0.2 | setosa | 2 | |
4.7 | 3.2 | 1.3 | 0.2 | setosa | 3 | |
4.6 | 3.1 | 1.5 | 0.2 | setosa | 4 | |
5 | 3.6 | 1.4 | 0.2 | setosa | 5 | |
5.4 | 3.9 | 1.7 | 0.4 | setosa | 6 | |
4.6 | 3.4 | 1.4 | 0.3 | setosa | 7 | |
5 | 3.4 | 1.5 | 0.2 | setosa | 8 | |
4.4 | 2.9 | 1.4 | 0.2 | setosa | 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
// --- setting --- | |
api.Hints.characters = 'asdfghjklnmvbrtyu'; | |
settings.scrollStepSize = 150; | |
settings.nextLinkRegex = /((forward|>>|next|次[のへ]|→)+)/i; | |
settings.prevLinkRegex = /((back|<<|prev(ious)?|前[のへ]|←)+)/i; | |
settings.aceKeybindings = 'emacs'; | |
settings.omnibarPosition = 'bottom'; | |
settings.hintAlign = 'left'; | |
// --- mapping --- |
NewerOlder