I guess if I am going to start posting code, I need to make sure I can do that with Wordpress. It turns out there are a couple of plugins available to make this task easier. I am currently trying out SyntaxHighlighter Plus for syntax highlighting, and Visual Code Editor to allow one to continue using the visual editor when posting code.
So let’s see how they work!
Here is some C++:
#include <iostream>
#include <ostream>
int main()
{
std::cout << "Hello World!" << std::endl;
return 0;
}
And here is some Python:
def index(request, page=1): stories = Story.objects.all() paginator = create_paginator(stories) try: the_page = paginator.page(int(page)) except InvalidPage: raise Http404
Pretty cool! A big thank-you to the plugin authors!
Just an update on the blog itself. I’m getting the hang of wordpress and even managed to update it. It was about the same process as updating a Nuke site. I looked around for a theme for a while, and nothing jumped out at me. I finally settled on this nice Google Chrome theme. It’s simple and clean and seems like it will do the job just fine.
I’ve been wanting to blog some more about the SG101 2.0 project. I can see that blogging isn’t an easy task. A lot of time has passed on some of the subjects I wanted to write about, so the lesson learned is to blog while it is fresh in your mind. With that in mind, I’m about halfway through the shoutbox application, so I’ll start a series of posts on how that is going.
Tags: Blog
Greetings. This is Brian, aka, in some circles, Gremmie. Never in my right mind did I think I would start a blog. However I’ve recently started a web development project in Django, and I thought it would be fun to use a blog to document its progress, design decisions, and to receive feedback from other developers. Blogs seem to be thee way for web developers to exchange ideas these days, so I thought I would give it a go. I’m sure I will also throw in a post about my other interests from time to time: surf music and gaming.
Yes I am using Wordpress, and yes I am using the default theme. I know the cool kids write their own blogging software as a rite of passage, but I am spending what little free time I have coding my main project in Django. I’ve never used Wordpress before, but I’ll give it a whirl (mainly to show I don’t completely suffer from the “not invented here” syndrome). As for the default theme, I’m still looking for a good one.
More to come. Thanks for reading and be sure to leave me feedback!
Tags: Blog