Skip to content

Instantly share code, notes, and snippets.

View glyzinie's full-sized avatar
🐈‍⬛
今日も一日がんばるぞい!٩( ‘ω’ )و

Wis glyzinie

🐈‍⬛
今日も一日がんばるぞい!٩( ‘ω’ )و
View GitHub Profile
import { Hono } from 'hono';
import { InteractionType, InteractionResponseType } from 'discord-api-types/v9';
// Function to convert a hex string to binary format
function hex2bin(hex: string): Uint8Array {
const buf = new Uint8Array(Math.ceil(hex.length / 2));
for (let i = 0; i < buf.length; i++) {
buf[i] = parseInt(hex.substr(i * 2, 2), 16);
}
return buf;
! NEC Portable Internetwork Core Operating System Software
! IX Series IX3315 (magellan-sec) Software, Version 10.9.11, RELEASE SOFTWARE
! Compiled Dec 15-Fri-2023 13:25:17 JST #2
! Last updated May 20-Mon-2024 03:25:54 JST
!
service ssl-protocol tls1.2-and-later
!
hostname HomeLab
timezone +09 00