Showing posts with label Meta. Show all posts
Showing posts with label Meta. Show all posts

Friday, April 29, 2011

Highlighting my code with some rays of Sunlight.

This is the best syntax highlighting system I've found for the web, and I've tried a couple; and it's also context-aware.

It's what I am currently using for this blog. Tommy Montgomery, I salute you.

Here's an example:

/**
 * jQuery plugin for Sunlight http://sunlightjs.com/
 *
 * (c) 2011 Tommy Montgomery http://tommymontgomery.com/
 * licensed under WTFPL http://sam.zoy.org/wtfpl/
 */
(function($, window, undefined){
 
 $.fn.sunlight = function(options) {
  var highlighter = new window.Sunlight.Highlighter(options);
  this.each(function() {
   highlighter.highlightNode(this);
  });
  
  return this;
 };
 
}(jQuery, window));

Huh, it's highlighting itself.

Saturday, April 23, 2011

meta thinking

Uh no, not 'when to think'. You should always think, this is not what this is about.

Meta think everything you do...including meta thinking. Yup, you know where that is going don't you? Recursively Infinite Thought.

Conversation legend.

No, it's not a game title.

It's to be used ONLY when there is a form of dialog in my posts.

So, here it is:


Me : >
Other people: Other symbols.
such as =>, |>, [>, ]>, ^> etc... ('etc...' is not one of them, ok?)

Examples of posts with dialog: