LinkPost – May 2009

Posted by Phil on June 2, 2009 under LinkPost, Web Development | Read the First Comment

linkpost-may-2009

Yep, I’m a few days late, but this month is full of more tasty linked goodness! Plenty of image links, multimedia, jQuery, generic web dev, some WordPress, a couple of iPhone links, plenty of ‘other’, and of course what a LinkPost be without tons and tons of fonts (now that I’ve said that, next month watch there not be any ;) )?
Read more of this article »

Quick reminder on CodeBox-ing

Posted by Phil on October 30, 2008 under Web Development | Be the First to Comment

quick-reminder-on-codebox-ing

Every once in a while one of us logs on and would like to post some code… then we forget how to make it pretty, so here are some quick instructions for posting code here… (most of this is taken directly from the codebox plugin page.

In the “HTML” or code view of posting here in wordpress, add ” <pre lang="LANGUAGE" line="1" file="download.txt" colla="+">" and then start coding (or paste your code in), when finished end it with a "</pre>" and you'll be set.  I'm not sure if it's fixed or a bug or what, but if you are coding on the HTML tab, and put in your pre-tag and then switch to Visual, it'll break the pre-tag.  So be careful with that... For options (parameters), use the following:

  • lang="LANGUAGE"LANGUAGE is a GeSHi supported language syntax.
  • file="download.txt" – The file will create a code downloading attribute.
  • line="N" – The N is the starting line number.
  • colla="+/-" – The +/- will expand/collapse the codebox.
  • line,file,colla is optional.

the GeSHi langs are:

  • Actionscript
  • ADA
  • Apache Log
  • AppleScript
  • ASM
  • ASP
  • AutoIT
  • Backus-Naur
  • Bash
  • BlitzBasic
  • C
  • C for Macs
  • C#
  • C++
  • CAD DCL
  • CadLisp
  • CFDG
  • ColdFusion
  • CSS
  • Delphi
  • DIV
  • DOS
  • Eiffel
  • Fortran
  • FreeBasic
  • GML
  • Groovy
  • HTML
  • Inno
  • IO
  • Java
  • Java 5
  • Javascript
  • LaTex
  • Lisp
  • Lua
  • Microprocessor
  • mIRC
  • MySQL
  • NSIS
  • Objective C
  • OCaml
  • OpenOffice BASIC
  • Oracle 8 SQL
  • Pascal
  • Perl
  • PHP
  • PL/SQL
  • Python
  • Q(uick)BASIC
  • robots.txt
  • Ruby
  • SAS
  • Scheme
  • SDLBasic
  • Smalltalk
  • Smarty
  • SQL
  • T-SQL
  • TCL
  • thinBasic
  • Uno IDL
  • VB.NET
  • Visual Basic
  • Visual Fox Pro
  • Winbatch
  • X++
  • XML
  • z80 ASM

Enjoy…