Adding hooks directory; comment cleanup for professionalism
This commit is contained in:
parent
151648f44f
commit
af99e73ac7
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
# File: helloworld.bash
|
# File: HelloWorld.bash
|
||||||
#
|
#
|
||||||
# Description: This file exemplifies printing 'Hello world!' in bash.
|
# Description: This file exemplifies printing 'Hello world!' in bash.
|
||||||
#
|
#
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* File: helloworld.c
|
* File: HelloWorld.c
|
||||||
*
|
*
|
||||||
* Description: This file exemplifies printing 'Hello world!' in C.
|
* Description: This file exemplifies printing 'Hello world!' in C.
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* File: helloworld.cs
|
* File: HelloWorld.cs
|
||||||
*
|
*
|
||||||
* Description: This file exemplifies printing 'Hello world!' in C#.
|
* Description: This file exemplifies printing 'Hello world!' in C#.
|
||||||
*
|
*
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import java.lang.System;
|
import java.lang.System;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* File: helloworld.cs
|
* File: HelloWorld.java
|
||||||
*
|
*
|
||||||
* Description: This file exemplifies printing 'Hello world!' in C#.
|
* Description: This file exemplifies printing 'Hello world!' in Java.
|
||||||
*
|
*
|
||||||
* Package: AniNIX::Foundation/HelloWorld
|
* Package: AniNIX::Foundation/HelloWorld
|
||||||
* Copyright: WTFPL
|
* Copyright: WTFPL
|
||||||
@ -11,8 +11,7 @@ import java.lang.System;
|
|||||||
* Author: DarkFeather <darkfeather@aninix.net>
|
* Author: DarkFeather <darkfeather@aninix.net>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/// This class is used exemplify coding standard in Java
|
||||||
/// This class is used exemplify coding standard in C#.
|
|
||||||
public class HelloWorld {
|
public class HelloWorld {
|
||||||
|
|
||||||
// String to print
|
// String to print
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
# File: helloworld.php
|
# File: HelloWorld.php
|
||||||
#
|
#
|
||||||
# Description: This file exemplifies printing 'Hello world!' in PHP.
|
# Description: This file exemplifies printing 'Hello world!' in PHP.
|
||||||
#
|
#
|
||||||
@ -11,14 +11,14 @@
|
|||||||
|
|
||||||
|
|
||||||
### String to print
|
### String to print
|
||||||
$helloWorld="Hello world!";
|
$_helloWorld="Hello world!";
|
||||||
|
|
||||||
### <summary>
|
### <summary>
|
||||||
### Prints 'Hello world!'
|
### Prints 'Hello world!'
|
||||||
### </summary>
|
### </summary>
|
||||||
function PrintHelloWorld() {
|
function PrintHelloWorld() {
|
||||||
global $helloWorld;
|
global $_helloWorld;
|
||||||
echo $helloWorld."\n";
|
echo $_helloWorld."\n";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/perl
|
||||||
|
|
||||||
# File: helloworld.pl
|
# File: HelloWorld.pl
|
||||||
#
|
#
|
||||||
# Description: This file exemplifies printing 'Hello world!' in perl.
|
# Description: This file exemplifies printing 'Hello world!' in perl.
|
||||||
#
|
#
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# File: helloworld.bash
|
# File: HelloWorld.py
|
||||||
#
|
#
|
||||||
# Description: This file exemplifies printing 'Hello world!' in bash.
|
# Description: This file exemplifies printing 'Hello world!' in python.
|
||||||
#
|
#
|
||||||
# Package: AniNIX::Foundation/HelloWorld
|
# Package: AniNIX::Foundation/HelloWorld
|
||||||
# Copyright: WTFPL
|
# Copyright: WTFPL
|
||||||
|
Loading…
Reference in New Issue
Block a user