Change mysql root password
SET PASSWORD FOR ‘user’@’localhost’ = PASSWORD(‘password_txt’);
SET PASSWORD FOR ‘user’@’localhost’ = PASSWORD(‘password_txt’);
ipconfig /release ipconfig /renew
The key was to figure out that the initial RAM disk is “compiled”, and in some case (like this), must be regenerated. Solution: sudo update-initramfs -u. From: https://superuser.com/questions/1204627/deleted-a-partition-now-getting-gave-up-waiting-for-suspend-resume-device-mes/1204634
xfce4-terminal -e tmux
$ sudo apt install unar List the files in zip or rar files $ lsar files.zip/rar Unzip or Unrar the files $ unar files.zip/rar OR $ unar -e GBK files.zip/rar
$ sudo apt install iw wireless-tools wpasupplicant $ lspci go https://wiki.debian.org/WiFi to find your wireless firmware driver Add non-free on your /etc/apt/sources.list $ sudo apt update $ apt install firmware-(what your driver is) $ sudo shutdown -r now # ip Read More …
By default, most shells use emacs-style key bindings for command-line editing and modification. For users of vi or vim, however, you can instead configure shells to use vi key bindings instead. This is done by editing ~/.bashrc in the case Read More …
Install “command-not-found”: 1, $sudo apt intall command-not-found 2, $sudo apt-file update $sudo update-command-not-found After above, you can use command-not-found on bash shell now. Next is zsh: Add one time in the .zshrc: plugins=(command-not-found) Last, you can install “cheat”: sudo pip Read More …
1, 参考 http://xahlee.info/linux/git.html 2, cat .ssh/id_rsa.pub https://github.com/settings/ssh copy your id_rsa to your github’s ssh.
ls set root=(hd0,gpt7) set prefix=(hd0,gpt7)/boot/grub/ insmod normal normal 仅仅是注册话就很简单了, efibootmgr 可以很方便地完成这个工作, # efibootmgr -c -d /dev/nvme0n1 -p X -l \\EFI\\opensuse\\shim.efi -L opensuse-secure 其中, -c 表示生成一个新的启动项; -d /dev/nvme0n1 表示该启动项对应的文件在磁盘 /dev/nvme0n1 中,如果有多个磁盘,可能后面结尾的数字就不是 1; -p X 表示启动项对应的文件在上述磁盘的第 X 个分区中; -l \\EFI\\opensuse\\shim.efi 表示该启动项对应的启动文件,其中路径是相对于 ESP Read More …