Tuesday, December 28, 2010

How to connect Galaxy S to PC.

1. Ensure About Phone> USB settings> set to Mass storage or Ask on connection however you must select Mass storage  after the usb cable is connected.
2. Ensure Application > Development > USB debugging is unticked.
3. Goto Settings > SD card. you will see the Internal SD card Total space value.
4. Connect the usb data cable.
5. Goto notification, select Turn on USB storage. Select mount.
6. You will notice the Internal SD card Total space value become unavailable.

Tuesday, September 21, 2010

How To Remove Blogger (Blogspot) Footer/copyright Links?

Tips on how to remove the new version blogspot footer links /remove blogger footer attribution. How to change or delete (remove) the attribution line that Google has added to add blogs that have a Designer template.
The blogger.com has become more functional and powerful than before, they have lost a lot users, because more and more people choose wordpress as their blogging platform, but now, the blogspot had changed a lot, especially the templates.
But, as you know, google have added footer attribution widget, which contain some links, if you are just blogging for fun, it doesn’t matter has the links or not. But a lot people do not like the blogspot footer links, how to remove??
The blogger footer Attribution gadget also has a field “Copyright (optional)” – whatever you put into this phrase is shown at the beginning of the sentence. It will take some simple HTML commands – as in the picture – but I have a feeling that adding an entire Creative Commons statement won’t work.
The blogger footer Attribution gadget contains:
1. The template designer website links;
2. The copyright owner of the background photo you’re using on blogger;
3. Blogger for “powering” your blog.
4. Your own links.
The blogspot footer links, you can keep the bloger link, and most of us do not want to keep other links, if you want to remove the template’s designers link, it is easy! Just change the templates designer’s description in the css.
The links before change:
blogger footer links remove
The orignal code before get changed:
remove blogger footer links
————————–How to change————————–
Just change like this, add any links as you like, and the author:
 Remove Blogger (Blogspot) Footer Links
After your change, it should like this:
How To Remove Blogger (Blogspot) Footer Links
If you do not like any links, you can remove like this:

How to remove the Blogspot footer links

WARNING:

I have not checked the Blogger Terms and Conditions to find out whether you are allowed to remove the Attribution.   Even if they don’t mention it today, a requirement to keep the statement could be added tomorrow.   This advice does not mean that I, or Google/Blogger, are saying that you should/can/may/must remove the attribution statement.
1  Go to Design > Edit HTML.
2  Take a backup:
Download a copy of your template:  this is a backup – save it somewhere safe, in case things go wrong.
3  Click Expand Widgets, so you can see all the code
Find this section in the template:












Comment-out the code that displays the Attribution gadget, by putting it inside these characters     so it ends up looking like this













–>
Preview the template change, to check that everything is ok.  If not, fix the problem
6  Click Save Template
7  As the template tries to save, you will get a warning message:

Warning: Your new template does not include the following widgets:

  • Attribution3
Would you like to keep these widgets on your blog or delete them?
Deleting widgets cannot be undone.
Click Keep Widgets:  This will leave an attribution Gadget in the set of Widgets that your blog has data about, even though it’s not actually showing it on the screen.

Tuesday, August 24, 2010

Nose Block remedy

Sometimes, when I have nose block, I used Nazolin Nasal Spray. Spray one or two spray. Not to be use continuous for more than 7 days. Can reuse after another 7 days break. Quite effective.

Wednesday, August 4, 2010

Getting Wireshark running on OS X Snow Leopard 10.6.4

Getting Wireshark running on OS X Snow Leopard 10.6.4

Wireshark


Step 1
Download Wireshark from here. Mount the .dmg file. I used Wireshark 1.2.10 Intel.dmg at the point of writing this article.
Step 2
Drag the Wireshark application icon to the handy dandy Applications alias the fine developers at Wireshark provided for you in that disk image. Then, open up the Utilities folder in the disk image, and drag the ChmodBPF folder into the StartupItems alias sitting below it. 
After that, open up a new finder window and navigate to /usr/bin. Open up the Command Line folder in the disk image (under /Utilities) and drag those contents over to/usr/bin. You’ll probably have to authenticate at that point, so do so.
FYI.. to view /usr/bin/, you have to enable ‘hidden folders’
at the terminal, type: defaults write com.apple.finder AppleShowAllFiles -bool true
then, killall Finder

to hide files again, replace true with false

Step 3
Open up a terminal window and type in the following commands:
cd /Library/StartupItems
sudo chown -R root:wheel ChmodBPF

