cheat sheet :- Linux(Ubuntu) Server -> Node, Mongo, Redis, PM2, Nginx Install and Basic Configuration

node install nodejs and npm cd ~ curl -sL -o sudo bash sudo apt-get install nodejs sudo apt-get install build-essential sudo node -v INSTALL NPM sudo apt-get install npm Mongo Install Mongo server sudo apt-key adv --keyserver hkp:// --recv 0C49F3730359A14518585931BC711F9BA15703C6 echo "deb [...
Continue reading

Debug node server using chrome.

create node file for debugging server.js. run command in terminal ‘node –inspect server.js’ copy link from terminal and open it on chrome browser and set break point. open server link on another tab and see magic. 🙂
Continue reading

Install mongodb as windows service in windows 10

Running mongodb by command is easy but we required always to open command and run mongod and remain open it side by side while working on mongodb. In windows to run mongodb server automatically we need to install mongodb server as windows service. To install mongodb as windows...
Continue reading

JSON to CSharp Class in Visual studo

Method to convert json object to class identical to json object, Copy json String. for example go to link and compy any json string Open visual studio and one .cs file Go to edit menu and select paste special and click on Paste Json as Classes. You...
Continue reading

Organizational Process

There are Two parts  of Organizational Process. The Hard Part(Processes, Metrics, Tools etc Related to Result or Work) The Soft Part(Ideas, Fear, Attitude etc Related to Humen). Hard Part is Easier than Soft Part. In Hard Part organising is improved by learning and in Soft Part organising is...
Continue reading

Find String from All table within Database

Given query return all table name with column which contain Search string. Following Query create temporary table with name #Results . and at last table is Dropped. If any error occurred during execution #result may not drop so be sure at last that Temp table #Results is dropped...
Continue reading


Join 901 other subscribers