Ben Chuanlong Du's Blog

It is never too late to learn.

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 …

Sharing Files Between Linux and iPad

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

Synchronization Software

Install a sycnhronization software on both your computer and iPad.

Connecting Using USB

Install libimobiledevice-utils and ifuse on your Linux computer.

sudo apt-get install libimobiledevice-utils ifuse

And then run …

Use LaTeX in Linux

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

  1. Texlive is the most popular package for LaTeX in Linux.

  2. When installing texlive in linux, you'd better install the full version to avoid missing packages. For example, in Debian you can …

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 …

Desktop Environments for Linux

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

  1. desktop files in /usr/share/applications/ different DEs might have different format. At least I know that a desktop file created by Xfce cannot be used in GNOME, not sure the …