Skip to content

Instantly share code, notes, and snippets.

View rahul-desai3's full-sized avatar
๐Ÿ‘‹
โœŒ๏ธ

Rahul Desai rahul-desai3

๐Ÿ‘‹
โœŒ๏ธ
View GitHub Profile
@rahul-desai3
rahul-desai3 / send_emails.js
Created July 8, 2015 13:51
Unable to send emails using Haraka
var outbound = require('./outbound');
var plugin = this;
var to = '[email protected]';
var from = '[email protected]';
var contents = [
"From: [email protected]",
"To: [email protected]",
# Prerender configuration:
<IfModule mod_headers.c>
RequestHeader set X-Prerender-Token "EXTPYjaUpb3wwCWrJHwt"
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
<IfModule mod_proxy_http.c>
@rahul-desai3
rahul-desai3 / Gruntfile.js
Created May 20, 2015 17:24
grunt not staying alive
// Generated on 2015-05-04 using generator-angular 0.11.1
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'
module.exports = function (grunt) {
@rahul-desai3
rahul-desai3 / Gruntfile.js
Created May 20, 2015 11:33
grunt-contrib-connect is showing the list of pages instead of the website itself!
// Generated on 2015-05-04 using generator-angular 0.11.1
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'
module.exports = function (grunt) {
/projects/cms/client/app/scripts/app.js:10
angular
^
ReferenceError: angular is not defined
at Object.<anonymous> (/projects/cms/client/app/scripts/app.js:10:1)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
// Generated on 2015-05-04 using generator-angular 0.11.1
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'
module.exports = function (grunt) {
4051 silly install resolved bugs: { url: 'https://github.com/sindresorhus/ansi-regex/issues' },
4051 silly install resolved homepage: 'https://github.com/sindresorhus/ansi-regex',
4051 silly install resolved _id: '[email protected]',
4051 silly install resolved _shasum: '41c847194646375e6a1a5d10c3ca054ef9fc980d',
4051 silly install resolved _from: 'ansi-regex@>=1.1.0 <2.0.0',
4051 silly install resolved _npmVersion: '2.1.16',
4051 silly install resolved _nodeVersion: '0.10.35',
4051 silly install resolved _npmUser: { name: 'jbnicolai', email: '[email protected]' },
4051 silly install resolved dist:
4051 silly install resolved { shasum: '41c847194646375e6a1a5d10c3ca054ef9fc980d',
This file has been truncated, but you can view the full file.
0 info it worked if it ends with ok
1 verbose cli [ 'node',
1 verbose cli 'C:\\Users\\Rahul\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install' ]
2 info using [email protected]
3 info using [email protected]
4 verbose readDependencies loading dependencies from E:\mean-skeleton\myclient\package.json
5 verbose install where, deps [ 'E:\\mean-skeleton\\myclient',
5 verbose install [ 'grunt',
5 verbose install 'grunt-autoprefixer',
0 info it worked if it ends with ok
1 verbose cli [ 'node',
1 verbose cli 'C:\\Users\\Rahul\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli '--save',
1 verbose cli 'node-restful' ]
2 info using [email protected]
3 info using [email protected]
4 verbose install initial load of E:\mean_trial\server\package.json
5 warn package.json [email protected] No repository field.
This file has been truncated, but you can view the full file.
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install' ]
2 info using [email protected]
3 info using [email protected]
4 verbose node symlink C:\Program Files\nodejs\\node.exe
5 verbose install where, deps [ 'C:\\projects\\meanapp\\client',
5 verbose install [ 'grunt',
5 verbose install 'grunt-autoprefixer',