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

Spcify Java Version to Use in a Scala Project

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

javacOptions ++= Seq("-source", "1.8", "-target", "1.8", "-Xlint")

initialize := {
  val _ = initialize.value
  if (sys.props("java.specification.version") != "1.8")
  sys.error("Java 8 is required for this project …

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 …

Collection of Jupyter Notebooks

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

https://github.com/jupyter/jupyter/wiki/A-gallery-of-interesting-Jupyter-Notebooks

https://blog.dominodatalab.com/lesser-known-ways-of-using-notebooks/

https://www.opendatascience.com/blog/jupyter-zeppelin-beaker-the-rise-of-the-notebooks/