基本的にはデータを送信することはありません。
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
import { GoogleGenAI } from "npm:@google/genai"; | |
import ical from "npm:ical-generator"; | |
// 1. Load config from config.json | |
const config = JSON.parse(await Deno.readTextFile("config.json")); | |
const GEMINI_API_KEY = config.geminiApiKey; | |
const TARGET_URL = config.targetUrl; | |
const ENCODING: string = config.encoding || "utf-8"; | |
const DEFAULT_TIME = config.defaultTime || "09:00"; |
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
#!/usr/bin/env ruby | |
require "yaml" | |
require "json" | |
ALL_PATH = File.expand_path("~/.cfd-hosts") | |
if File.exist?(ALL_PATH) | |
hosts = JSON.parse(File.read(ALL_PATH), symbolize_names: true) | |
else | |
hosts = [] | |
end |
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
i=0;eval( source= %w?"zl ib,bas e64,securerand om".split( ', ').eac | |
h{|x|require(x)};data=Zlib.inflate (Base64.urls afe_decode64(sou rce.split("#")[4+i ])).unpack("C* ").flat_ma p{|x|[x/8,x/ | |
8,x%8,x%8]};palette=[0x48b0d5,0x8d cee5,0xffffff,0x3a90 ad,0xe0c3b8,0xef d5c6,0].map{|x|[x> >16,(x>>8)&0xff, x&0xff]};all_source=('i='+((i+1)%2 | |
).to_s+';eval(source=%w'+63.chr+source +63.chr+".join)");ch ars=al l_sour ce.chars;width=46; height=24;missin g=width*2*height-chars.size;chars+ | |
=["^"]*missing;c hars=c hars.e ach_slice( width* 2).fla t_map{ _1.join.gs ub(/\x5e{2,}/) {|x|"#"+Se cureRandom.urlsafe_base6 | |
4(x.size-1)[0,x. size-1 ]}.cha rs};pu ts(cha rs .zip(dat a).map{| l,c|"\e[ 48 | |
;2;#{palette[c].join (";")}m" +l}. |
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
// ==UserScript== | |
// @name Open YouTube App (Patched) | |
// @version 2.0.0 | |
// @author Nanashi. <https://sevenc7c.com>, original by asportnoy | |
// @match *://*.youtube.com/* | |
// @downloadURL https://gist.github.com/sevenc-nanashi/83d7214c43e47f9f689a9199f81f0a8e/raw/open-yt-patched.user.js | |
// @updateURL https://gist.github.com/sevenc-nanashi/83d7214c43e47f9f689a9199f81f0a8e/raw/open-yt-patched.user.js | |
// @homepage https://gist.github.com/sevenc-nanashi/83d7214c43e47f9f689a9199f81f0a8e | |
// @inject-into content | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name atcoder-difficulty-display | |
// @namespace https://github.com/hotaru-n | |
// @version 2.0.1 | |
// @description AtCoder Problemsの難易度を表示します。 | |
// @author hotaru-n | |
// @license MIT | |
// @supportURL https://github.com/hotaru-n/atcoder-difficulty-display/issues | |
// @match https://atcoder.jp/contests/* | |
// @exclude https://atcoder.jp/contests/ |
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
$installed = "C:\tools\ffmpeg\bin" | |
[Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", [System.EnvironmentVariableTarget]::User) + ";$installed", [System.EnvironmentVariableTarget]::User) |
色つきのメッセージ:
Discordは現在自由に色がつけられるコードブロックをロールアルトしています。ANSIカラーコードを使っているため、ターミナルに色つき文字を出力しようとしたことがある人は簡単にできるでしょう。
色つきのメッセージを送るには、コードブロックの言語をansi
にしてこのようなプレフィックスを前につける必要があります:
\u001b[{設定}m
{設定}
には変更する{スタイル}
、{文字色}
、{背景色}
を;
区切りで指定できます。
例:
下の内容はほとんど要約です。正確な情報が欲しいなら録画を見て下さい。
- アプリディスカバリー(一部公開)
- Botを探すのが楽になる
Add Server
ボタンも一環
- ボタンを増やすのに認証は必要ない
NewerOlder