Skip to content

Instantly share code, notes, and snippets.

View anya-tokugawa's full-sized avatar
:shipit:

Yuto Nakagawa anya-tokugawa

:shipit:
View GitHub Profile

導入期日: 2024.01.08

OS: Rocky Linux 9 / Minimal

Directories

  • src: /src/openssh, /srv/openssl
  • build: /srv/openssh/, srv/openssl

README

OpenSSHの手動インストール

導入期日: 2024.01.08

OS: Rocky Linux 9 / Minimal

Directories

  • src: /src/openssh, /srv/openssl
  • build: /srv/openssh/, srv/openssl
<!DOCTYPE html>
<html>
<link rel="stylesheet" href="style.css">
<body>
<!---begin header-->
<div id="approval_header">
<div id="approval_number_box">
<div class="approval_lbl">受付番号</div>
<div id="approval_number_inp">
<input
@anya-tokugawa
anya-tokugawa / bomctl.sh
Created February 2, 2023 13:17
BOMつけたり、消したり。
#!/bin/bash -eu
# origin works: https://qiita.com/take_3/items/5d602906b6b02b33c32a
if [[ $# -lt 2 ]];then
echo "usage: $0 [has|add|rm] [file]"
exit 1
fi
subcmd="$1"
shift
case "$subcmd" in
@anya-tokugawa
anya-tokugawa / gods.md
Last active December 24, 2022 06:11
Gods and Subordinate Gods, Other Gods
@anya-tokugawa
anya-tokugawa / test_ahk_nakagawa.v2.ahk
Last active November 13, 2022 05:34
知り合いのAHKスクリプトの修正・コメント増補版
; ===========================================================================
; AutoHotKey Script v2022-11-13
; ===========================================================================
; 標準のマウス速度
normalMouseRatio = 2
; 高速なマウス速度
accelerationMouseRatio = 10
if (Test-Path "sha1sum.txt" ) {
Write-Output "Error: sha1sum.txt exist. nothing doing."
exit 1
}
Write-Output "Listing File..."
$fileList = Get-ChildItem -Recurse * | ? { ! $_.PSIsContainer }
$all = $fileList.Count
Write-Output "Listing Done. TOTAL_FILE=$all"
@anya-tokugawa
anya-tokugawa / hide-chars.sh
Created August 16, 2022 13:21
Bashでパスワード入力プロンプトをつくる.( `read -s` ではなく `*` 付き)
#!/bin/bash -eu
_setPasscode() {
prompt=""
set +u
if [[ "$1" != " " ]]; then
prompt="$1"
echo -n "$prompt"
fi
set -u
unset passcode passmark
#!/bin/bash
s=("ドド" "スコ")
c=""
while :
do
i=$((RANDOM % 2))
echo -n "${s[i]}"
c="$i${c:0:11}"
if [[ "$c" == "111011101110" ]];then