Much ado about scripting, Linux & Eclipse: card subject to change

Showing posts with label blogger. Show all posts
Showing posts with label blogger. Show all posts

2011-02-01

Syntax highlighting for code snippets in blogs

Where does he get those wonderful toys? - The Joker, Batman (1989)
Recently I was asked how I make code snippets on this blog prettier. Here's how.
  1. In your blog's template, install Alex Gorbatchev's Syntax Highlighter.
  2. Then, in the body of the blog post (with all occurrences of "<" HTML-escaped as "&lt"):
    <pre class="brush:shell"> ... </pre>
    or
    <pre class="brush:java"> ... </pre>
    or
    <pre class="brush:xml"> ... </pre>
  3. There are other "brushes" available too with which you can "paint" your code. I generally only need java, xml, and shell.

2008-11-22

If you type Google into Google you will break the internet...

While that may not be true, searching for a blog search with Google can yield rather loud effects:


Query for divbyzero.com/search/labels/w810i

2007-12-06

Bloggered

Tuesday was a bad day for Blogger, but a great day for my errata collection.


Blogger is currently unavailable.


HTTP method POST is not supported by this URL (Error 405)


Your request could not be processed.

2007-10-16

OS Nadir?

Of course, they're not the only ones having problems tonight:

2007-06-29

So long, and whoops for all the spam

After zx challenged me to start talking more about what I do, I created a second blog -- this time at eclipse.org. I did this for three reasons:

  1. To provide a place to talk about release engineering away from the other clutter on this blog;
  2. To encourage other release engineering folks to provide posts here as well; and
  3. Because I'm a little sick of Blogger (preview sucks, no html shortcuts) and am ready to try WordPress for something new

Unfortunately, while importing old releng-related entries to the new site, I seem to have accidentally caused some old posts to be syndicated on Planet Eclipse, and so for everyone who's just been inundated with my old pre-syndication posts, my apologies.

Anyway, please watch the new releng blog for stuff about my work. If you want to be an author/contributor on the new blog, sign up, then drop me a line and I'll add you.

2007-06-19

Blogger + Italic Tag = No RSS

I blogged on Saturday, and decided to use italics (<i> tags) to emphasize some information. Unfortunately, this seems to have prevented Blogger from syndicating the post into my Eclipse Atom RSS feed. Strange. The problem doesn't seem to manifest with <em> tags and <span style="font-style: italic"> tags.

2007-04-12

Blogger Label Cloud

Found a cool way to present Blogger labels in a cloud (see "Categories" at right). Thanks to phydeaux3 for the code and configuration walkthru.

2007-03-06

Blogger + Linux = suck

Blogging with Konqueror doesn't work at all (all blog contents are lost when you hit Publish!), and the Preview option with Firefox 1.5 doesn't apply the CSS of the actual blog, making it less than useful as a preview tool. I wonder if there's something screwy in my .css, or if blogger just sucks for Linux folks. Anyone else have these problems? Should I upgrade to FF 2.0?

2006-08-28

Blogger is busted

Went to check my blog tonight and found this instead. Ah, well, could have been worse, much worse... however, after a few minutes worth of 'trying again in 30 seconds' it became clear that something was serious foobared here.

2006-04-01

A new skin

Well, after much ado, and much better things to do, I've finally gotten around to installing a new skin for this blog, along with contact info. Very little point in resurrecting the old site, now.