Skip to content

Instantly share code, notes, and snippets.

View Marco3jp's full-sized avatar
🏠
StayHome

Marco Marco3jp

🏠
StayHome
View GitHub Profile
@Marco3jp
Marco3jp / app.js
Created February 11, 2023 15:39
Custom style template
// ==UserScript==
// @name Custom style template
// @description template for adding custom style
// @version 0.1
// @author Marco
// @homepage https://marco.plus
// @namespace https://marco.plus
// @website https://twitter.com/Marco_utau
// @match https://example.com
// @icon https://www.google.com/s2/favicons?sz=64&domain=example.com
@Marco3jp
Marco3jp / app.js
Created September 30, 2022 12:56
nico-thum-cleaner
// ==UserScript==
// @name nico-thum-cleaner
// @description remove muted thumbnails in search page
// @namespace https://marco.plus
// @version 1.0
// @author Marco
// @homepage https://marco.plus
// @website https://twitter.com/Marco_utau
// @match https://www.nicovideo.jp/search/*
// @match https://www.nicovideo.jp/tag/*
@Marco3jp
Marco3jp / app.js
Last active December 9, 2020 15:35
thin nicovideo 2020
// ==UserScript==
// @name thin nicovideo 2020
// @description 2020年に公開されたニコニコ動画の新マイページを痩せさせるスタイルシート
// @match https://www.nicovideo.jp/my*
// @version 1.2
// @author Marco
// @license MIT License
// @namespace https://github.com/Marco3jp/
// ==/UserScript==
@Marco3jp
Marco3jp / app.js
Created August 24, 2020 18:33
gbf-wikiのサイドバー閉じるやつ
// ==UserScript==
// @name Toggle Wiki Sidebar
// @match https://gbf-wiki.com/index.php*
// @namespace https://marco.plus
// @version 1.0
// @author Marco
// @homepage https://marco.plus
// @website https://twitter.com/Marco_utau
// ==/UserScript==
@Marco3jp
Marco3jp / app.js
Created August 22, 2020 13:19
アルコール計算する子
javascript:(function(){const MAX=350;const ALC=25;const a=parseInt(prompt(`${ALC}% を X ml`,'90'));if(!a||isNaN(a))return;const af=a*ALC/100/MAX;const m=MAX-a;alert(`度数は ${af*100}%\n酒: ${a}ml 割材: ${m}ml`);})();
@Marco3jp
Marco3jp / Cargo.toml
Last active February 26, 2021 21:29
notification to /tmp/now_playing.txt, now spotify playing info.
[package]
name = "spotification"
version = "0.3.0"
authors = ["marco <marco3jp+git@gmail.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
mpris = "1.1.2"
@Marco3jp
Marco3jp / memo.txt
Created May 8, 2020 06:22
酒、明日買いに行きます。の制作に使ったメモ。
酒、明日買いに行きます。
近日公開予定
物語
外出自粛を守るため
引きこもり続けたぼく。
しかしその長さから
彼女である日本酒が
@Marco3jp
Marco3jp / app.js
Created March 13, 2020 13:41
Customize style for Scrapbox
// ==UserScript==
// @name Customize style for Scrapbox
// @match https://scrapbox.io/*
// @version 1.0
// @author Marco
// @homepage https://marco.plus
// @website https://twitter.com/Marco_utau
// ==/UserScript==
(function() {
@Marco3jp
Marco3jp / app.js
Last active June 29, 2020 06:47
Look at Wikipedia reality
// ==UserScript==
// @name Look-at-Wikipedia-reality
// @namespace https://marco.plus
// @version 1.0
// @author Marco
// @match https://ja.wikipedia.org/wiki/*
// @homepage https://marco.plus
// @website https://twitter.com/Marco_utau
// ==/UserScript==
#!/usr/bin/node
const prefix = "0x";
const bpm = 183.0;
function getMeasureMillisecond() {
return 60 / (bpm / 4) * 1000; // 小節あたりの長さ(ms)
}