The method I used to put syntax highlighted code in my blog is to use the "Code Format" tool provided by Manoli.net. It works fine but I am just lazy to convert my code every time I post a new entry.
I then try to find another solution. One option is to use SyntaxHighlighter, a Java Script library that does all the syntax highlight jobs for you.
After installation, one problem I faced is that all the "new line" I wrote in "Edit Html" of Compose Page in Blogger are converted to "
". That's not very nice : (
Like everytime, I performed a search and found a good solution here, Using SyntaxHighlighter on BLOGGER. The purpose of additional script is to convert all the "
" found in the code to "new line" chracter. It works fine and here is my sample of highlighted Java code.
(Of course, I will not use silly program like Hello World for this :D )
And here is the result:
Simple, isn't it ?
Showing posts with label code. Show all posts
Showing posts with label code. Show all posts
Saturday, September 27, 2008
Monday, March 5, 2007
Summer' resolution
Tired from taking many exams last week (being a Thai student in a Thai university is not that easy, you know?), I decided to spend my very first time of my summer sitting in front of my computer, playing PS2 games with my brother and help my sister to prepare for upcoming Triamudom suksa school entrance exam.
At summers or any long vacations, I always make resolutions. ... I will do these, I will do those, I will learn C#, I will prepare for MCPD, ... blah blah. But up until this day, only 30% of all my resolutions had been done. So I will not make too many resolutions this summer ;)
My resolution for this summer is that I will finish reading my two new books within this summer. They are ...
At summers or any long vacations, I always make resolutions. ... I will do these, I will do those, I will learn C#, I will prepare for MCPD, ... blah blah. But up until this day, only 30% of all my resolutions had been done. So I will not make too many resolutions this summer ;)
My resolution for this summer is that I will finish reading my two new books within this summer. They are ...
Practical Object-Oriented Design With UML by Mark Priestly - After reading first few chapters of this book, I am really impressed at how the writer described the software engineering process. Compared to other books in the same category, this book explains SE in more friendly way. I really like this kind of books.
This book focuses at the use of UML with software projects. It first briefly explains the popular methodologies used in SE world which are Unified Process and eXtreme programming. After that, there is a real-world case study (restaurant booking system) and a UML tutorials.
I found this book at my university's book shop, the price is incredibly low for an English text book in Thailand (around 500 THB or 12 USD).

Code Complete 2nd Edition by Steve McConnell - Have heard of this book many many times, I decided to buy a copy. As a MSDN Connection Gold member, I could buy this book from MS Press partner with 35% off or around 1300 THB (Actually, I could asked someone I know who has a platinum card to buy this for me at 40% off!).
The book focuses on the best practices for everything in building a software from coding level to software project management. Some also says that this is a book every serious programmers should have.
Hope I can finish these before my third year at the university begins.
This book focuses at the use of UML with software projects. It first briefly explains the popular methodologies used in SE world which are Unified Process and eXtreme programming. After that, there is a real-world case study (restaurant booking system) and a UML tutorials.
I found this book at my university's book shop, the price is incredibly low for an English text book in Thailand (around 500 THB or 12 USD).
Code Complete 2nd Edition by Steve McConnell - Have heard of this book many many times, I decided to buy a copy. As a MSDN Connection Gold member, I could buy this book from MS Press partner with 35% off or around 1300 THB (Actually, I could asked someone I know who has a platinum card to buy this for me at 40% off!).
The book focuses on the best practices for everything in building a software from coding level to software project management. Some also says that this is a book every serious programmers should have.
Hope I can finish these before my third year at the university begins.
Subscribe to:
Posts (Atom)