Skip to content

Instantly share code, notes, and snippets.

@noromanba
noromanba / upd.sh
Last active August 2, 2022 15:43
bulk upgrade whole package managers
#!/usr/bin/env bash
# bulk upgrade whole package managers
# @version 2022.8.2.1
# @license CC0 Univ PD https://creativecommons.org/publicdomain/zero/1.0/
# @author noromanba https://noromanba.github.com
set -eCx
apt update && apt upgrade "$@"
# pseudo pip-upgrade; c.f.
@noromanba
noromanba / pip-upgrade.sh
Last active January 12, 2023 20:25
pseudo `pip-upgrade`
#!/usr/bin/env bash
# pseudo `pip upgrade`
# @version 2022.12.12.1
# @license CC0 Univ PD https://creativecommons.org/publicdomain/zero/1.0/
# @author noromanba https://noromanba.github.io
set -eCx
# always backup
requirements=~/requirements.txt
@noromanba
noromanba / haiku_downloader.user.js
Last active March 25, 2019 22:20 — forked from Akkiesoft/haiku_downloader.user.js
backup Hatena Haiku to json for UserScript
// ==UserScript==
// @name Haiku Downloader
// @namespace https://kokuda.org/
// @version 0.1
// @description 無茶しやがって
// @author Akkiesoft
// @match http://h.hatena.ne.jp/*
// @require https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.5/jszip.min.js
// @grant none
// ==/UserScript==
@noromanba
noromanba / pubrasche.user.js
Last active August 9, 2018 14:12
complement title on reader of publus.jp for UserScript
// ==UserScript==
// @name Pubrasche
// @namespace https://noromanba.github.com
// @description complement title on reader of publus.jp for UserScript
// @include *://jumpbookstore.com/client_info/SHUEISHA/html/player/viewer.html*
// @grant none
// @noframes
// @run-at document-end
// @version 2018.8.8.1
// @homepage https://gist.github.com/noromanba/c2f24e19ae24ac5b6a1e6f578ca98191
@noromanba
noromanba / hatenahaiku-spam-filter.user.js
Last active September 21, 2018 17:25
Hatena Haiku spam filter for UserScript
// ==UserScript==
// @name Hatena Haiku spam filter
// @namespace https://noromanba.github.com
// @description Hatena Haiku spam filter for UserScript
// @include *://h.hatena.ne.jp/*
// @exclude *://h.hatena.ne.jp/setting/*
// @exclude *://h.hatena.ne.jp/guide
// @exclude *://h.hatena.ne.jp/help/*
// @grant none
// @noframes
@noromanba
noromanba / ig-denoiser.user.js
Last active June 18, 2021 20:25
hidden user comments on instagram.com for UserScript
// ==UserScript==
// @name IG denoiser
// @namespace https://noromanba.github.com
// @description hidden user comments on instagram.com for UserScript
// @include https://www.instagram.com/*
// @grant none
// @noframes
// @run-at document-start
// @version 2019.5.28.1
// @homepage https://gist.github.com/noromanba/1f369b316c1b43bdf0e337c6c5af1c80
@noromanba
noromanba / hatenalet-indicator-reviver.user.js
Last active July 1, 2024 11:54
revive "[saving...]" indicator on Hatena::Let for UserScript
// ==UserScript==
// @name Hatena::Let indicator reviver
// @namespace https://noromanba.github.com
// @description revive "[saving...]" indicator on Hatena::Let for UserScript
// @include *://let.hatelabo.jp/l
// @grant none
// @noframes
// @run-at document-end
// @version 2018.5.14.1
// @homepage https://gist.github.com/noromanba/ceaf1067aea7c3855ce7b57fe5ae1887
@noromanba
noromanba / fetch-with-timeout.md
Created May 11, 2018 05:24
fetch w/ request timeout by AbortController

fetch w/ timeout sample

fetch w/ request timeout by AbortController

code

// @description fetch w/ request timeout by AbortController
// @license     CC0 Univ PD https://creativecommons.org/publicdomain/zero/1.0/
// @author      noromanba   https://noromanba.github.com
// @version 2018.5.11.0
@noromanba
noromanba / userChrome.css
Last active April 1, 2018 21:15
Firefox User CSS (for font-*)
/*
* Firefox User CSS
* deploy to ~/.mozilla/firefox/<PROFILE_NAME>/chrome/
* @author noromanba
* @version 2018.4.1.0
* https://www-archive.mozilla.org/unix/customizing.html#usercss
*/
/*
* Devtools font-size