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. … [Read more...]
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. … [Read more...]
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! … [Read more...]
Introduction
Welcome to snippetit.com and thank you for visiting this site. This the place where I want to share anything about information technology. … [Read more...]