## Different ways to store notes

• Write them down on notebooks
• Save them in word documents
• Use online service such as Google Doc, Evernote, Onenote, etc.
• Blog

### Activate Matlab kernel in Jupyter notebook

So when you save more and more matlab plotting scripts you starat to lose track of them. You thought you have a script that can generate a plot but just can’t find it.

### Markdown examples

Now I have migrated my notebook from Wordpress to Github page. Markdown is brilliant! Here are some examples for future use.

## Run E3SM

$git commit –a -m "comments to this commit"  #### 4) Push changes to my repo $git push origin name/of/the/branch:name/of/the/branch


### Compile FORTRAN in Eclipse with netcdf

I like interpreted languages such as Matlab or Python, mostly because I’m more like a software user, not developer. These languages usually come with an Integrated Development Environment (IDE) for easy code editing and debugging. However, for compiled languages such as Fortran, there isn’t many choices for IDEs but Eclipse has some potential to be a good alternative.

### Reading numbers from a string in MATLAB

I always have needs to find numbers from a formatted string using Matlab. For example, find the lats and longs for all the grid cells of a river basin based on a bunch of input files, something like forcings_35.25_-100.75. Then in Matlab you have two ways to read these numbers out.

### Interpolate values along a line from a surface in ArcGIS

This is kinda stupid and I’m sure there are much more elegant ways to do this. But for a quick and dirty job it’s good enough to me.