Time to get a little bit more geeky. This blog is not just about music, gigs, blogs, and web stuff, sometimes I would like to get a little bit more on the geek side. I’ve install a Wordpress code syntax highlighting plugin, wp-syntax. This is nothing but a test post. I’ll be sharing some of my codes in the future.
PHP
1 2 3 4 5 | <?php function foo() { echo "Hello World!\\n"; } ?> |
Java:
1 2 3 4 5 | public class Hello { public static void main(String[] args) { System.out.println("Hello World!"); } } |
Ruby:
1 2 3 4 5 | class Example def example(arg1) return "Hello: " + arg1.to_s end end |
Apparently this plugin understands more programming languages such as - abap, actionscript, ada, apache, applescript, asm, asp, autoit, bash, blitzbasic, bnf, c, c_mac, caddcl, cadlisp, cfdg, cfm, cpp-qt, cpp, csharp, css, d, delphi, diff, div, dos, dot, eiffel, fortran, freebasic, genero, gml, groovy, haskell, html4strict, idl, ini, inno, io, java, java5, javascript, latex, lisp, lua, m68k, matlab, mirc, mpasm, mysql, nsis, objc, ocaml-brief, ocaml, oobas, oracle8, pascal, per, perl, php-brief, php, plsql, python, qbasic, rails, reg, robots, ruby, sas, scheme, sdlbasic, smalltalk, smarty, sql, tcl, text, thinbasic, tsql, vb, vbnet, vhdl, visualfoxpro, winbatch, xml, xpp, z80
Phew!..
No Responses