Friday, September 20, 2019

How to set up University of Cambridge email on Apple iphone ios mail app

The university provided this tutorial:

https://help.uis.cam.ac.uk/service/email/exchange-online/exchange-online-migration/client-scripts/mail-ios


But it didn't work for me, instead, I did something else that worked:

Settings -> accounds and passwords -> add acount -> Other ... and then fill the incoming and outgoing info according to this:
https://troubleshoo.blogspot.com/2019/08/how-to-set-up-cambridge-university.html

I then immediately got emails synced

Monday, September 16, 2019

nano editer: how to go to next page

Nano Editor Learn

NOTE: Any command prefixed with a caret symbol (^) means to use the Ctrl key (e.g., ^Gmeans to press the Ctrl+G keys at the same time).

^G     nano help

^A     move to beginning of line in nano

^E     move to end of line in nano

^Y     move down a page - next page in nano

^V     move up a page - previous page in nano

^_     move to a specific line (^_^V moves to the top of the file, ^_^Y to the bottom)

^C     find out what line the cursor is currently on

^W    search or find some text in nano

^D     delete character currently under the cursor

^K     delete line in nano, nano remove line

Also for remove or clear or delete some content or multiple lines you can select lines with your mouse and then use CTRL+K.

^O     save file in nano (you will be prompted for a file to save to)

^X     exit nano (you will be prompted to save your file if you have not)

python if statement check element is in a list

elem in LIST

Thursday, September 12, 2019

how to track how many words you typed on Mac --- Use Sogou input method

The newest version of Sogou input has enabled functions to track how many words you have typed so far on Mac.
If you already installed Sogou, click on the icon on top right -> 关于 and then click download the newest version, install, and then click on the icon on top right again -> 偏好设置 -> 统计 to enable tracking

Sunday, September 8, 2019

Saturday, September 7, 2019