Search This Blog


Blog.init();

Ok, first post. WOOHOOO! Just finished setting up everything: syntax highlighting & markdown. a little example (taken from here which I pimped up a bit) shows it:

Syntax highlighting is fun!

HTML

    <h1>HTML code</h1>
    <div class="some">This is an example</div>

Python

    def func():
      for i in [1, 2, 3]:
        print "%s" % i

Scala

    def fib(a: Int, b: Int): Stream[Int] = a #:: fib(b,a+b)
    fib(1,1).filter(_ % 2 == 0).take(10).toList

Java (deprecated)

    class HelloWorldApp {
      public static void main(String[] args) {
        System.out.println("Hello World!"); // Print the string to the console.
      }
    }

highlighting is done with highlight.js & markdown with pagedown extra

So, I’ll probably babble here about all kind of things I find interesting. Also, as the name says, I’m open to suggestions (So my wife just came up with a cool name… IM KEEPING IT!). apparently, coming up with a name for your blog, is quite hard…

anyway, hope to have some fun. see ya’ :)

No comments:

Post a Comment