sudo /sbin/SystemStarter start ChmodBPF
You’ll probably be asked to enter an su password. Do so. Then exit terminal.
Go to Applications and click on Wireshark. Voila and it works.
Step 4 (is optional if Step 3 does not work)
Go to Applications and click on Wireshark. When the application opens you’ll probably see a another window open up along with it containing a bunch of errors. Close that window. Next, select Edit then Preferences from the Wireshark application window. Select Name Resolution, and click the Edit button next to “SMI (MIB and PIB paths”. Click the new button, and enter /usr/share/snmp/mibs/ in the little Directory Path popup window. Click Apply, and then Close.
Step 5(optional)
Exit Wireshark and reboot.

Tuesday, July 13, 2010

307 Numbered Page Navigation for Blogger

The ability to 'paginate' Blogger blogs has been a long requested feature. Pagination allows us to number blog pages like those of a book, offering readers the ability to navigate deeper into the archives with ease when compared to the 'newer' and 'older' post links.




After many failed attempts, I was almost ready to admit defeat with this function until I discovered this excellent script by Mohamed of Blogger Accessories. This script replaces the default blog pager (links to newer, older and home pages) with numbered page navigation. Furthermore, it offers the ability to customize the number of page links and the number of posts displayed on each page.





Mohamed's Blogger pagination script may be installed using two different methods:



* Customizing the template code

* Adding as an HTML/JavaScript widget (gadget) below the main posts section



Both of these installation methods will achieve a similar effect. I personally find adding the code directly to the template makes it easier to customize the style of the pagination links, but if you feel uncomfortable editing your template, the widget installation may be much easier for you.



Here is how the finished installation will appear in your blog:





Once installed, these "page numbers" will appear on your home, archive and labels pages, allowing your readers to easily access pages in your archives. However, the page numbers will not appear on individual post pages. I've noticed many blogs which use pagination like this, and among them none displayed these page links beneath individual posts.



To learn more about using the numbered pagination script for Blogger, pop over to Blogger Accessories to read the useful tutorials Mohamed has posted.





My Slightly Modified Version

As you may have noticed, I'm using a slightly modified version of this script here on Blogger Buster. When customizing the style of Mohamed's original version, I noticed a few elements which I preferred to change for my own preferences, and also modified the CSS for how the numbered links are displayed.





If you would prefer to use this slightly different version instead, here is what you should do.





Add the CSS code to your style section

Firstly, copy all of the code below and paste this just before the closing tag in your template:







.showpageArea a {

text-decoration:underline;

}

.showpageNum a {

text-decoration:none;

border: 1px solid #ccc;

margin:0 3px;

padding:3px;

}

.showpageNum a:hover {

border: 1px solid #ccc;

background-color:#ccc;

}

.showpagePoint {

color:#333;

text-decoration:none;

border: 1px solid #ccc;

background: #ccc;

margin:0 3px;

padding:3px;

}

.showpageOf {

text-decoration:none;

padding:3px;

margin: 0 3px 0 0;

}

.showpage a {

text-decoration:none;

border: 1px solid #ccc;

padding:3px;

}

.showpage a:hover {

text-decoration:none;

}

.showpageNum a:link,.showpage a:link {

text-decoration:none;

color:#333;

}



This should change the colors of text and links in the pagination to match the styles already present in your blog template. So if your default text is white against a dark background, the "Pages (#)" section of the script should appear the same way. The color for the background and hover effects of the numbers can be altered according to your preferences by editing the hex values to match the style of your own template.

Add the JavaScript code beneath your posts

The second part of the installation is to add the JavaScript code beneath your posts which will locate and replace the existing "Newer/Older Posts" link. To add this script, go to Layout>Edit HTML in your Blogger dashboard, and do not tick the "expand widget templates" box (it's much easier to add the code while the widgets are contracted). Then find this section of code (or similar) in your template:







Immediately after the closing tag, add the following section of code:

















Once you have added this code, attempt to preview your template to ensure there are no code errors. You will not be able to see the script in action on the preview, but this step ensures no adverse effects to your layout.



In the code above, you will notice that I have highlighted three sections of code in bold red. You may need to customize these sections to better suit your preferences:



On line 5, you may need to change the ".com" to reflect your domain extention if you use a custom domain.



var isFirstPage = thisUrl.substring(thisUrl.length-5,thisUrl.length)==".com/";





This default installation should work fine for anyone hosted on Blog*Spot or a dot.com domain, but you will need to alter this section if your custom domain ends in .co.uk or .info for example.



In lines 19 and 20, you can change these values to alter how many posts are displayed on each page, and how many links will be visible at the same time.



The var pageCount = 5; section defiines the number of posts displayed on each page, while var displayPageNum = 5; defines the number of links which are displayed (eg: 1 - 2 - 3 - 4 - 5) beneath the posts section.



Once you have added this JavaScript code and made any changes nescessary for your needs, save your template and open up your blog in your browser. Now you should see the pagination links appear beneath your main posts section, and also on Labels and Archive pages.