發表文章

目前顯示的是 12月, 2021的文章

Disable nouveau and install NVIDIA Driver on Ubuntu

圖片
1. Download NVIDIA from  https://www.nvidia.com/Download/index.aspx?ncid=afm-chs-44270&ranMID=44270&ranEAID=a1LgFw09t88&ranSiteID=a1LgFw09t88-buxlbcTUvQEV.eZv3z3a3g if driver is in  https://www.nvidia.com/Download/driverResults.aspx/184163/en-us , driver filename is NVIDIA-Linux-x86_64-470.94.run 2. download make, gcc, dkms  and vim from apt-get $ apt install gcc make vim libglvnd-* 3. touch and edit /etc/modprobe.d/blacklist-nouveau.conf to add below content blacklist nouveau options nouveau modset=0 4. run update-initramfs command $ sudo update-initramfs -u 5. change boot target and reboot to multi-user.target by command systemctl $ sudo systemctl set-default multi-user.target $ sudo systemctl reboot 6. enable execuate driver file  NVIDIA-Linux-x86_64-470.94.run and run it $ cd ~/Download $ sudo chmod 755 NVIDIA-Linux-x86_64-470.94 $ sudo ./NVIDIA-Linux-x86_64-470.94 --dkms 7. add min/max icon https://itsfoss.com/click-to-minimize-ubuntu/ gsettings set...

Hides file or folder on MacOS

圖片
1. Open terminal from Application folder 2. chflags hidden file_or_folder_path            #maybe drag and drop icon from Finder flags: hidden / nohidden 3. To display Hidden files or folders, press keys combination  command + shift + . reference https://www.howtogeek.com/211496/how-to-hide-files-and-view-hidden-files-on-mac-os-x/

程式碼執行無法繼續,因為找不到VCRUNTIME_1.dll on Windows 11

圖片
 安裝Office 2019 Professional至 Windows 11 會出現以下錯誤 此時只要去以下Microsoft網站下載 Microsoft Visual C++ Redistributable Latest Supported Downloads 2015-2022 for ARM64 https://aka.ms/vs/17/release/vc_redist.arm64.exe for X86 https://aka.ms/vs/17/release/vc_redist.x86.exe for X64 https://aka.ms/vs/17/release/vc_redist.x64.exe references https://answers.microsoft.com/zh-hant/windows/forum/all/vcruntime140dii/e99dbbce-6d1e-44c1-aad1-3e3f28edf227 https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022 https://docs.microsoft.com/zh-TW/cpp/windows/latest-supported-vc-redist?view=msvc-170