This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name YouTube block user comments | |
| // @namespace https://kpherox.dev | |
| // @version 1.3.3 | |
| // @downloadURL https://gist.github.com/kphrx/eb4290150bc7556af95eac2c89965cbe/raw/youtube-comment-block.user.js | |
| // @updateURL https://gist.github.com/kphrx/eb4290150bc7556af95eac2c89965cbe/raw/youtube-comment-block.meta.js | |
| // @author kPherox | |
| // @description hide user comments and conversations | |
| // @noframes | |
| // ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ==UserStyle== | |
| @name niconico user page dark theme | |
| @namespace https://kpherox.dev/ | |
| @version 2.0.4 | |
| @description ニコニコ動画のマイページとユーザーページを暗くするやつ。niconico Darkmode がベース | |
| @author kPherox <kphrx@kpherox.dev> (https://kpherox.dev) | |
| @updateURL https://gist.github.com/kphrx/01845381660b7b90e5928d83fa9964b8/raw/niconico-user-page-dark-theme.user.css | |
| @license MIT | |
| ==/UserStyle== */ | |
| /* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Amazon Prime Video auto hide the next up card | |
| // @namespace https://kpherox.dev/ | |
| // @version 1.4.0 | |
| // @author kPherox | |
| // @match https://www.amazon.co.jp/gp/video/* | |
| // @match https://www.amazon.co.jp/Amazon-Video/* | |
| // @updateURL https://gist.github.com/kphrx/2d7c91067c42453ec88a65e2202c2144/raw/primevideo-autohide-nextupcard.user.js | |
| // @downloadURL https://gist.github.com/kphrx/2d7c91067c42453ec88a65e2202c2144/raw/primevideo-autohide-nextupcard.user.js | |
| // @grant none |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"label":"TCK tests","message":"9 / 13","schemaVersion":1,"color":"hsl(83, 100%, 40%)"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # coding: utf-8 | |
| import sys | |
| #import os | |
| import itertools | |
| import pypuzzle | |
| from glob import glob | |
| puzzle = pypuzzle.Puzzle() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| nginx: | |
| image: nginx:mainline-alpine | |
| restart: always | |
| command: nginx -g "daemon off;" | |
| labels: | |
| - 'nginx-container' | |
| ports: | |
| - '80:80' | |
| - '443:443/tcp' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name core-js for ZenzaWatch matches | |
| // @namespace https://gist.github.com/kphrx/ | |
| // @description ZenzaWatch対象サイトでcore-jsを読み込むスクリプト | |
| // @match *://www.nicovideo.jp/* | |
| // @match *://ext.nicovideo.jp/ | |
| // @match *://ext.nicovideo.jp/#* | |
| // @match *://blog.nicovideo.jp/* | |
| // @match *://ch.nicovideo.jp/* | |
| // @match *://com.nicovideo.jp/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const RED = 2126; | |
| const GREEN = 7152; | |
| const BLUE = 722; | |
| /** | |
| * @typedef {Object} hueValue | |
| * @property {'hue'} type | |
| * @property {number} value | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo 'APT::Install-Recommends "false"; | |
| APT::Install-Suggests "false";' | sudo tee /etc/apt/apt.conf.d/00install-recommends > /dev/null | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg | |
| echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | |
| sudo apt-get update | |
| sudo apt-get install -y docker-ce nftables | |
| sudo update-alternatives --set iptables $(which iptables-nft) | |
| sudo update-alternatives --set ip6tables $(which ip6tables-nft) | |
| sudo usermod -aG docker $(whoami) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env perl | |
| my $current = `docker buildx version`; | |
| use POSIX qw(uname); | |
| my @uname = uname(); | |
| my $os = lc($uname[0]); | |
| my $arch = $uname[4]; | |
| my %arch_map = ( | |
| aarch64 => 'arm64', |
NewerOlder