//Change the port connect: { options: { port: 8080, // change this to '0.0.0.0' to access the server from outside hostname: 'localhost' },
Tuesday, May 20, 2014
Grunt Watch Fatal error: listen EACCES and livereload
Fatal error: unable to find Gruntfile.
// grunt is installed locally, as verified by npm ls | grep grunt
Friday, May 16, 2014
Git- clone the existing github project into the local repository
// just git clone steps git clone https://github.com/ssthil/AngularJS-Yeoman.git // just check bower version bower --v 1.3.3 // just check npm version npm --v 1.3.24 // just check grunt version grunt -version grunt-cli v0.1.13 grunt v0.4.5 //if you are still getting error like, Fatal error: unable to find local grunt then run this npm install grunt --save-dev // just check ruby version ruby -version // just check compass version compass -version // npm install npm install // bower install npm install -g bower // exit from window Git Bash exit // bower install npm install bower // bower install run this command ./node_modules/bower/bin/bower install
Thursday, May 15, 2014
Port 35729 is already in use by another process
This usually happens when there's another Terminal window open, it works after closing the other terminal window.
Wednesday, May 14, 2014
Git create new branch, pull from master and push into new branch
// first check the branch git branch // create a new branch [development] git branch development // checkout into new branch [development] git checkout development // pull from master git pull origin master // push into new branch [development] git push origin development
Tuesday, May 13, 2014
Github “Updates were rejected because the remote contains work that you do not have”
// Git: “please tell me who you are” error git init git config user.name "someone" git config user.email "someone@someplace.com" git add * git commit -m "Initial commit" git remote add origin //your github url //pull those changes git pull origin master //now, push your work to your new repo git push origin master
Friday, May 9, 2014
How can I upload fresh code at github?
git init git add . git commit -m "Initial commit" git remote add origin https://github.com/username/Hello-World.git # Creates a remote named "origin" pointing at your GitHub repository git push origin master # Sends your commits in the "master" branch to GitHub
Subscribe to:
Posts (Atom)
Javascript find highest and lowest from the given inputs
function highAndLow(numbers){ // numbers = "4 5 29 54 4 0 -214 542 -64 1 -3 6 -6" let numbersInArr = numbers.split(' ...
-
function highAndLow(numbers){ // numbers = "4 5 29 54 4 0 -214 542 -64 1 -3 6 -6" let numbersInArr = numbers.split(' ...
-
HTML Jquery $("#num").keypress(function (e){ var charCode = (e.which) ? e.which : e.keyCode; if (charCode > 31 ...
-
//Change the port connect: { options: { port: 8080 , // change this to '0.0.0.0' to a...