注: $<この中にlatexが書ける>$ 注: frac(分数 fraction)
This file contains 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
name: Build | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: "*" | |
workflow_dispatch: | |
jobs: |
This file contains 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
// See: https://www.bugbugnow.net/2021/02/user-script.html | |
// ==UserScript== | |
// @name Youtube Block adblock blocker(preload version) | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.youtube.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
// @grant none |
This file contains 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
Apache License | |
Version 2.0, January 2004 | |
http://www.apache.org/licenses/ | |
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | |
1. Definitions. | |
"License" shall mean the terms and conditions for use, reproduction, |
This file contains 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
# This command runs on the host side of the window | |
# | |
# Deps | |
# - WSL Kali-linux | |
# - Docker | |
# - PowerShell Core | |
# - Windows11 | |
write-output "FROM alpine:3.16.2 `nENV DISPLAY=:0 `nRUN set -eux && apk update && apk add --no-cache xeyes `nCMD [`"xeyes`"]" | out-file "./docker-xeyes" -encoding utf8 && | |
docker run --rm -it -v \\wsl.localhost\kali-linux\tmp\.X11-unix:/tmp/.X11-unix "$(docker build -f ./docker-xeyes -q .)" && |
This file contains 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
#! python3 | |
modes = { | |
"ColorName": 0, | |
" Bold": 1, | |
"Underline": 4, | |
"Invisible": 8, | |
" Reverse": 7, | |
} |
This file contains 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
# Usage: | |
# .\delete.ps1 | |
# Check if the script is running with administrative privileges | |
if (-not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { | |
# Relaunch the script as an administrator | |
if (Get-Command pwsh) { | |
Start-Process pwsh -ArgumentList "-NoProfile -ExecutionPolicy Bypass -File ./delete.ps1" -Verb RunAs | |
}else{ | |
Start-Process powershell -ArgumentList "-NoProfile -ExecutionPolicy Bypass -File ./delete.ps1" -Verb RunAs |
# if GitBash => $HOME/.gnupg
ii $HOME\AppData\Roaming\gnupg
# Warning: vscode-devcontainer read $HOME\AppData\Roaming\gnupg, not $HOME/.gnupg
注意:
- dockerコンテナではgnupg2を手動で入れない限りまともコミットできない!
NewerOlder