Thoughts etc.

home

Hello World

03 Jan 2014

I finally pulled myself together and got a basic github-pages blog up and running. Below are a few examples of code highlighting:

First some Erlang:

sum(A, B) ->
    A + B.

ismonday(monday) ->
   true;
ismonday(_) ->
   false.

Then some c:

int add(int a, int b) {
    return a + b;
}

Last some ruby:

def print_hi(name)
  puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.

Seems to be working ;)

comments powered by Disqus