Site Changes

Author: George Hayes

Text based tutorials

I built a text based tutorial system that can also serve to blog. Which is what I am using to write this article.

I started off making my own Syntax highlighter for c and c++. I decided that I wanted to do more languages and that using javascript to highlight the code rather than php would be wiser. I came across SHJS which seems to work quite well. SHJS

Example code
#include <iostream>

using namespace std;

int main(int argc, char ** argv) {
  cout << "Hello world" << endl;
  return 0;