2020年7月30日 星期四

Visual Studio Code tips for Mac

  • Search files: Command+P
  • File explorer: Command+Shift+E and arrow keys
  • Switch tabs: Ctrl + 1 or 2 or 3
  • Switch tabs: Command+Shift+ [ or ]
  • Toggle side bar: Command + b
  • Jump line: Ctrl + g
  • Find: Command+Shift+H


2020年4月11日 星期六

Ubuntu Tips


  • Bring up login screen
Ctrl+Alt+F1
Windows + L

2020年3月31日 星期二

Update Mac Using Terminal

Steps:

  1. softwareupdate -l
  2. sudo softwareupdate -i 'macOS Catalina 10.15.4 Update- ' (note the space at the end)


2019年12月2日 星期一

Create quick action


  1. Start automator
  2. Click new Document
  3. Select Quick Action -> Choose
  4. E.g. Create a HEIC image convert
    1. Drag "Copy Finder Items" to the right
    2. Drag "Change Type of Images" to the right
    3. Select File and Save
    4. Name the quick action -> Save
  5. Use it by clicking the right click

2019年5月19日 星期日

Mac reference


sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
alias jupyter=’/Library/Frameworks/Python.framework/Versions/3.7/bin/jupyter-notebook ‘ 

2018年11月8日 星期四

Delete an unwanted app off the LaunchPad

1. Go into launchpad.
2. Drag the icon into your dock.
3. Right click on the icon and select Options>Show in Finder.
4. Delete file.
5. Right click on icon in dock again Options>Remove from Dock.

2018年6月22日 星期五

AWS Deep Learning AMI P3 instance

P3 Instance has GPU, use it to train deep learning model is good. Always select the right instance to do things.

This is an example.

m5d.24xlarge 4 x 900 NVMe SSD $5.424 per Hour
p3.2xlarge $3.06 per Hour

Use p3 to train model is way faster than m5d instance and cheaper.

These are the tool list in the AWS deep learning AMI