This file contains hidden or 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
const token = Deno.env.get("TISSUE_TOKEN"); | |
const col1 = Deno.args[0]; | |
const col2 = Deno.args[1]; | |
const fetchCollectionItems = async (collectionID: string) => { | |
const allItems = []; | |
for (let page = 1;; page++) { | |
const res = await fetch( | |
`https://shikorism.net/api/v1/collections/${collectionID}/items?page=${page}&per_page=100`, |
This file contains hidden or 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
const token = Deno.env.get("TISSUE_TOKEN"); | |
const title = "Komiflo bookmarks COMIC BAVEL 2025.02"; | |
const input = ` | |
https://komiflo.com/comics/25893 | |
https://komiflo.com/comics/25883 | |
https://komiflo.com/comics/25886 | |
https://komiflo.com/comics/25887 | |
https://komiflo.com/comics/25889 | |
https://komiflo.com/comics/25890 |
This file contains hidden or 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 | |
if [ -z "$MIKUTTER_CONFROOT" ]; then | |
MIKUTTER_CONFROOT="$HOME/.mikutter" | |
fi | |
echo "MIKUTTER_CONFROOT: $MIKUTTER_CONFROOT" | |
if [ ! -d "$MIKUTTER_CONFROOT" ]; then | |
echo "MIKUTTER_CONFROOT does not exist." | |
exit 1 |
This file contains hidden or 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 | |
# original: https://github.com/mikutter/twitter_bootstrap/blob/7704d9a8da4b6cc1fa4d8baad8a8eba1d455b704/twitter-bootstrap.sh | |
# GTK3_FORKS data source: https://twitter.com/tsutsuii/status/1455931218730500103 | |
# usage: | |
# checkout to ~/.mikutter/plugin | |
# $ ./twitter-bootstrap-gtk3.sh | |
# | |
# checkout to another confroot | |
# $ ./twitter-bootstrap-gtk3.sh <confroot-path> |
This file contains hidden or 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
;;; -*- coding: utf-8 -*- | |
;; okuri-ari entries. | |
;; okuri-nasi entries. | |
あおやぎとうや /青柳冬弥/ | |
あきやまみずき /暁山瑞希/ | |
あさひなまふゆ /朝比奈まふゆ/ | |
あずさわこはね /小豆沢こはね/ | |
おおとりえむ /鳳えむ/ | |
かみしろるい /神代類/ | |
きりたにはるか /桐谷遥/ |
This file contains hidden or 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
Plugin.create :delayer_high_water_marker | |
Delayer.default.instance_eval do | |
alias run_once_dhwm run_once | |
def run_once(...) | |
s1 = size_norec | |
res = run_once_dhwm(...) | |
s2 = size_norec | |
warn "delayer tasks #{s1} -> #{s2}" |
This file contains hidden or 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
@powershell -NoProfile -ExecutionPolicy Unrestricted "$s=[scriptblock]::create((gc \"%~f0\"|?{$_.readcount -gt 1})-join\"`n\");&$s" %*&goto:eof | |
Write-Host "Hello, World!!" |
This file contains hidden or 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
console.log(JSON.stringify(request)); | |
console.log(JSON.stringify(imports)); | |
console.log(JSON.stringify(server)); | |
const args = []; | |
// -d | |
args.push('-d'); | |
args.push(`'${request.body.replace(/\n/g, '')}'`); |
This file contains hidden or 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/vala/System.OS.native.c b/vala/System.OS.native.c | |
index 1d8f950..03256db 100644 | |
--- a/vala/System.OS.native.c | |
+++ b/vala/System.OS.native.c | |
@@ -28,7 +28,9 @@ | |
#include <sys/ioctl.h> | |
#include <sys/param.h> | |
#include <sys/sysctl.h> | |
+#if defined(BSD) | |
#include <sys/ttycom.h> |
This file contains hidden or 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
Plugin.create :kadoma do | |
on_update do |w, ms| | |
ms.each do |m| | |
if m.description.include?("門真") || (m.description.include?("@") && m.description.include?("いやじゃ")) | |
compose(w, body: "@[email protected] まちカドまぞくを見ろ") | |
end | |
end | |
end | |
end |
NewerOlder