# Category: Notes

Notes about things

## Some Regex Notes

I happened to be dealing with a bunch of mallocs that look like this double* f =  (double*)malloc(sizeof(double)*nx*ny*nz); double* g = (double*)malloc(sizeof(double)*nx); double* h = (double*)malloc(sizeof(double)*nx*nz); I wanted to convert all of those those to use new, i.e. double* f = new double[nx*ny*nz] Using regex made all this possible search for: $double\*$malloc$sizeof$$double$\*(.*)$$ replace with: new …

## A Note on the Vector Form of the Navier-Stokes Equations

Here’s how I mix vector and tensor notation to avoid diadics in the Navier-Stokes equations

## How to Sync Zotero with a Box Sync Enterprise Account

So the University of Utah provides us with 50 GB of storage with Box Sync. Box Sync supports webdav natively. On another note I use Zotero for my citation management. The great thing about Zotero is that it allows your to store your library on your own webdav. Combining the above I am able to …