Skip to content

Instantly share code, notes, and snippets.

@ymgc
ymgc / update_motd.sh
Last active June 21, 2019 23:47
for RHEL8
#!/bin/bash
# Description:UpdateMotd
FILE_MOTD='/etc/motd'
BIN_DATE='/bin/date'
BIN_HOSTNAME='/bin/hostname'
BIN_IP='/usr/sbin/ip'
BIN_GREP='/bin/grep'
BIN_SED='/bin/sed'
@ymgc
ymgc / Caps2Ctrl.reg
Created April 27, 2019 06:16
Caps2Ctrl.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00