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/sh | |
# Mirakurun/mirakc channel yaml output by uru (https://twitter.com/uru_2) | |
# | |
# require: | |
# stz2012/epgdump | |
# xmllint (libxml2 tools) | |
# ISDB-T/S record software | |
# recpt1, dvbv5-zap & Chinachu/dvbconf-for-isdb | |
set -eu |
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 fetch from 'node-fetch' | |
/** | |
* @param {NapkinRequest} req | |
* @param {NapkinResponse} res | |
*/ | |
// Fork this function to input your own slack webhook url | |
const url = process.env.SLACK_WEBHOOK_URL | |
const INDIGO_CLIENT_ID = process.env.INDIGO_CLIENT_ID | |
const INDIGO_CLIENT_SECRET = process.env.INDIGO_CLIENT_SECRET |
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
type DeviceCodeResult = { | |
device_code: string | |
user_code: string | |
verification_url: string | |
expires_in: number | |
interval: number | |
} |
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
"use strict"; | |
Object.defineProperty(exports, "__esModule", { value: true }); | |
const promises_1 = require("timers/promises"); | |
const electron_1 = require("electron"); | |
electron_1.app.on("ready", async () => { | |
const browser = new electron_1.BrowserWindow({ | |
titleBarStyle: "hiddenInset", | |
titleBarOverlay: true, | |
}); | |
await (0, promises_1.setTimeout)(1000); |
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
query { | |
user(username: "kokoro") { | |
activities(first: 10) { | |
edges { | |
annictId, | |
action, | |
node { | |
__typename | |
... on Status { | |
work { |
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/Makefile.am b/Makefile.am | |
index dd282b23cc..dc353dddbd 100644 | |
--- a/Makefile.am | |
+++ b/Makefile.am | |
@@ -169,10 +169,7 @@ if BUILD_VLC | |
############################################################################### | |
install-exec-hook: | |
if test "$(build)" = "$(host)"; then \ | |
- PATH="$(DESTDIR)$(bindir):$$PATH" \ | |
- LD_LIBRARY_PATH="$(DESTDIR)$(libdir):$$LD_LIBRARY_PATH" \ |
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-disable prefer-const */ | |
/* | |
* Port of Andrew Moon's Poly1305-donna-16. Public domain. | |
* https://github.com/floodyberry/poly1305-donna | |
* https://github.dev/sodium-friends/sodium-javascript | |
*/ | |
import Chacha20 from "chacha20-universal" | |
export const generateMac = ( | |
key: Uint8Array, |
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
declare module "sodium-javascript" { | |
export function crypto_aead_chacha20poly1305_ietf_encrypt( | |
ciphertext: Uint8Array, | |
message: Uint8Array, | |
ad: Uint8Array | null, | |
nsec: unknown | null, | |
npub_nonce: Uint8Array, | |
key: Uint8Array | |
): number | |
export function crypto_aead_chacha20poly1305_ietf_encrypt_detached( |
NewerOlder