Author: jpuyy
-
start_smb.sh
sudo docker stop samba sudo docker rm samba sudo docker run -it –name samba -v /data/4t/share:/mount -p 139:139 -p 445:445 -d dperson/samba -p \ -s “public;/mount” 之后使用客户端使用 guest 用户登录
-
kubernetes kill pod fail
Warning FailedKillPod 34s (x396 over 26h) kubelet error killing pod: [failed to “KillContainer” for “fluentd” with KillContainerError: “rpc error: code = Unknown desc = operation timeout: context deadline exceeded”, failed to “KillPodSandbox” for “bd1bd397-b8fe-4118-8149-869e18ac4034” with KillPodSandboxError: “rpc error: code = DeadlineExceeded desc = context deadline exceeded”]
-
openssl 学习测试 ssl
建立连接 openssl s_client -connect jpuyy.com:443 测试 cpu 计算时间 openssl speed rsa Doing 512 bit private rsa’s for 10s: 45248 512 bit private RSA’s in 10.00s Doing 512 bit public rsa’s for 10s: 615186 512 bit public RSA’s in 9.98s Doing 1024 bit private rsa’s for 10s: 14429 1024 bit private RSA’s in 10.00s Doing 1024…
-
mac 鼠标指针慢
接了外接的 usb 鼠标后,会出现拖动无力的情况 重置NVRAM 或 PRAM 之后,鼠标非常顺畅 OPTION+Command+P+R+POWER Option-Command-P-R: Reset NVRAM or PRAM. If your Mac is using a firmware password, it ignores this key combination or starts up from macOS Recovery. https://support.apple.com/en-us/HT201255 打开 System Report => 图像显示, 发现 UI Looks like: 2560 x 1440 @ 29.00Hz 想办法证它显示 4k 60Hz 下载 SwitchResX4.zip,选 2560x1440x60Hz 在 DELL…
-
Local ArgoCD playground
$ brew install argocd $ argocd version $ kubectl port-forward svc/argocd-server -n argocd 8080:443 $ kubectl get secret argocd-initial-admin-secret -n argocd -o json | jq “.data | map_values(@base64d)” “` reset password # bcrypt(xxxx)=$2b$12$H5jWbxxxxxxxxxxxxxxx.3aaA2xLQY4iZHZgI.y kubectl -n argocd patch secret argocd-secret \ -p ‘{“stringData”: { “admin.password”: “$2b$12$H5jWbxxxxxxxxxxxxxxx.3aaA2xLQY4iZHZgI.y”, “admin.passwordMtime”: “‘$(date +%FT%T%Z)’” }}’ “` argocd login –insecure –username admin…
-
macOS 鼠标 触控板
鼠标设置,tracking speed / 双击以及滚动速度调到离最快 两格 触控板 勾选 Tap to click Click => light Track Speed => Fast 三指拖拽 https://support.apple.com/en-us/HT204609