2013 in review

The WordPress.com stats helper monkeys prepared a 2013 annual report for this blog.

Here’s an excerpt:

A New York City subway train holds 1,200 people. This blog was viewed about 3,700 times in 2013. If it were a NYC subway train, it would take about 3 trips to carry that many people.

Click here to see the complete report.

 

——

Happy New Year 2014, of course!!

 

😉

Easy syntax highlighting in WordPress

Since I going to upload lot of code in this blog, the code posting will be my main concern.

Before that I thought this WordPress just work like Blogger when I want to use the SyntaxHighlighter , however I cannot open wordpress theme source to add in code for calling SyntaxHighlighter.

After few minutes of google, the wordpress plugin seems is the one will provide syntaxhighlighter feature, but it need me to download a zip file and put it to my local PC in order to get this feature ……

I knew that there are two type of blog hosting method in wordpress, the first one is fully online, like my case, and the second one is host your blog in your local PC ( I guess), thus I thought all my findings only for local blog hosting.

It is my luck before i give up, I give a try to my previous post when i saw this wordpress faq. Yes, just simply wrap your code with:

and update.

You know what i am trying to tell you, YES, the code is highlighted without my expectation. WoooWou, it just work great.

Let check out some other interesting stuffs in that faq page, What are the WordPress shortcodes? , Using Google Maps , hmm… interesting stuffs and should try them later…

Okie now test with few samples:

C# sample:

using System;
public Class ClassTest
{
      private void SomeMethodHere()
      {
      }
}

VB6 sample:

Dim str as String
str = "This is not a string?"

Great !

Reference:

How do I post source code?

What are the WordPress shortcodes?

Using Google Maps