Posts

How to avoid parsing error in Blogger Template editor when adding HTML or Javascript codes

Image
Do you hate it whenever you found a suitable Javascript in the internet and when you copy and pasted it onto your Blogger template editor only to find out that it is giving out parsing error. Errors like it illegal characters for < , >  or  " and all of them needed to be replace with  &lt; , &gt;  or  &quot;  . Well it is not because the Javascript code is incorrect but rather Blogger template codes are in XML and Javascript code works in HTML. XML and HTML code syntax does not play well together. There are two solutions to this. The first solution is to convert the Javascript codes into XML compatible or friendly. To do that, you need to search for online converter like  http://www.blogcrowds.com/resources/parse_html.php . The second solution is to use CDATA tags. Use the tags inside the <script></script> tags. Here is an example. Javascript found in the internet: <script>     Your Javascript codes. </script> Javascript with CDATA tags

Orange leech at Penang Botanical Gardens

Image
I spotted this and I assume its a kind of a leech but it's orange in color! I have never seen this before. I found this fella whiking I was hiking up my regular hiking trail (just full of steps) from inside the Penang Botanical Gardens to 47 rest area.

Monkeys while hiking up to 47 rest area from Penang Botanical Gardens

Image
Usually the monkeys at the Penang Botanical Gardens are the brown haired type (I don't know what species name they are) but last few years there are these black haired monkeys start to appear. They seems harmless and they don't attack humans or eat trash from trash cans. They actually eat leaves and like to be on the trees. Compare to the predominately brown haired type, they are vicious especially when you have food in your hands and they would snatch it at every opportunity they would have.  Usually you can spot them while hiking from a little jungle (steps) trek from inside the Botanical Gardens to "47" (thats what the local calls it) rest area.

How to mute the sports channel commentary on your 5.1 channel audio system

Image
If you are a regular sports fan, I would think that you regulary tuning into the sports channel and spent good money in equiping your living room with 5.1 sounds system for the real feel of your favorite football or soccer at the comfort of your home. And then once a while you might find some of the sports commentaries to be annoying and wish that you can turn it off. Well, actually you can! If you have the 5.1 sounds system setup in your living room of course. This is how you can do it. All you need to do is to disconnect the center sound channel. Yep you heard it right. It would be even better if your receiver has the menu function to disable it without physically disconnect it. The center sound channel is usually reserved for dialog and commentary in sports channel. Source: Reddit

How to efficiently search for a solution for a computer error

Image
Ever wonder what does all those computer error codes mean? And how to fix it? Of course you can Google it but to search for the meaning and solution efficiently, ... When you are doing a Google Search, just include the word "solved". This will help you filter out those search results that doesn't have solutions to the error.

How to convert Youtube videos to animated GIF

Image
This is the easiest way to convert any Youtube videos to an animated GIFs directly from any Youtube video page. There is no need of any software installation to do it! 3 Steps to Convert any Youtube Video to an Animated GIF Step 1 Go to any Youtube video page. Example: https://www.youtube.com/watch?v=1JgXMfQVCXI Step 2 Add "gif' before 'youtube.com/[...]" and after "www." Example: https://www.gifyoutube.com/watch?v=1JgXMfQVCXI Step 3 It will bring you to an editor where you can edit your animated GIF before you save the GIF file. Disclaimer: This is not an official feature from Youtube. "www.gifyoutube.com" is a separate domain from Youtube.

How to change an app notifications behaviour in Samsung Galaxy Note 4

Image
For every app in Samsung Galaxy Note 4, you can change the notifications behaviour to suits your need. For example, you can deny an app to post any notifications if the app is so annoying and there is no way to switch it off within the app settings itself. Or you can hide the notification on lock screen. This is how you can do it. Step 1 : Go to the "App info" screen. Step 2 : Go to "Notifications" and you will be presented with the notification settings screen for your pleasure.