February 15, 2021

[Note] Windows 10 auto login

I have Windows 10 running on VirtualBox for testing, and want to enable auto-login.  MS removed this feature from settings, and registry change is required.


  1. Run regedit
  2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
  3. Set AutoAdminLogon to 1
  4. Set DefaultUserName to your user anem
  5. Create DefaultPassword string entry and enter your password


References


January 29, 2021

[Note] add Anaconda to Win10 Terminal

From: https://dev.to/azure/easily-add-anaconda-prompt-in-windows-terminal-to-make-life-better-3p6j

Open settings from Terminal and add following:

    {
        "guid""{0caa0dad-35be-5f56-a8ff-afceee452369}",
        "name""Anaconda",
        "icon""%USERPROFILE%\\Anaconda3\\Menu\\anaconda-navigator.ico",
        "commandline""cmd.exe /K C:\\Users\\kkim\\Anaconda3\\Scripts\\activate.bat",
        "hidden"false
      }

Just change the user name (e.g "kkim") with yours.




January 24, 2021

Fira Code





Download

https://github.com/tonsky/FiraCode/releases/download/5.2/Fira_Code_v5.2.zip

Check the latest on https://github.com/tonsky/FiraCode


Install

Windows 10

Settings -> Font -> drop the font files


Ubuntu

$ sudo apt install fonts-firacode


VSC (Visual Studio Code)

Open settings.json and add/update:

"editor.fontFamily": "'Fira Code'",
"editor.fontLigatures" : true,
"editor.fontSize": 15,


(was: "editor.fontFamily": "'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'",


Preview Font

Programming Fonts Test Drive, https://www.programmingfonts.org/


References