Skip to content

Commit 1fa1761

Browse files
committed
Merge branch 'master' of https://github.com/vnextcoder/node
2 parents cd60cc1 + 52f8e37 commit 1fa1761

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+11233
-5
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,5 @@ jspm_packages
3535

3636
# Optional REPL history
3737
.node_repl_history
38+
39+
.sublime-gulp.cache

README.md

Lines changed: 2 additions & 0 deletions
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#Tue Sep 13 13:36:37 BST 2016
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#Tue Sep 13 13:49:01 BST 2016
Binary file not shown.
18.3 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

gradle/build.gradle

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
2+
apply plugin: 'java'
3+
task emailMe << {
4+
5+
println 'SEND EMAIL ANNOUNCING SUCCESS'
6+
}
7+
8+
task hello
9+
10+
11+
hello << {
12+
println 'hello, world'
13+
}
14+
15+
hello << {
16+
println 'hello, india'
17+
}
18+
task echoMyPath << {
19+
println "THIS TASK'S PATH IS ${path}"
20+
}
21+
22+
23+
task initializeDatabase
24+
initializeDatabase << { println 'connect to database' }
25+
initializeDatabase << { println 'update database schema' }
26+
initializeDatabase { println 'configuring database connection'
27+
28+
println 'I am running in Confiugration phase'
29+
}
30+
31+
initializeDatabase { println 'More DB configurations to make in Configuration phase '
32+
}
33+
34+
35+
36+
37+
task copyFiles (type:Copy) {
38+
39+
from 'resources'
40+
into 'target'
41+
includ '**/*.xml', '**/*.txt' , '**/*.properties'
42+
43+
}
Binary file not shown.

gradle/build/libs/gradle.jar

1.18 KB
Binary file not shown.

gradle/build/tmp/jar/MANIFEST.MF

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Manifest-Version: 1.0
2+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package org.gradle.example.simple;
2+
public class HelloWorld {
3+
public static void main(String args[]) {
4+
System.out.println("hello, world");
5+
}
6+
}

gulp/gulp3_lr/abc.xml

Lines changed: 275 additions & 0 deletions
Large diffs are not rendered by default.

gulp/gulp3_lr/bbcuk.xml

Lines changed: 275 additions & 0 deletions
Large diffs are not rendered by default.

gulp/gulp3_lr/gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ gulp.task('connect', function () {
5757
connect.server ( {
5858
root : './',
5959
livereload:true ,
60-
port:2392,
61-
https:true
60+
port:2392
61+
// https:true
6262
});
6363

6464
});

gulp/gulp3_lr/to2.xml

Lines changed: 275 additions & 0 deletions
Large diffs are not rendered by default.

