The Harmonious Programmer

The Harmonious Programmer

Covering a symphony of technical and sometimes off-topic subjects

  • Home
  • How to publish code samples to Posterous?

    • 9 Nov 2009
    • 0 Responses
    •  views
    • Posterous
    • Edit
    • Delete
    • Tags
    • Autopost

    I've just popped an early version of it live for you to try out. All you have to do is surround your code block with the following tags:

    [code] 
      your code here 
      
    [/code]
    Additionally, if you want to get fancy, you can specify a language with the following syntax:
     [code lang='java']
      public static boolean isAwesome = true;
      
    [/code]

    The available list of languages is: 'cpp', 'c', 'c++', 'c#', 'c-sharp', 'csharp', 'css', 'delphi', 'pascal', 'java', 'js', 'jscript', 'javascript', 'php', 'py', 'python', 'ruby', 'rails', 'ror', 'sql', 'vb', 'vb.net', 'xml', 'xhtml', 'xslt', 'html', 'xhtml'

    Current known issues: HTML formatting might be a little spotty at the moment. Will be fixing asap. I also see some intermittent errors where the code isn't getting properly recognized.

    Please report any bugs to me at garry@posterous.com. Thanks for all the support and ideas. Please do keep the feature ideas coming -- the best way to reach us is to email help@posterous.com, but voting up to the top of Hacker News works too. ;-)

    -----

    via news.ycombinator.com

    It took a Google search to find out, but man that is slick. Let's see if CFML works:

     
     <cfset pleaseWork = "I work!" />
    

    • Tweet
  • Decided To Try Posterous

    • 25 Oct 2009
    • 1 Response
    •  views
    • Posterous
    • Edit
    • Delete
    • Tags
    • Autopost
    I realize that I haven't blogged for a long while and I think it's because there is barrier to entry for me. I haven't upgraded my blog software for a long time and it's just laborious for me to blog. Plus, my blog looks ugly and it's clunky. We'll see where this goes. It could be boom or bust.
    • Tweet
  • About

    Hailing from the frigid tundra of Minnesota, Peter J. Farrell has a Bachelor of Music degree from the Peabody Institute at the Johns Hopkins University in Baltimore, Maryland.

    While studying music, Peter took his life-long interest with computers to a new level and started learning about web development technologies. He has been working with CFML since 2001 and is the lead developer of the Mach-II framework.

    Peter is a Senior Technologist for GreatBizTools, a human resources consulting firm. He and his wife, Allyson, live together in Minneapolis, Minnesota.

    326619 Views
  • Archive

    • 2012 (4)
      • January (4)
    • 2011 (10)
      • August (1)
      • May (4)
      • April (3)
      • March (1)
      • February (1)
    • 2010 (58)
      • December (1)
      • November (1)
      • October (1)
      • September (3)
      • August (4)
      • July (1)
      • June (4)
      • May (12)
      • April (15)
      • March (3)
      • February (5)
      • January (8)
    • 2009 (38)
      • December (14)
      • November (22)
      • October (2)

    Get Updates

    Subscribe via RSS
    TwitterFacebookLaconi.ca/Identi.caLinkedInFlickr
  • Resources

    • Lyla Captcha for CFML
    • Rooibos Bean Generator
    • Mach-II Framework for CFML
    • Presentations