Reason

This blog is a test page. It’s meant to test the Harth-Hugo-Theme.

Code Shortcode

Example code block:

#include <iostream>
#define IABS(x) ((x) < 0 ? -(x) : (x))

int main(int argc, char *argv[]) {

  /* An annoying "Hello World" example */
  for (auto i = 0; i < 0xFFFF; i++)
    cout << "Hello, World!" << endl;

  char c = '\n';
  unordered_map <string, vector<string> > m;
  m["key"] = "\\\\"; // this is an error

  return -2e3 + 12l;
}

class Thing
{
public:
    Thing();
    int CallFunc(int x, int y);
};

try
{
    Thing t;
    int x = t.CallFunc(1, 2);
	if (x < 10)
	    throw new Exception("oops");
}
catch (Exception &e)
{
    printf("Error: %s\n", e.ToString());
}

Code Shortcode 2

import thing

class That
{
    function XXX(x : Int) -> Int
    {
        printf("%s\n", x)
    }
}

Inline Code

Calling the function CallFunc().

Inline Key Press

Press the following keys to quit: + Q

Sample Console Output

Sample console output
Stuff
********************************************************************************
End

Various Panels

  • Success

    It worked!

    Which is nice.
  • Info

    Info

    Remember to add this.
  • Warning

    Warning

    Do not do this.
  • Error -

    Error

    Oh dear

TODO

  • TODO

    TODO

    Remember to add a thing.

TODO List

TODO

  • Thing