gulp/gulp3_lr/toi.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<?xml version="1.0" encoding="UTF-8"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><atom:link type="application/rss+xml" rel="self" href="http://timesofindia.indiatimes.com/rssfeedstopstories.cms"/><title>Times of India</title><link>http://timesofindia.indiatimes.com</link><description>The Times of India: Breaking news, views, reviews, cricket from across India</description><language>en-gb</language><copyright>Copyright:(C) 2016 Bennett Coleman &amp; Co. Ltd, http://info.indiatimes.com/terms/tou.html</copyright><docs>http://timescontent.com/</docs><image><title>Times of India</title><link>http://timesofindia.indiatimes.com</link><url>http://images.photogallery.indiatimes.com/photo.cms?msid=507610</url></image><item><title>India summons Pak envoy, gives details of Uri terror attackers</title><description/><link>http://timesofindia.indiatimes.com/india/India-summons-Pakistan-envoy-Abdul-Basit-presents-proof-of-cross-border-origins-of-Uri-attack/articleshow/54544879.cms</link><guid>http://timesofindia.indiatimes.com/india/India-summons-Pakistan-envoy-Abdul-Basit-presents-proof-of-cross-border-origins-of-Uri-attack/articleshow/54544879.cms</guid><pubDate>Tue, 27 Sep 2016 11:41:56 GMT</pubDate></item><item><title>Give Cauvery water for 3 more days: SC to K'taka</title><description>Attorney general Mukul Rohatgi told the court that the Centre would attempt to resolve the issue by calling a meeting between the chief ministers of Tamil Nadu and Karnataka in the next two days.</description><link>http://timesofindia.indiatimes.com/india/Release-6000-cusecs-of-water-for-3-days-to-Tamil-Nadu-Supreme-Court-tells-Karnataka/articleshow/54543469.cms</link><guid>http://timesofindia.indiatimes.com/india/Release-6000-cusecs-of-water-for-3-days-to-Tamil-Nadu-Supreme-Court-tells-Karnataka/articleshow/54543469.cms</guid><pubDate>Tue, 27 Sep 2016 09:59:44 GMT</pubDate></item><item><title>'India can't separate unilaterally': Pak on Indus</title><description>According to Pakistani media reports, Nawaz Sharif's Adviser on Foreign Affairs Sartaj Aziz has said that "If India violates the treaty, Pakistan can approach the International Court of Justice." "According to international law India can't unilaterally separate itself from the treaty," said Sartaj Aziz</description><link>http://timesofindia.indiatimes.com/india/Rattled-by-move-to-review-Indus-Waters-Treaty-Pakistan-says-India-cant-separate-unilaterally/articleshow/54542685.cms</link><guid>http://timesofindia.indiatimes.com/india/Rattled-by-move-to-review-Indus-Waters-Treaty-Pakistan-says-India-cant-separate-unilaterally/articleshow/54542685.cms</guid><pubDate>Tue, 27 Sep 2016 09:16:14 GMT</pubDate></item><item><title>India to review MFN status to Pakistan</title><description>The MFN status was accorded in 1996 under WTO's General Agreement on Tariffs and Trade (GATT). Both India and Pakistan are signatories to this which means they have to treat each other and rest of WTO member countries as favoured trading partners.</description><link>http://timesofindia.indiatimes.com/india/India-to-review-Most-Favoured-Nation-status-given-to-Pakistan-PM-Modi-to-chair-meeting-on-Thursday/articleshow/54539220.cms</link><guid>http://timesofindia.indiatimes.com/india/India-to-review-Most-Favoured-Nation-status-given-to-Pakistan-PM-Modi-to-chair-meeting-on-Thursday/articleshow/54539220.cms</guid><pubDate>Tue, 27 Sep 2016 06:25:17 GMT</pubDate></item><item><title>Pak bars low-flying aircraft over Karachi airspace</title><description>Pakistan on Monday night issued a notice to airmen (Notam) that some segments of international air traffic services "routes within Karachi flight information region (FIR) will not be available from surface to 33,000 feet (flight level) due operational reasons".</description><link>http://timesofindia.indiatimes.com/india/Pakistan-bars-low-flying-aircraft-over-Karachi-airspace/articleshow/54539674.cms</link><guid>http://timesofindia.indiatimes.com/india/Pakistan-bars-low-flying-aircraft-over-Karachi-airspace/articleshow/54539674.cms</guid><pubDate>Tue, 27 Sep 2016 06:43:33 GMT</pubDate></item></channel></rss>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a.hover{color:#ffffff ; bgcolor:#023022;}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<html>
2+
<body>
3+
<p> hellow world </p>
4+
</body>
5+
</html>
6+

gulp/gulp4_cleanbuild/gulpfile.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
"use strict";
2+
3+
var gulp = require('gulp'),
4+
del = require('del');
5+
6+
gulp.task('clean', function () {
7+
return del(['./wwwroot/css', './wwwroot/js', './wwwroot/*.html', '!./wwwroot/config.json']);
8+
});
9+
10+
11+
gulp.task('build', function ()
12+
{ console.log('Building stuff - using less and coffeescript');
13+
14+
15+
gulp.src ('./Assets/**/*.*')
16+
.pipe(gulp.dest('./wwwroot'));
17+
18+
});
19+
20+
gulp.task('default', ['clean', 'build']);

gulp/gulp4_cleanbuild/package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "gulp4_cleanbuild",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1"
8+
},
9+
"author": "",
10+
"license": "ISC",
11+
"dependencies": {
12+
"del": "^2.2.2",
13+
"gulp": "^3.9.1"
14+
}
15+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"abc":"hello"
3+
4+
}

gulp/gulp4_concat/.sublime-gulp.cache

Lines changed: 0 additions & 1 deletion
This file was deleted.

gulp/gulp4_concat/gulpfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
var gulp = require('gulp'),
22
concat = require('gulp-concat');
3-
concat = require('gulp-order');
3+
order = require('gulp-order');
44

55
gulp.task('css', function () {
66
return gulp.src('./Assets/css/**/*.css')
7+
.pipe(order(['styles.css', '*.css']))
78
.pipe(concat('all.css'))
89
.pipe(gulp.dest('./wwwroot/css'));
910
});

