Notes of Maks Nemisj

Experiments with JavaScript


NPM, tmp and npm-xxx uncleaned paths

UPDATE: Created npm module to fix this stuff – Today I came to work and it appeared that builds on our Jenkins ( CI environment ) are broken due to “No space left on device” error. Further investigation showed that the whole /tmp folder was filled with strange “npm-xxx” folders, which in their turn […]

, ,

“git root” – root folder of the git repository

How often do you wanted to go to the root of the git repository? If not very often, then I do it quite often. Mercurial has this nice command hg root, but git not. In order to do it in git you have to use some long command ‘rev-parse –show-toplevel’ which I even can’t remember. […]