Skip to content

Instantly share code, notes, and snippets.

View yudukikun5120's full-sized avatar
🖊️
一度梟身を尽して、又新に梟身を得。

Yuzuki Arai yudukikun5120

🖊️
一度梟身を尽して、又新に梟身を得。
View GitHub Profile
@yudukikun5120
yudukikun5120 / auto_login.user.js
Last active February 6, 2024 03:21
Automatic Login for the Unified Authentication System of the University of Tsukuba
// ==UserScript==
// @name Automatic Login for the Unified Authentication System of the University of Tsukuba
// @version 1.0
// @description Automatic Login for the Unified Authentication System of the University of Tsukuba
// @match https://idp.account.tsukuba.ac.jp/idp/profile/SAML2/Redirect/SSO*
// @grant none
// ==/UserScript==
(function () {
'use strict';
@yudukikun5120
yudukikun5120 / extract_quotes_from_md.go
Created September 21, 2023 08:57
Extraction quotes from markdown text in Go
package main
import (
"fmt"
"regexp"
"strings"
)
type Quote struct {
Text string
@yudukikun5120
yudukikun5120 / nico2bib.sh
Last active July 3, 2023 11:26
ニコニコ動画をBibTeXエントリーに変換
#!/bin/bash
# Parse command line options
while getopts ":s" opt; do
case ${opt} in
s )
stdout=true
;;
\? )
echo "Invalid option: $OPTARG" 1>&2
@yudukikun5120
yudukikun5120 / instrumental_video.ipynb
Created May 5, 2023 15:38
instrumental_video.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@yudukikun5120
yudukikun5120 / signature_file.rb
Last active February 6, 2023 07:42
『マルチメディアデータ工学:音声・動画像データベースの高速検索技術 (宝珍 輝尚)』31㌻のシグネチャファイルのRubyでの実装
# frozen_string_literal: true
KEYWORDS =
[
%w[ribbon trouble sister vigorous],
%w[representative deny hypothesize]
]
.freeze
QUERY_KEYWORD = 'representative'
class Twins2mkdir < Formula
desc "TWINS の履修科目を表す CSV ファイルから,科目ごとのディレクトリを作成するシェルスクリプト"
homepage "https://github.com/yudukikun5120/twins2mkdir"
url "https://github.com/yudukikun5120/twins2mkdir/archive/refs/tags/v1.0.tar.gz"
sha256 "73d10dd13acd1a94f92a4b50f6bc5645225bfb9a2e930cfce1cd225d6d24b94d"
license "MIT"
depends_on "jq"
def install
### Keybase proof
I hereby claim:
* I am yudukikun5120 on github.
* I am yudukikun5120 (https://keybase.io/yudukikun5120) on keybase.
* I have a public key ASDDOk-pJcF15RNs0IFXXHuxNXjWn27Xxd3M8fEWmMV7Mgo
To claim this, I am signing this object:
@yudukikun5120
yudukikun5120 / monospace_symbols_converter.js
Last active May 31, 2022 08:52
The Javascript for Automation script for converting text to monospace symbols.
function run (input, parameters) {
const plainText = input[0].toString()
const charCodes = []
for (const char of plainText) {
const charCode = char.charCodeAt()
let convertedCharCode = 0
if (char >= 'A' && char <= 'Z') {
@yudukikun5120
yudukikun5120 / ichikosai_73_event.ics
Created April 23, 2020 19:10
iCalender file of Ichikosai 73
BEGIN:VCALENDAR
PRODID:-//Ichikosai//Ichikosai Website//JP
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
TZID:Asia/Tokyo
DTSTART:20200530T090000
DTEND:20200530T160000
CREATED:20200420T000000