Snippet IT IT News, Programming, Internet and Blogging

12Jan/100

Java: Use ByteBuffer As InputStream

Sometime, your program may need to read data from a ByteBuffer buffer into a InputStream object. There is no class in Java library that provide the facility to do the conversion.

Anyway, to use a ByteBuffer object as an InputStream is pretty simple. What you need to do is to write a class wrapper that inherit InputStream and override the read() function in InputStream.

18Nov/090

Wordpress: Rename Permalink URL with Ease in Administrator Page

It is quite troublesome every time when blogger wants to rename a post's permalink URL after he or she has renamed the post's title in Wordpress's administrator page. Blogger needs to click the Edit button next to the permalink URL and modify the text accordingly.

17Nov/090

Wordpress: Schedule to Publish a Post

To publish a post doesn't mean you always need to be in front in your computer. Using Wordpress, you can simply write a post, schedule it and forget it. Wordpress will then publish your scheduled post at the right time!
Schedule Wordpress to Publish a Post

1Apr/080

Introduction

Welcome to snippetit.com and thank you for visiting this site. This the place where I want to share anything about information technology.