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 { chain } from "stream-chain" | |
import { parser } from "stream-json" | |
import { streamArray } from "stream-json/streamers/StreamArray" | |
import { MirakurunAPI } from "../infra/mirakurun" | |
const main = async () => { | |
const client = new MirakurunAPI({ | |
baseUrl: "http://192.168.0.10:40772/api", | |
}) | |
const claimStream = await client.events.getEventsStream( |
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 { serve } from "https://deno.land/x/sift@0.4.2/mod.ts" | |
serve({ | |
"/": () => new Response(new Date().toISOString()), | |
}) |
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
body { | |
font-weight: normal; | |
} |
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
{ | |
"swagger": "2.0", | |
"info": { | |
"title": "Mirakurun", | |
"version": "3.9.0-beta.1", | |
"description": "DVR Tuner Server Service for Chinachu Air.", | |
"contact": { "name": "kanreisa", "url": "https://github.com/kanreisa" } | |
}, | |
"basePath": "/api", | |
"consumes": ["application/json"], |
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
data = """ | |
0:04:36.10 start | |
0:06:37.00 end | |
""".strip() | |
filename = "target.m2ts" | |
# vdr_to_ffmpeg_for_colab.py | |
# © 2021 ci7lus MIT License | |
current_seconds = 0 |
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
diff --git a/node_modules/@web-std/blob/src/package.js b/node_modules/@web-std/blob/src/package.js | |
index bb7235d..605dd5e 100644 | |
--- a/node_modules/@web-std/blob/src/package.js | |
+++ b/node_modules/@web-std/blob/src/package.js | |
@@ -1,5 +1,5 @@ | |
import { TextEncoder, TextDecoder } from "web-encoding" | |
-import streams from "web-streams-polyfill" | |
+import * as streams from "web-streams-polyfill" | |
const { ReadableStream: ReadableStreamPolyfill } = streams |
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
// ==UserScript== | |
// @name sports.nhk.or.jp disable disable PiP | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://sports.nhk.or.jp/* | |
// @icon https://www.google.com/s2/favicons?domain=nhk.or.jp | |
// @grant none | |
// ==/UserScript== |
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
#!/bin/bash | |
# mirakurun_check.sh | |
# 10秒受信して200かつdropしていればその数を、200以外だったらステータスコードをwebhookするshellscript | |
# MIT License | |
# https://gist.github.com/ci7lus/fa8ceccc9fad00957d1feb47fe84c04d | |
set -eu | |
# https://github.com/xtne6f/tsselect_gcc |
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 sys | |
import importlib.machinery | |
argv = sys.argv | |
loader = importlib.machinery.SourceFileLoader("types", argv[1]) | |
loaded = loader.load_module() | |
print("""syntax = "proto3"; |
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 React, { useEffect, useRef, useState } from "react" | |
import { remote } from "electron" | |
import { CommentOpacitySlider } from "./controllers/CommentOpacitySlider" | |
import { useRecoilState, useRecoilValue, useSetRecoilState } from "recoil" | |
import { mirakurunPrograms, mirakurunServices } from "../../atoms/mirakurun" | |
import { | |
mainPlayerAudioChannel, | |
mainPlayerAudioTrack, | |
mainPlayerAudioTracks, | |
mainPlayerCommentOpacity, |