Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create test.js #1

Open
wants to merge 53 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
71781f6
Create test.js
nl5887 Jan 26, 2015
7be3b4f
Update test.js
nl5887 Jan 26, 2015
fb72655
Update test.js
nl5887 Jan 26, 2015
754624f
Update test.js
nl5887 Jan 26, 2015
ca8632c
Update test.js
nl5887 Jan 26, 2015
fd9bab4
Update test.js
nl5887 Jan 26, 2015
5582b4a
Update test.js
nl5887 Jan 26, 2015
edd5f7b
Update test.js
nl5887 Jan 26, 2015
d240dea
Update test.js
nl5887 Jan 27, 2015
3ba339d
Update test.js
nl5887 Jan 27, 2015
62fd761
Update test.js
nl5887 Jan 27, 2015
fec8819
Create test.java
nl5887 Jan 27, 2015
67683b6
Update test.java
nl5887 Jan 27, 2015
3197894
Update test.js
nl5887 Jan 27, 2015
9153a1f
Create test.sh
nl5887 Jan 30, 2015
1b2abc1
Update test.sh
nl5887 Jan 30, 2015
deb1d90
Update test.js
nl5887 Feb 2, 2015
a7990a1
Update test.js
nl5887 Feb 2, 2015
e145099
Create .linthub.yml
nl5887 Feb 2, 2015
82faf45
Update test.js
nl5887 Feb 2, 2015
0878dd7
Merge branch 'master' of https://github.com/linthubot/linthub-demo
nl5887 Feb 2, 2015
5d2eb56
Update test.js
nl5887 Feb 2, 2015
448c0dd
Update test.js
nl5887 Feb 2, 2015
7ec46ee
Update test.js
nl5887 Feb 2, 2015
abf20b7
Update test.js
nl5887 Feb 2, 2015
0cc1d04
Update test.js
nl5887 Feb 2, 2015
7cc45b4
Update test.js
nl5887 Feb 2, 2015
0a1f0c7
Update test.js
nl5887 Feb 2, 2015
d257dd7
Update test.js
nl5887 Feb 4, 2015
a0551b6
Update test.js
nl5887 Feb 4, 2015
49d06ca
Update test.js
nl5887 Feb 4, 2015
6918af3
Update test.js
nl5887 Feb 4, 2015
674ffdb
Update test.js
nl5887 Feb 4, 2015
665ab6e
Update test.js
nl5887 Feb 4, 2015
08c1460
Update test.js
nl5887 Feb 4, 2015
d77fb4a
Create test.rb
nl5887 Feb 4, 2015
70093fb
Create test.py
nl5887 Feb 4, 2015
d23e2c5
Update test.rb
nl5887 Feb 5, 2015
a3925ca
Update test.rb
nl5887 Feb 5, 2015
6e6225d
Update test.rb
nl5887 Feb 5, 2015
3f4ec6d
Update test.rb
nl5887 Feb 5, 2015
159b0fd
Update test.rb
nl5887 Feb 5, 2015
fb0ca03
Update test.rb
nl5887 Feb 5, 2015
b25dbf6
Update test.rb
nl5887 Feb 5, 2015
53584bf
Update test.rb
nl5887 Feb 5, 2015
f7599f8
Update test.rb
nl5887 Feb 5, 2015
952cd8f
Update test.rb
nl5887 Feb 5, 2015
01f0a00
Update test.rb
nl5887 Feb 5, 2015
207d131
Update test.rb
nl5887 Feb 5, 2015
3544bcc
Update test.rb
nl5887 Feb 5, 2015
54abaef
Update test.rb
nl5887 Feb 5, 2015
8a148cb
Create test.c
nl5887 Feb 6, 2015
3cc06e0
Update test.rb
nl5887 Feb 11, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions test.c
@@ -0,0 +1,5 @@
void f()
{
char *p;
*p = 0;
}
26 changes: 26 additions & 0 deletions test.java
@@ -0,0 +1,26 @@
/*************************************************************************
* Compilation: javac HelloWorld.java
* Execution: java HelloWorld
*
* Prints "Hello, World". By tradition, this is everyone's first program.
*
* % java HelloWorld
* Hello, World
*
* These 17 lines of text are comments. They are not part of the program;
* they serve to remind us about its properties. The first two lines tell
* us what to type to compile and test the program. The next line describes
* the purpose of the program. The next few lines give a sample execution
* of the program and the resulting output. We will always include such
* lines in our programs and encourage you to do the same.
*
*************************************************************************/

public class HelloWorld {

public static void main(String[] args) {
System.out.println("Hello, World");

}

}
15 changes: 15 additions & 0 deletions test.js
@@ -0,0 +1,15 @@
function main(a, b) {
switch (cond) {
case "one":
doSomething(); // JSHint will warn about missing 'break' here.
case "three":
doSomethingElse();
case "two":
doSomethingElse();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jshint.W117: 'doSomethingElse' is not defined.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jshint.W117: 'doSomethingElse' is not defined.

}

// test to show pull request comments 5
// eslint test9
return a == null;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jshint.W116: Expected '===' and instead saw '=='.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jshint.W116: Expected '===' and instead saw '=='.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jshint.W116: Expected '===' and instead saw '=='.

}

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

****: Unexpected blank line at end of file. (eol-last)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

****: Unexpected blank line at end of file. (eol-last)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

****: Unexpected blank line at end of file. (eol-last)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

****: Unexpected blank line at end of file. (eol-last)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

****: Unexpected blank line at end of file. (eol-last)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

****: Unexpected blank line at end of file. (eol-last)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unexpected blank line at end of file. (eol-last)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

****: Unexpected blank line at end of file. (eol-last)

4 changes: 4 additions & 0 deletions test.py
@@ -0,0 +1,4 @@
import test

# testing python support
print "test"
13 changes: 13 additions & 0 deletions test.rb
@@ -0,0 +1,13 @@
def badName
if something
test
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style/IndentationWidth: Use 2 (not 4) spaces for indentation.


end
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lint/EndAlignment: end at 4, 26 is not aligned with if at 2, 18

end
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lint/DefEndAlignment: end at 5, 26 is not aligned with def at 1, 0




# test for status,6



11 changes: 11 additions & 0 deletions test.sh
@@ -0,0 +1,11 @@
var$n="Hello"
while read host; do ssh "$host" uptime; done < file
echo ${var$n}



echo ${var$n}


echo "TEST"