Skip to content

Instantly share code, notes, and snippets.

@vtanathip
vtanathip / Remove-All-Yo-And-Start-Over.txt
Last active December 21, 2015 08:59
When develop project with yeoman a lot dependencies on it and people ( and I ) have a lot out of date modules installed globally so remove all of yo stuff and start over is one way to fix it.
npm remove -g yo generator-* yeoman-generator
npm install -g yo generator-angular
@vtanathip
vtanathip / A-Yeo-Profile-Management.js
Last active December 21, 2015 05:49
grunt configuration for profile management with grunt replace plugin ref: https://github.com/outaTiME/grunt-replace
replace: {
local:{
options:{
variables:{
'host':'http://localhost'
},
prefix: '@@'
},
files: [
{src: ['app/scripts/services/services.js'], dest: 'app/scripts/prod/services/services.js'}