Skip to content

Instantly share code, notes, and snippets.

We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 3.
タイトル,正規化ゲーム名,開催日時,参加者,画像URL,ツイートID,画像番号,ツイート日時,埋め込みコード,ツイートユーザスクリーンネーム,ツイートユーザID
AMONG US,Among Us,2021-08-22T21:00:00+09:00,"chest,なりす,NANO,じょかあき,朝ご飯,キスミィ,ねこどん,しぃな,セーバー,戌田ハチ",https://pbs.twimg.com/media/E9QAkuyVgAMeW-E?format=jpg&name=large,1428914757143195656,0,2021-08-21T03:00:00.000Z,"<blockquote class=""twitter-tweet""><p lang=""ja"" dir=""ltr"">本日8/28(土)もなのそん開催します!!!<br>参加者の配信などよろしければご視聴よろしくお願いします! <a href=""https://t.co/uaBUlXMs1e"">pic.twitter.com/uaBUlXMs1e</a></p>&mdash; なりす (@rainbow7akane) <a href=""https://twitter.com/rainbow7akane/status/1428914757143195656?ref_src=twsrc%5Etfw"">August 21, 2021</a></blockquote>",rainbow7akane,1014075813119946753
AMONG US,Among Us,2021-08-25T21:00:00+09:00,"朝ご飯,なりす,NANO,じょかあき,かがりめ,キスミィ,ねこどん,しぃな,セーバー,戌田ハチ",https://pbs.twimg.com/media/E9km4QZUcAMBfJc?format=jpg&name=large,1430217125294002176,0,2021-08-24T17:15:09.000Z,"<blockquote class=""twitter-tweet""><p lang=""ja"" dir=""ltr"">8/25(水)開催のなのそんのおしながきです!!<br>参加者の配信などよろしければご視聴よろしくお願いします! <a href=""https://t.co/D7kSn
@-moz-document url-prefix("https://live.nicovideo.jp/watch") {
.___broadcast-participation-area___3csnv {
display: none;
}
.___player-status-panel___2jsdt, .___player-status-panel___KQcKk {
visibility: hidden;
}
}
@aoirint
aoirint / nicodark.user.css
Last active December 12, 2023 10:50
ニコニコ動画・生放送の視聴ページをダークテーマ化するユーザーCSS(Stylusを想定。コントラスト等を考慮して作成されたものではありません。ポップアップ等には非対応です)
@-moz-document url-prefix("https://live.nicovideo.jp/watch") {
#watchPage
{
background-color: #333;
color: #ccc;
}
.___program-information-header-area___\+Y3b5,
.___program-information-area___9OIq6,
.___program-summary___uo308,
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 3.
タイトル,正規化ゲーム名,開催日時,参加者,画像URL,ツイートID,画像番号,ツイート日時,埋め込みコード,ツイートユーザスクリーンネーム,ツイートユーザID
AMONG US,Among Us,2021-01-03T18:00:00+09:00,"ふにちか,国際信州学院大学ボイロ部,如月ラギ,てち@ためにならない!!,豚野郎,シルシラ,いわし,魔球",https://pbs.twimg.com/media/Eqn_O8CVEAE0OJ5?format=jpg&name=large,1344886918492798976,0,2021-01-01T06:03:22.000Z,"<blockquote class=""twitter-tweet""><p lang=""ja"" dir=""ltr"">1月3日の18時頃にこのメンバーでAMONG US配信する予定です。よろしくお願いします。 <a href=""https://t.co/JCsOsELfkA"">pic.twitter.com/JCsOsELfkA</a></p>&mdash; ふにちか (@nitikapo) <a href=""https://twitter.com/nitikapo/status/1344886918492798976?ref_src=twsrc%5Etfw"">January 1, 2021</a></blockquote>",nitikapo,115055017
AMONG US,Among Us,2021-01-26T20:00:00+09:00,"ふにちか,国際信州学院大学ボイロ部,如月ラギ,てち@ためにならない!!,ビームマンP,豚野郎,シルシラ,いわし,魔球,たらちゃん",https://pbs.twimg.com/media/Eso24EmU0AAb5en?format=jpg&name=large,1353955231487324160,0,2021-01-26T06:37:37.000Z,"<blockquote class=""twitter-tweet""><p lang=""ja"" dir=""ltr"">今日AMONG USをこのメンバーでやる予定です。<br>多分20~22時くらい。<br>よろしくお願いします <a href=""https://t.co/huoiuuticH"">pic.tw
import requests
import csv
query = '''
mutation CreateSensorValue(
$objects: [SensorValue_insert_input!]!
) {
insert_SensorValue(objects: $objects) {
affected_rows
returning {
def decode_utf8_bytestream(byte_stream):
i = 0
decoded_strings = []
decoded_string = b''
while i < len(byte_stream):
byte = byte_stream[i]
if byte == 0x00:
decoded_strings.append(decoded_string)
decoded_string = b''
i += 1
def decode_utf8_bytestream(byte_stream):
i = 0
decoded_strings = []
while i < len(byte_stream):
byte = byte_stream[i]
if byte <= 0x7F:
decoded_strings.append(byte_stream[i:i+1])
i += 1
elif byte <= 0xDF:
decoded_strings.append(byte_stream[i:i+2])
import 'dart:ffi';
import 'dart:io';
import 'package:ffi/ffi.dart';
import 'package:win32/win32.dart';
const CTRL_CLOSE_EVENT = 2;
final _handlerRoutine = Pointer.fromFunction<Uint32 Function(Uint32)>(consoleCtrlHandler, 0);
Future<void> executePostProcess() async {
var tempFileLastLength = 0;
final tempFileSystemEventSubscription = tempFile.watch(events: FileSystemEvent.all).listen((event) {
tempFile
.openRead(tempFileLastLength)
.transform(utf8.decoder)
.transform(const LineSplitter())
.forEach((lineText) {
// TODO: tempFileLastLength += lineTextのデコード前のバイト数
});
});
asinList = [];
videoList = [];
setInterval(() => {
const cards = document.querySelectorAll('[data-testid="card"]')
for (let card of cards) {
const url = card.querySelector('[href^="/gp/video/detail/"').href;
const urlMatch = url.match(/\/gp\/video\/detail\/(.+)\/.+$/);
if (!urlMatch) continue;