git update-index --assume-unchanged XXX
git update-index --no-assume-unchanged XXX
# on 2024/07, Windows Media ISO is not available directly download | |
# available only "Create Windows 11 Installation Media" tool | |
# => https://www.microsoft.com/software-download/windows11 | |
# downloadable Windows.iso has not inlclude install.wim but install.esd available | |
# extract install.esd with wimexport tool | |
# | |
# reference base (thanks) | |
# https://lavacreeper.medium.com/how-to-make-a-windows-11-bootable-usb-on-a-mac-a52a7c8495dc | |
# install wimlib |
require 'jwt' | |
class GoogleApiJwtTestService | |
def call | |
claims = { | |
iss: 'XXXX.iam.gserviceaccount.com', | |
scope: 'https://www.googleapis.com/auth/XXXX', | |
aud: 'https://www.googleapis.com/oauth2/v4/token', | |
exp: (Time.zone.now + 3.minutes).to_i, | |
iat: Time.zone.now.to_i |
dd if=/dev/zero of=/var/swap bs=1M count=1024
mkswap /var/swap
chmod 0600 /var/swap
swapon /var/swap
fstab
より
sudo scutil --set HostName xxxx.local
cscript Prevent_SS.vbs |
prng = Random.new(666) | |
10.times do |i| | |
puts prng.rand(99999999999).to_s(16).upcase! | |
end |
ruby -run -e httpd . -p 8080 |
#!/bin/bash | |
### BEGIN INIT INFO | |
# Provides: redis sentinel | |
# Required-Start: $all | |
# Required-Stop: $all | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Starts redis sentinel | |
# Description: Starts redis sentinel using start-stop-daemon | |
### END INIT INFO |