Category: Tools

0

How to run cpplint on recursively on multiple folders?

You can specify path to both the directories as arguments. In this example, they are specified as srcFiles and appFiles. const cppLint = path.resolve(“cpplint.py”); // get the path to cpplint.py const srcFiles = path.resolve(__dirname,...

0

Autocomplete cli from history

Use the following steps to do the reverse search in your bash history. $ Ctrl + R $(reverse-i-search)`’: [start typing command…] [Tab/Enter] – Tab will complete the command and brings back the CLI. -...

0

Error in plugin ‘gulp-shell’

Following is the anti pattern gulp.src( ‘Foo’ ).pipe( shell( ‘Bar’ ) ); Use the following pattern gulp.task( ‘Foo’, shell.task(‘Bar’) ); Anti-pattern Github Issue

0

$? variable in linux

$? Status of the previous process / command which ran on the shell $ pwd $ echo $? // returns 0 which means the previous command ran sucessfully $ blahCommand $echo $? // returns...