Skip to content

Instantly share code, notes, and snippets.

View SARDONYX-sard's full-sized avatar
🌴
On vacation

SARDONYX SARDONYX-sard

🌴
On vacation
View GitHub Profile
@SARDONYX-sard
SARDONYX-sard / build.yaml
Last active June 18, 2024 19:38
cmake-bzip2, zlib(get error)
name: Build
on:
push:
branches: ["main"]
pull_request:
branches: "*"
workflow_dispatch:
jobs:
// 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
@SARDONYX-sard
SARDONYX-sard / LICENSE-APACHE
Last active May 10, 2024 08:51
MIT & Apache2.0 dual license template
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,
@SARDONYX-sard
SARDONYX-sard / 微積.md
Last active February 12, 2023 22:43
たのしいさんすう
# 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 .)" &&
@SARDONYX-sard
SARDONYX-sard / commands.md
Last active December 24, 2022 20:07
Memo
@SARDONYX-sard
SARDONYX-sard / color.py
Last active September 27, 2022 05:39
Show ansi color
#! python3
modes = {
"ColorName": 0,
" Bold": 1,
"Underline": 4,
"Invisible": 8,
" Reverse": 7,
}

ModOrganizer Skyrim SE\mods\Enhanced Character Edit -SE キャラクリ編集画面の強化 youngNord追加\meshes\CharacterMakingExtenderにある nameList.txtに使いたい日本語の名前を入れるとキャラクリ画面で名前を変更できる

よく使うキー

  • 通常
    • 自動歩行: c
    • シャウト: z
    • ダッシュ: left-shift
  • 隠密: CapsLock
@SARDONYX-sard
SARDONYX-sard / delete.ps1
Last active September 14, 2023 21:44
My Powershell scripts(Backup savedata, delete Program files, bluetooth)
# 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
@SARDONYX-sard
SARDONYX-sard / How-to-verify-commit-with-gpg-key.md
Last active March 12, 2023 22:47
GnuPGで署名済みコミットをする方法
# if    GitBash => $HOME/.gnupg
ii $HOME\AppData\Roaming\gnupg

# Warning: vscode-devcontainer read $HOME\AppData\Roaming\gnupg, not $HOME/.gnupg

注意:

  • dockerコンテナではgnupg2を手動で入れない限りまともコミットできない!