Category: Tools

0

How to run cpplint on recursively on multiple folders?

You can spec­ify path to both the direc­to­ries as argu­ments. In this exam­ple, they are spec­i­fied as src­Files and app­Files. const cppLint = path.resolve(“cpplint.py”); // get the path to cpplint.py const src­Files = path.resolve(__dirname,…

0

Autocomplete cli from history

Use the fol­low­ing steps to do the reverse search in your bash his­tory. $ Ctrl + R $(reverse-i-search)‘’: [start typ­ing com­mand…] [Tab/Enter] — Tab will com­plete the com­mand and brings back the CLI. -…

0

Error in plugin ‘gulp-shell’

Fol­low­ing is the anti pat­tern gulp.src( ‘Foo’ ).pipe( shell( ‘Bar’ ) ); Use the fol­low­ing pat­tern gulp.task( ‘Foo’, shell.task(‘Bar’) ); Anti-pattern Github Issue

0

$? variable in linux

$? Sta­tus of the pre­vi­ous process / com­mand which ran on the shell $ pwd $ echo $? // returns 0 which means the pre­vi­ous com­mand ran sucess­fully $ blah­Com­mand $echo $? // returns 1…