Skip to content

Instantly share code, notes, and snippets.

View y-mamanaranu's full-sized avatar
🚴

ゆきづき y-mamanaranu

🚴
  • 物理屋の日常
View GitHub Profile
@y-mamanaranu
y-mamanaranu / wallpaper.json
Created December 18, 2025 04:36
json file to create dynamic wallpaper
[
{
"fileName": "1.png",
"isPrimary": true,
"isForLight": true,
"isForDark": false,
},
{
"fileName": "2.png",
"isPrimary": false,
@y-mamanaranu
y-mamanaranu / github-wiki-link-in-new-tab.js
Last active December 19, 2022 06:08
Open external link fo Github wiki in new tab.
@y-mamanaranu
y-mamanaranu / switch-google-account-bookmark.js
Created December 7, 2022 01:18
Switch goolgle account from Bookmark
javascript:(function(){
const maxAuthuser = 3;
var url = document.location;
const params = new URLSearchParams(url.search);
var authuser = params.get('authuser');
if (authuser == null) {
authuser = 0
};
authuser = (authuser + 1) % maxAuthuser;
params.set('authuser', authuser);
@y-mamanaranu
y-mamanaranu / code-switchable.sh
Created September 19, 2022 22:33
Make code and code-insiders automatically switch based on directory.
function code(){
target="$(pwd)"
if [[ -n "$1" ]]; then
if [[ "$1" =~ "/*" ]]; then
target="$1"
else
target="$(builtin cd $1; pwd)"
fi
fi
@y-mamanaranu
y-mamanaranu / README.md
Last active July 27, 2023 05:32
Hide spesific servers from Disboard

Hide spesific servers from Disboard

Hide spesific servers from Disboard. Add ID of server to config pane.

Disboardで特定のサーバーを非表示にする。 例外設定から除外するサーバーのIDを追加する。

Config

スクリーンショット 2022-05-21 19 51 39

@y-mamanaranu
y-mamanaranu / postprime-make-video-controllable.js
Last active April 17, 2022 13:46
Tampermonkey script for PostPrime to add hide post botton in timeline
// ==UserScript==
// @name PostPrime - Make Video Controllable
// @namespace https://github.com/y-muen
// @version 0.1.1
// @description Hide Marked Posts in PostPrime timeline
// @author Yoiduki <y-muen>
// @match *://postprime.com/*
// @icon https://www.google.com/s2/favicons?domain=postprime.com
// @grant none
// @updateURL https://gist.github.com/y-muen/c6c6b0684b3cc4fc10ec410113815806/raw/postprime-make-video-controllable.js
@y-mamanaranu
y-mamanaranu / postprme-hide-prime-post.js
Last active April 17, 2022 13:46
Tampermonkey script for PostPrime to hide prime post
// ==UserScript==
// @name PostPrime - Hide Prime Post
// @namespace https://github.com/y-muen
// @version 0.1.1
// @description Hide Marked Posts in PostPrime timeline
// @author Yoiduki <y-muen>
// @match *://postprime.com/*
// @icon https://www.google.com/s2/favicons?domain=postprime.com
// @grant none
// @updateURL https://gist.github.com/y-muen/294a63b663eb15fd06ea318d3f1a9e90/raw/postprme-hide-prime-post.js
@y-mamanaranu
y-mamanaranu / postprime-add-post-off.js
Last active April 17, 2022 13:47
Tampermonkey script for PostPrime to add hide post botton in timeline
// ==UserScript==
// @name PostPrime - Add Posrt Off
// @namespace https://github.com/y-muen
// @version 0.1.3
// @description Add hide post botton in PostPrime timeline
// @author Yoiduki <y-muen>
// @match *://postprime.com/*
// @icon https://www.google.com/s2/favicons?domain=postprime.com
// @grant none
// @updateURL https://gist.github.com/y-muen/5ed48690b044611b57a8d94665913cca/raw/postprime-add-post-off.js
@y-mamanaranu
y-mamanaranu / README.md
Last active September 27, 2022 02:45
Tampermonkey script for Yahoo! JP

Yahoo! - 掲載元検索

Usage

Yahoo!ニュースの記事のページで、SNSリンクの横に検索ボタンを追加する。 検索ボタンを押すと、新しいタブでGoogle検索して、最初の結果に遷移する。

スクリーンショット 2022-04-09 18 17 53

Links

@y-mamanaranu
y-mamanaranu / postprime-expand-text-field.js
Last active April 17, 2022 13:48
Tampermonkey script for PostPrime to Expand Text Field in timeline
// ==UserScript==
// @name PostPrime - Expand Text Field
// @namespace https://github.com/y-muen
// @version 0.1.3
// @description Expand Text Field in PostPrime timeline
// @author Yoiduki <y-muen>
// @include *://postprime.com/*
// @exclude *://postprime.com/*/post/*
// @icon https://www.google.com/s2/favicons?domain=postprime.com
// @grant GM_addStyle