Ben Chuanlong Du's Blog

It is never too late to learn.

Mount Samba on Mac

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

GUI

Go -> Connect to Server

smb://path_to_dir

Command Line

mount -t smbfs //user@server/sharename share

mount_smbfs //user@SERVER/folder ./mntpoint

Install sbt on CentOS

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

wget http://dl.bintray.com/sbt/rpm/sbt-0.13.5.rpm
sudo yum install sbt-0.13.5.rpm
curl https://bintray.com/sbt/rpm/rpm | sudo tee /etc/yum.repos.d …

Change File Permission on Linux

R: 4 W: 2 X: 1

Make a directory readable to other people.

chmod 755 dir  

Make a file readable to other people.

chmod 644 file 

Make a directory and all its subcontents readable to other people.

# make the dir and its subcontents readable and executable
chmod 755 -R dir …

Useful Windows Shortcuts

** Things on this page are fragmentary and immature notes/thoughts of the author. It is not meant to readers but rather for convenient reference of the author and future improvement. **

OS

Alt + Print Screen: Make a screenshot of the active WINDOW only (when you are using multiple screens). Note that …

Comparison of (Debian Series) Linux Distributions

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

The Debian series Linux (including Debian, Ubuntu, Mint, antiX, etc) is a popular Linux distribution series. It is a good choice for personal (desktop) use. The following are some comparisons based …