Tips

Jan 15, 2021 10:11 pm
Install Oh My Zsh on Ubuntu 18.04

Install Oh My Zsh on Ubuntu 18.04

Update system first sudo apt update && sudo apt upgrade Install Oh My Zsh sudo apt install zsh sudo apt install powerline fonts-powerline Clone Oh my zsh repo git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh Create a New ZSH configuration...

read more
Ubuntu 18.04 stuck on booting screen

Ubuntu 18.04 stuck on booting screen

Press ctrl + alt + F2 or F3 or F4 or F5 or F6 use tty to login or use ssh remote login Take ownership of your home directory sudo chown $(whoami):$(whoami) ~/ Install lightdm desktop manager sudo apt install lightdm sudo dpkg-reconfigure...

read more
2020 Home office 完全手冊

2020 Home office 完全手冊

2020年這個農曆年假因為這個2019-nCoV 病毒弄到人心惶惶。農曆年假已經完了。 要上班了,但不敢出門的我們,有沒有方法可以在家工作呢?因此在這我在這整理了幾種方法可以安在家中進入公司的電腦辦公的方法! 1. Windows 內置的 remote desktop, 如果你的 Windows 系統是專業版(PRO) 的話,那你便可以設定你的電腦允許遠端連接。 還可以用 command 來啟動遠端連接, 以管理員身份執行 Command Prompt, 然後輸入以下的命令。 reg add...

read more
Novel Coronavirus 2019 (2019-nCoV) (COVID-19)

Novel Coronavirus 2019 (2019-nCoV) (COVID-19)

武漢肺炎疫情地圖網址 Another Dashboard Hong Kong DashboardWhat Actually Happens If You Get Coronavirus?The Truth About The Coronavirus醫師親授提升免疫力方法 來源:小白藥師 blog不要用酒精消毒口罩口罩戴錯=白戴?酒精濃度75%殺菌效果最好?瑞德西韋 - RemdesivirWash your hand 洗手重要性COVID-19 (CORONAVIRUS)Simulating an...

read more
A Complete Guide to Flexbox

A Complete Guide to Flexbox

Container Properties for the Parent (flex container) .container { display: flex; /* or inline-flex */ } flex-direction .container { flex-direction: row | row-reverse | column | column-reverse; } flex-wrap .container{ flex-wrap: nowrap | wrap | wrap-reverse; }...

read more
Clear Thumbnail Cache In Windows 10

Clear Thumbnail Cache In Windows 10

Start cmd as Administrator run the following commands cd /d %userprofile%\AppData\Local\Microsoft\Windows\Explorer attrib -h thumbcache_*.db del thumbcache_*.db or download my cmd file and run it as administrator restart your computer

read more
All about Ubuntu server

All about Ubuntu server

My Ubuntu Server Version: 18.04 LTS Install SSH $ sudo apt update $ sudo apt upgrade $ sudo apt install openssh-server $ sudo systemctl enable ssh Create an authorized keys file $ sudo touch ~/.ssh/authorized_keys Copy over client pub file over and put it into the...

read more
Ubuntu server backup script

Ubuntu server backup script

Backup script backup.sh #!/bin/bash #################################### # # Backup to NFS mount script. # #################################### # What to backup. backup_files="/home /var/spool/mail /etc /root /boot /opt" # Where to backup to. dest="/mnt/backup" #...

read more
Spreadsheet useful statements

Spreadsheet useful statements

IF Statement =IF(A2=0,””,SUM(A2:A5)) Google Spreadsheet Google Finance =A2* GOOGLEFINANCE("CURRENCY:"&A1&B1) or =A2* GOOGLEFINANCE("CURRENCY:KRWHKD") Google Translate =GOOGLETRANSLATE(A10,"EN","ZH")

read more