1. Escape Adsense code with http://www.accessify.com/tools-and-wizards/developer-tools/quick-escape/default.php
  2. Find
    <b:if cond='data:blog.pageType == "item"'>
    PUT YOUR CODE HERE
    </b:if>
  3. Put the code below above it
    <b:if cond='data:blog.pageType == &quot;item&quot;'>
     PLACE AD CODE HERE
    </b:if>

0 comments Posted by Wai Kit at 7:55 PM

  1. Tweak the page render time from 250ms to 0ms
    nglayout.initialpaint.delay to 0.
  2. network.http.pipelining: true
    network.http.pipelining.maxrequests: 8 (maxes out at 8)
    network.http.proxy.pipelining: true
  3. Increase RAM cache setting value
    browser.cache.memory.capacity
    Physical RAM Memory Cache (in KB)
    32 MB 2048
    64 MB 4096
    128 MB 6144
    256 MB 10240
    512 MB 14336
    1 GB 18432
    2 GB 24576
    4 GB 30720
    8 GB and up 32768
  4. content.notify.backoffcount: 5
  5. config.trim_on_minimize: true
  6. network.prefetch-next: true

0 comments Posted by Wai Kit at 10:25 AM

  1. Locate http://i61.photobucket.com/albums/h59/c_stavanger/hello/bg.png
  2. Replace with http://img580.imageshack.us/img580/7343/bg2v.png

0 comments Posted by Wai Kit at 2:03 AM

Firefox Gets Laggy

(Sunday, September 25, 2011)

Mozilla Firefox is a fast browser, but with the lapse of time it starts working much slowly. The reason is fragmentation of profile databases. A free tool SpeedyFox is designed specially to resolve that problem. The method used in SpeedyFox is 100% safe for your profile (e.g. bookmars, passwords, etc), it's well documented and tested on millions computers.

Use this. http://www.crystalidea.com/speedyfox

0 comments Posted by Wai Kit at 9:07 PM

Android Market 3.1.5

(Friday, September 23, 2011)

New Android Market 3.1.5 is here.

Update:
September 24, 2011: Link

0 comments Posted by Wai Kit at 12:36 PM

How to Import Sample Android Projects to Eclipse?

(Thursday, September 22, 2011)

  1. In Eclipse>Window>Preferences>Android, make sure you have set the SDK Location then Apply and press OK
  2. Select File>New>Android Project
  3. Click on Create project from existing samples
  4. Select the SDK version and select the sample you want

0 comments Posted by Wai Kit at 7:05 AM

Close the project, reopen it and delete.

2 comments Posted by Wai Kit at 6:54 AM

If the size of the emulator is too big. You can resize it by:

  1. Run Run Configurations
  2. Pick the "Target" tab
  3. Scroll down to Additional Emulator Command Line Options and put in: "-scale 0.8" or another number

0 comments Posted by Wai Kit at 5:50 AM

From The Social Network 2010

(Thursday, September 15, 2011)

From The Social Network 2010:


1529
01:14:01,851 --> 01:14:03,284
What is happening on that?
1530
01:14:03,352 --> 01:14:05,445
l have my final coming up
for Postwar and Contemporary Art
1531
01:14:05,521 --> 01:14:06,783
and l haven't been to class.
1532
01:14:06,856 --> 01:14:08,118
l'm supposed to write about
these four paintings.
1533
01:14:08,491 --> 01:14:09,822
That's a Facebook page?
1534
01:14:09,925 --> 01:14:10,949
Yeah. l opened it under an alias.
1535
01:14:11,026 --> 01:14:12,459
l posted the paintings
and asked people to comment.
1536
01:14:12,528 --> 01:14:15,520
Every once in a while, l hop on
and stir the pot to get a good debate going.
Why not Google?

0 comments Posted by Wai Kit at 2:52 PM


Next in the list. Should make a fine read.

Update:
21 September, 2011: The Accidental Billionaires, checked. Looking for the next good book.

0 comments Posted by Wai Kit at 12:46 AM

Blogger Comment Block

(Wednesday, September 14, 2011)

A sample of the comment block code in theme template that reflects the changes in the comment block.

<b:includable id='comments' var='post'>
<b:if cond='data:blog.pageType != &quot;static_page&quot;'><h3>Comments</h3>
<div id='commentblock'>
<a name='comments'/>
<b:if cond='data:post.allowComments'>
<b:if cond='data:post.numComments != 0'>
<p id='comments'>
<b:if cond='data:post.numComments == 1'>
One Response to &#8220;<data:post.title/>&#8221;
<b:else/>
<data:post.numComments/> Responses to &#8220;<data:post.title/>&#8221;
</b:if>
</p>
</b:if>
 