gulp/gulp4_concat/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"license": "ISC",
1111
"devDependencies": {
1212
"gulp": "^3.9.1",
13-
"gulp-concat": "^2.6.0"
13+
"gulp-concat": "^2.6.0",
14+
"gulp-order": "^1.1.1"
1415
}
1516
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@color1: #c9d0c9; @color2: #e3e0af; @color3: #9a23de; @color4: #89bdd3;
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
var gulp = require('gulp'),
2+
gulpLoadPlugins = require('gulp-load-plugins'),
3+
plugins = gulpLoadPlugins();
4+
5+
gulp.task('css:less', function () {
6+
return gulp.src('./styles.less')
7+
.pipe(plugins.less())
8+
.pipe(gulp.dest('./output/less'));
9+
});
10+
11+
gulp.task('css:sass', function () {
12+
return gulp.src('./styles.scss')
13+
.pipe(plugins.sass())
14+
.pipe(gulp.dest('./output/sass'));
15+
});
16+
17+
gulp.task('default', ['css:sass','css:less'], function () {
18+
console.log("this is the message ");
19+
return plugins.util.log('Gulp is running!')
20+
});
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
body {
2+
color: #c9d0c9;
3+
background-color: #89bdd3;
4+
}
5+
h1 {
6+
color: #9a23de;
7+
background-color: #e3e0af;
8+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
foo {
2+
bar: '1'; }
3+
4+
foo {
5+
bar: '2'; }
6+
7+
foo {
8+
bar: '3'; }
9+
10+
foo {
11+
bar: '4'; }
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{ "name": "d", "version": "1.0.0", "description": "",
2+
"main": "index.js",
3+
"scripts":
4+
{ "test": "echo \"Error: no test specified\" && exit 1" },
5+
"author": "",
6+
"license": "ISC",
7+
"devDependencies":
8+
{
9+
"gulp": "^3.9.0",
10+
"gulp-less": "^3.0.3",
11+
"gulp-load-plugins": "^0.10.0",
12+
"gulp-sass": "^2.0.4",
13+
"gulp-util": "^3.0.6"
14+
}
15+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@import "colors.less";
2+
body { color: @color1; background-color: @color4; }
3+
h1 { color: @color3; background-color: @color2; }
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
foo {
2+
bar: '1';
3+
}
4+
5+
foo {
6+
bar: '2';
7+
}
8+
9+
foo {
10+
bar: '3';
11+
}
12+
13+
foo {
14+
bar: '4';
15+
}

gulp/gulp4_logger/Assets/Sass/c.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a.CoolLink { color: blue; &:hover { text-decoration: underline; } &:visited { color: green; } }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a.CoolLink { color: blue; &:hover { text-decoration: underline; } &:visited { color: green; } }
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a.CoolLink { color: blue; &:hover { text-decoration: underline; } &:visited { color: green; } }

gulp/gulp4_logger/gulpfile.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
var gulp = require('gulp'),
2+
sass = require('gulp-sass'),
3+
logger = require('gulp-logger');
4+
gulp.task('css:sass', function () {
5+
gulp.src('./Assets/Sass/**/*.scss')
6+
.pipe(logger({ before: 'Going to process Sass files...',
7+
after: 'Sass files were processed...',
8+
beforeEach: 'Processing... ',
9+
afterEach: ' ...Done' }))
10+
.pipe(sass())
11+
.pipe(gulp.dest('./wwwroot/css'));
12+
});
13+
14+
gulp.task('default', ['css:sass']);

gulp/gulp4_logger/package.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "gulp4_logger",
3+
"version": "1.0.0",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1"
8+
},
9+
"author": "",
10+
"license": "ISC",
11+
"dependencies": {
12+
"gulp": "^3.9.1",
13+
"gulp-logger": "0.0.2",
14+
"gulp-sass": "^2.3.2"
15+
}
16+
}

gulp/gulp4_logger/wwwroot/css/c.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
a.CoolLink {
2+
color: blue; }
3+
a.CoolLink:hover {
4+
text-decoration: underline; }
5+
a.CoolLink:visited {
6+
color: green; }
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
a.CoolLink {
2+
color: blue; }
3+
a.CoolLink:hover {
4+
text-decoration: underline; }
5+
a.CoolLink:visited {
6+
color: green; }
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
a.CoolLink {
2+
color: blue; }
3+
a.CoolLink:hover {
4+
text-decoration: underline; }
5+
a.CoolLink:visited {
6+
color: green; }

0 commit comments

Comments
 (0)