본문 바로가기

분류 전체보기

(109)
Cauchy-Schwarz 시험장에서 빠르게 유도하기 벡터 \(a\)와 \(b\)가 있고 사이각을 \(\theta\)라 하면,$$\begin{aligned}&|\cos \theta |\leq 1\\&\Rightarrow \frac{|\|a\| \|b\| \cos \theta |}{\|a\| \|b\|} \leq 1 \\&\Rightarrow\frac{|a^\top b|}{\|a\| \|b\|}\leq 1 \\&\Rightarrow |a^\top b| \leq \|a\| \|b\|\end{aligned}$$시험장에서 갑자기 기억 안날 때 빠르게 유도하는 법
[Linux] ssh pem file invalid format error This error originates from Windows-style line ending of the private key file. You need to remove CRLF. This can be easily done with this command.dos2unix your_file.pem
[Linux] Reverting to the initial GNOME After installing KDE Plasma and removing it, GNOME theme is changed. To revert GNOME to its original setting, type this command.dconf reset -f /org/gnome/desktop/interface/To remove minimizing and maximizing buttons, leaving only close button, use this command.gsettings set org.gnome.desktop.wm.preferences button-layout ':close'
[Linux] Fedora Appimage 실행 시 libfuse.so.2 에러 fuse-devel를 설치해야한다.sudo dnf in fuse-devel
[Linux] Docker x11 forwarding 호스트에서 해야할 설정:xhost +local:docker만약 docker가 root로 실행된다면xhost +local:root
[Linux] Macbook 16-inch, 2019 t2linux installation troubleshootings (Fedora) Setting kernel parametersThere are few ways to set kernel parameters.The first one is to edit /etc/default/grub file directly. Add corresponding options to the end of the line starting with GRUB_CMDLINE_LINUX.Then, run this command. sudo grub2-mkconfig -o /boot/grub2/grub.cfgThe second one is to use grubby. You can add and delete kernel parameters as follows.sudo grubby --update-kernel=ALL --arg..
[Linux] Optimizing Laptop's Battery 1) TuneDFedora made the software called "tuned" as its default power management tool. It can be checked if it is running by typing this command.sudo systemctl status tuned-ppdThe "ppd" means the tuned is compatible to power-profile-daemon which is replaced. Tuned has some useful profiles which cannot be accessed via graphical tool in Gnome or KDE Plasma. By typing the command below, the availabl..
Windows에서 flickering없이 watch command 구현 nvidia-smi를 실행하는 예제:Clear-Host while ($true) { # Move cursor to top-left (0,0) to overwrite previous output $Host.UI.RawUI.CursorPosition = @{X=0; Y=0} nvidia-smi Start-Sleep -Seconds 0.1} 아래는 함수로 래핑function watch-smi { param ( [double]$Seconds = 0.1 ) # 1. Clear the screen initially to remove old prompt text Clear-Host # 2. Infinite loop while ($true..