<b:if cond='data:post.commentPagingRequired'>
<span class='paging-control-container'>
<a expr:class='data:post.oldLinkClass' expr:href='data:post.oldestLinkUrl'><data:post.oldestLinkText/></a>
&#160;
<a expr:class='data:post.oldLinkClass' expr:href='data:post.olderLinkUrl'><data:post.olderLinkText/></a>
&#160;
<data:post.commentRangeText/>
&#160;
<a expr:class='data:post.newLinkClass' expr:href='data:post.newerLinkUrl'><data:post.newerLinkText/></a>
&#160;
<a expr:class='data:post.newLinkClass' expr:href='data:post.newestLinkUrl'><data:post.newestLinkText/></a>
</span>
</b:if>
 
<ol class='commentlist'>
<b:loop values='data:post.comments' var='comment'>
<li>
<b:if cond='data:comment.favicon'>
<img expr:src='data:comment.favicon' height='50px' style='margin-bottom:-2px;' width='50px'/>
</b:if>
<a expr:name='data:comment.anchorName'/>
<b:if cond='data:blog.enabledCommentProfileImages'>
<data:comment.authorAvatarImage/>
</b:if>
<span class='auth-name'>
<b:if cond='data:comment.authorUrl'>
<a expr:href='data:comment.authorUrl' rel='nofollow'><data:comment.author/></a>
<b:else/>
<data:comment.author/>
</b:if>
</span><br/>
<span class='auth-time'>
<a expr:href='data:comment.url' title='comment permalink'>
<data:comment.timestamp/>
</a>
<b:include data='comment' name='commentDeleteIcon'/>
</span>
<div class='commenttext'>
<b:if cond='data:comment.isDeleted'>
<span class='deleted-comment'><data:comment.body/></span>
<b:else/>
<p>
<data:comment.body/>
<span class='interaction-iframe-guide'/>
</p>
</b:if>
</div>
</li>
</b:loop>
</ol>
 
<b:if cond='data:post.commentPagingRequired'>
<span class='paging-control-container'>
<a expr:class='data:post.oldLinkClass' expr:href='data:post.oldestLinkUrl'>
<data:post.oldestLinkText/>
</a>
<a expr:class='data:post.oldLinkClass' expr:href='data:post.olderLinkUrl'>
<data:post.olderLinkText/>
</a>
&#160;
<data:post.commentRangeText/>
&#160;
<a expr:class='data:post.newLinkClass' expr:href='data:post.newerLinkUrl'>
<data:post.newerLinkText/>
</a>
<a expr:class='data:post.newLinkClass' expr:href='data:post.newestLinkUrl'>
<data:post.newestLinkText/>
</a>
</span>
</b:if>
 
<p class='comment-footer'>
<b:if cond='data:post.embedCommentForm'>
<b:if cond='data:post.allowNewComments'>
<b:include data='post' name='comment-form'/>
<b:else/>
<data:post.noNewCommentsText/>
</b:if>
<b:else/>
<b:if cond='data:post.allowComments'>
<a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'><data:postCommentMsg/></a>
</b:if>
</b:if>
 
</p><b:else/><p class='nocomments'>Comments are closed.</p>
</b:if>
 
<div id='backlinks-container'>
<div expr:id='data:widget.instanceId + &quot;_backlinks-container&quot;'>
<b:if cond='data:post.showBacklinks'>
<b:include data='post' name='backlinks'/>
</b:if>
</div>
</div>
</div>
</b:if>
</b:includable>

0 comments Posted by Wai Kit at 5:16 AM

How to Prevent Keylogger?

(Tuesday, September 13, 2011)

A little program I use to prevent keylogger when I'm using a guest computer. Just a precaution. Download the portable version and you don't have to install. Click out your password or email, drag and drop. I'm sure there are something better or alternatives, discuss.

Neo’s SafeKeys v3: http://www.aplin.com.au/

0 comments Posted by Wai Kit at 4:22 PM

How to Add Facebook Like Button in Blog Post?

(Monday, September 12, 2011)

Here’s how you add a Facebook Like button to your blog post. Copy the code below and paste it in your HTML format post. Paste it wherever you want the button to be, for example, paste it before your post if you want it to appear at the top of your post.
<div class="wlWriterHeaderFooter" style="float:none; margin:0px; padding:4px 0px 4px 0px;"><iframe src="http://www.facebook.com/widgets/like.php?href=http://waikitsays.blogspot.com/2011/09/test_12.html" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"></iframe></div>

Update:
12 September, 2011: Change its height to 30px, looks better that way.
24 September, 2011: Scrap that. 30px hides the profile thumbnails, too small for them, 80px doesn't.

Labels: , , 0 comments Posted by Wai Kit at 5:14 PM

Working on a new blog in WordPress. Will move my blog over and post the link here once it's up and ready. Thank you all for your support and I hope to see you around in the new blog.

Update: Here's my new blog: http://waikitsays.wordpress.com/

Update:
There is a new blog, but it isn't in WordPress. Too much restrictions, everything needs money, can't even edit the HTML my own. Plus, no ads. Decided to stay in Blogger and changed to a new name. Need to furnish it a bit here and there, simple look will do. Nothing flashy.

3 comments Posted by Wai Kit at 6:33 AM

 
Copyright 2005-2007. Hello Wiki designed by Fen, Blogger Templates by Blogcrowds. Wai Kit Says logo designed by Wai Yen.