slmingol posted this in
example post on
February 10th, 2009, @ 1:48 am
Example 1: PHP, no line numbers
Example 2: Java, with line numbers, collapse codebox
1
2
3
4
5
| public class Hello {
public static void main(String[] args) {
System.out.println("Hello World!");
}
} |
Example 3: Ruby, with line numbers starting at 18, code downloading(ruby.txt)
1
2
3
4
5
| class Example
def example(arg1)
return "Hello: " + arg1.to_s
end
end |
Example 4: Bash
40
41
42
43
44
45
46
| #!/bin/bash
echo "hi"
ls;
for i in 1 2 3 4; do
echo $i;
done |
…. Continue reading → [test]: WP-CodeBox #1 »»