-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fb7149f
commit 8011a97
Showing
3 changed files
with
50 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,57 @@ | ||
example1: | # python | ||
print('Hello World!') | ||
bat-example: | # bat | ||
ECHO Hello World! | ||
example2: | # java | ||
bibtex-example: | # bibtex | ||
@book{HelloWorld!} | ||
c-example: | # c | ||
#include <stdio.h> | ||
int main() { | ||
printf("Hello World!"); | ||
return 0; | ||
} | ||
clojure-example: | # clojure | ||
(println "Hello, World!") | ||
coffeescript-example: | # coffee | ||
console.log "Hello, World!" | ||
cpp-example: | # c++ | ||
#include <iostream> | ||
int main() | ||
{ | ||
std::cout << "Hello World!" << std::endl; | ||
return 0; | ||
} | ||
csharp-example: | # csharp | ||
public class HelloWorld | ||
{ | ||
public static void Main(string[] args) | ||
{ | ||
System.Console.WriteLine("Hello, World!"); | ||
} | ||
} | ||
css-example: | # css | ||
.HelloWorld { } | ||
python-example: | # python | ||
print("Hello World!") | ||
java-example: | # java | ||
class HelloWorld { | ||
public static void main(String[] args) { | ||
System.out.println("Hello World!"); | ||
} | ||
} | ||
example3: | # js | ||
console.log('Hello World!') | ||
javascript-example: | # js | ||
console.log("Hello World!") | ||
example4: | # regex | ||
regex-example: | # regex | ||
[Hh]ello [Ww]orld!? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters