Nov 28, 2011

5 S Before and After

BEFORE





AFTER









Nov 21, 2011

Grub loading no such partition after delete linux partition

Grub loading no such partition after delete linux partition

How to restore the Ubuntu/XP/Vista/7 bootloader (Updated for Ubuntu 11.10)



This How-to is for windows dual booters who reinstall an operating system only to find that it has taken away access to their other operating system.

Whether you want to restore the XP, Vista, 7 or Ubuntu (Grub) bootloader, this guide will walk you through it.



All three parts of this tutorial require that you boot from a cd. If you don't know how to do this, check here.



If you have made a mistake and want to revert the changes, simply follow the instructions for reinstalling the previous bootloader. For example, if you have installed vista over ubuntu, try to get the ubuntu bootloader back, but want to get the vista bootloader back, simply follow my instructions for installing the vista bootloader.






How to restore the Ubuntu grub bootloader (9.10 and beyond)



First you need to find out what your drives are called. You can do this by going to a terminal and typing:

Code:

sudo fdisk -l

From that you need to find the device name of your Ubuntu drive, something like “/dev/sda5″.

So, still in the terminal, type:



Code:

sudo mkdir /media/sda5
sudo mount /dev/sda5 /media/sda5

And then, to reinstall the grub:

Code:

sudo grub-install --root-directory=/media/sda5 /dev/sda

Push enter and you’re done! Of course you need to replace “/dev/sda5″ and “/dev/sda” with what you found in the fdisk output.




How to restore the Ubuntu grub bootloader (9.04 and older)



First of all, all credit for this part of the tutorial goes to catlet. I am simply rewriting his tutorial to have all three bootloaders in this tutorial.



So, lets begin. To restore the grub, you must boot off the ubuntu live cd. Any ubuntu live cd will do.



Once there, open a terminal (Applications>Accessories>Terminal) and type this:





Code:

sudo grub

Next, you need to find which hard drive ubuntu and the grub is installed to. You do this by running this command:




Code:

find /boot/grub/stage1

Take note of what it returns (something like (hd0,1).)




Now you need to tell Grub where it is installed. Using the output of the last command, change this one and run it:




Code:

root (hd<a>,<b>)

Replacing <a> and <b> with what you got back before. For example, if "find /boot/grub/stage1" gave me "(hd0,1)", you would run "root (hd0,1)"




Ok, so thats the configuration over and done with. Now we just need to run one command to install the Grub to your hard drive:




Code:

setup (hd0)

Now to quit and check if it has worked:




Code:


quit


Code:

sudo reboot

Make sure you have taken the live cd out of your disc tray. All going well, you should start back up and see the grub once again.





How to restore the Windows XP bootloader




For this you will need your Windows XP installation CD. Boot into it now.



You will get to a part where it asks if you want to repair or recover. To do so, press "r".



If prompted, enter your Windows XP administrator password. This will leave you at at a command line, so type in the following two commands:




Code:

fixboot



Code:

fixmbr

Then type

Code:

exit

then remove your XP cd. If everything has gone well, you should come to your XP bootloader.






How to restore the Windows Vista or 7 bootloader



To restore the Windows Vista/7 bootloader, you must first boot off your Windows Vista/7 installation DVD.

If you have one of the many OEM computers that didnt come with a Vista/7 installation disk, you can get the same effect with a Vista recovery disk, which you can download for Vista or Win 7.

When you get to the Regional settings, select your Location/Keyboard setting then click next. On the next page you must click on "Repair your computer."




On the next page, if it finds your Windows Vista/7 installation, make sure it is UNSELECTED before clicking next.

Then click on "Command prompt". From there, type in the folowing:




Code:

bootrec.exe /fixboot


Code:

bootrec.exe /fixmbr


Now close the two windows and click "Restart."



Take out your Vista/7 DVD and hopefully, you will be left with your Windows Vista/7 Bootloader.

Nov 19, 2011

Wordpress full text in category



I'm trying to get full text on my category, need to change and to do this
'the_excerpt()' to 'the_content()'

look for archive.php or index.php.

Nov 18, 2011

Install VMWare Player in Ubuntu 9




VMware Player allows you to run entire operating systems in a virtual machine, which runs on top of Ubuntu or Windows. To the guest operating system (the one running inside the virtual machine), it appears as though it were running on its own PC. The host operating system runs the VMware Player, which provides the guest with things like network access. VMware Player is available from Ubuntu's Multiverse repository (in 6.06 LTS through 7.04), but is not included in Ubuntu 8.04/8.10. It can be downloaded for free from VMware.

Virtual machines configured with an operating system and applications ready to perform a specific function are called virtual appliances. An appliance can be created using certain VMware products, or you can download ready-made appliances. A wide variety of appliances (both certified and not) are available from VMware's Appliance Marketplace: http://www.vmware.com/vmtn/appliances/ source

root@zuraidin-laptop:~# gksudo bash /Downloads/VM_ware_linux.bundle

Nov 8, 2011

Install and run WordPress on Windows using XAMPP



Sep 30, 2011

Modify grub loader

Modify grub loader Ubuntu

I have a dual boot pc (linux and windows 2000). By default on start up it selects linux and boots it, unless I physically change it into
windows during the specified time interval (8 seconds i guess). I want
to make windows the default os to be booted. how to achieve this
without reinstalling linux.


Solution

All that's needed is for you to modify the grub.conf file. On my system , the file is in /boot/grub/grub.conf. You will have to be su to change it, and you should make a backup of the file just in case. Note that there's a "default= " line high up in the file. In my case, it's default=0 which means that the first listing in the "title" lines that follow (since the count begins from zero) is the one that will be booted as the default, and in my case that's the Fedora kernel.

If I wanted to boot into Windows, I would change the default to a number that corresponds to the position in the list of the entry shown as Other (counting from zero). If you have only two "title" entries, one for Linux and one for Windows, just change the default to default=1, save the file, and you should automatically boot into Windows after you restart. HTH,

Another way around I just cut the loader for windows from the bottom list to the first list in the grub.cfg. Save it and restart, the grub loader now is set to Windows as default OS loader. Remember, when you are not able to save the grub.cfg, it is possible you dont have permission. You need to login as root , change the permission to read and write, modify the file save it and reboot.

*I'm using Ubuntu Distro, I guess most of the Linux command regardless the Distro there is no big differences.

Enable and Disable Ubuntu Root Password

Enable and Disable Ubuntu Root Password

Ubuntu is one of the few Linux distributions out there that will not enable the root account.If you want to do something with root permission on the console you have to type sudo before the command.


sudo” means superuser do. “sudo” will prompt for “Password:”. Please specify user password

As you have noticed during the Ubuntu installation there was no question about the root password, as you might have been used to see during other Linux distribution installation process.Because of this your root accout is inactive.

If you want to enable root account (which is not recommended) enter the following command.

$sudo passwd root

This will prompt for a new root password and once you confirm it, you can start using the root account to login.

If you want to disable root account in ubuntu you need to lock the root account by using the following command

$sudo passwd -l root

If you want to work on a root console you’d better use the following command

$sudo -i

Jul 13, 2011

Remove esnips Toolbar and Search Engine

Esnips is one of the popular file sharing services available on the web. In order to download files from esnips, you need to download the ‘esnips downloader‘ software. This software by default changes the default search engine in all your web browsers (Firefox, Chrome etc.,) which is annoying and it slows down your system performance.


In order to completely remove the esnips software and toolbar, you can un-install the esnips download software from your system control panel. And, in un-install the ‘esnips downloader extension‘ if you are using Mozilla Firefox.


firefox-extension-esnips-downloader



In order to remove the esnips search engine from your web browser, if you are using Mozilla Firefox, in the browser address bar -> type about:config and search for esnips.


esnips-firefox


And them, right click on alluser set‘ under the ’status’ column and click on reset (as in the following image).



reset-config-values-firefox


Once you change the above values to default, the default search engine will be restored in your browser. To sum up, if you feel that the esnips toolbar and search engine are annoying then, uninstall the enips downloader software from your control, uninstall the esnips toolbar from your web browser and restore the enips search engine in your web browser to default.

Jun 20, 2011

Mozilla Thunderbird POP and SMTP configuration for Netfirms domain

Note: POP and SMTP services are only available on our premium hosting plans such as Plus, Advantage and Business.



To use Mozilla Thunderbird 3.0 to check email using POP, please refer to the following:







  1. Open Mozilla Thunderbird 3.0.






    1. Click Tools


    2. Click Account Settings….




  2. Click Account Actions and select Add Mail Account….




  3. Mail Account Setup.





    1. Your Name: Your Name.


    2. Email Address: Your Email Address.


    3. Password: Your Email Password.


    4. Remember password: Select if you want Thunderbird to remember your password.



    5. Click Continue.




  4. Edit Server Configuration.



      Note: Thunderbird will begin to try and find the server settings automatically. Press the Stop button.

    1. Username: Your full email address.



    2. Incoming: pop.example.com



      1. Select POP from the pull-down menu.


      2. Enter 110 as the port.


      3. Select None from the second pull-down menu.





    3. Outgoing: smtp.example.com



      1. Select SMTP from the pull-down menu.


      2. Enter 587 as the port.


      3. Select None from the second pull-down menu.





    4. Click Create Account.


    5. Note: If Mozilla Thunderbird generates a warning regarding pop.example.com and/or smtp.example.com not using encryption, please check the I understand the risks box and click Create Account.





  5. POP Server Settings.





    1. Enable Leave messages on server if you will be checking your mail from multiple locations.


    2. Click Outgoing Server (SMTP) from the settings menu.





  6. Click Edit.



  7. Confirm SMTP server settings.





    1. Description: Your email address


    2. Server Name: smtp.example.com


    3. Port: 587



    4. Enable Use name and password.


    5. User Name: Your email address


    6. Click OK to exit the SMTP Server settings window.


    7. Click OK to exit the Account Settings window.






Note: Should you encounter problems with sending email out using Netfirms SMTP, you may be required to use your ISP’s SMTP server.





To use Mozilla Thunderbird 3.0 to check email using IMAP, please refer to the following:



Note: IMAP is only supported on our Advantage, Business and Enterprise plans.










  1. Open Mozilla Thunderbird 3.0.





    1. Click Tools


    2. Click Account Settings….




  2. Click Account Actions and select Add Mail Account….




  3. Mail Account Setup.





    1. Your Name: Your Name.


    2. Email Address: Your Email Address.


    3. Password: Your Email Password.



    4. Remember password: Select if you want Thunderbird to remember your password.


    5. Click Continue.




  4. Edit Server Configuration.



      Note: Thunderbird will begin to try and find the server settings automatically. Press the Stop button.


    1. Username: Your full email address.


    2. Incoming: pop.domain.com



      1. Select IMAP from the pull-down menu.


      2. Enter 143 as the port.



      3. Select None from the second pull-down menu.




    3. Outgoing: smtp.domain.com



      1. Select SMTP from the pull-down menu.


      2. Enter 587 as the port.



      3. Select None from the second pull-down menu.




    4. Click Create Account.


    5. Note: If Mozilla Thunderbird generates a warning regarding pop.example.com and/or smtp.example.com not using encryption, please check the I understand the risks box and click Create Account.





  5. IMAP Server Settings.





    1. Click Outgoing Server (SMTP) from the settings menu.




  6. Click Edit.




  7. Confirm SMTP server settings.





    1. Description: Your email address


    2. Server Name: smtp.example.com


    3. Port: 587


    4. Enable Use name and password.



    5. User Name: Your email address


    6. Click OK to exit the SMTP Server settings window.


    7. Click OK to exit the Account Settings window.


Note: Should you encounter problems with sending email out using Netfirms SMTP, you may be required to use your ISP’s SMTP server.




How do you combine .001, .002, .003 Files?



Files with sequentially numbered extensions like that have been split. To restore them to the original file, use a splitter/joiner program. There are too many such programs to list, but when I put "freeware splitter" into Google, the one at the top was HJSplit. I'm sure it will work for you, and has the added bonus of having versions available for many different operating systems.
If you don't like that one, Google has 439,000 other links to freeware splitters, and ANY splitter should be able to do the job.

Or since they are just binary splits of the same file you can just run the DOS copy command as I do


copy /b "Lawak121.zip.001"+"Lawak122.zip.002"+"Lawak123.zip.003" "lawak12.zip"


Eventhough it i a basic dos command, most of us rely on aps rather than text command.



Jun 13, 2011

10 Tempat Yang Sangat Terasing Di Dunia







DRY VALLEYS- ANTARTIKA









Lembah Kering di Antartika ini memiliki rupa bumi dengan batu kerikil, dan dikatakan bahawa pemandangan yang anda dapat saksikan di tempat ini seperti pemandangan di Marikh. Pemandangan yang luar biasa ini akan anda temui di Antartika, dan tidak terdapat salji sama sekali disini , sekaligus merupakan satu-satunya tempat tanpa ais di Antartika. Di dasar lembah ini terdapat tasik ais yang tebalnya mencapai beberapa meter. Dan dibawah tasik ais ini, terdapat air yang sangat masin, dan yang lebih mengejutkan lagi adalah di dalam air tersebut ada makhluk yang hidup!












SOCOTRA ISLAND - LAUTAN INDIA







Jika anda berkesempatan mengunjungi pulau ini, Anda boleh dengan mudah untuk berbohong bahawa anda baru sahaja diculik Alien, pemandangan Pulau Socotra yang terasing dari benua terdekat, benua Afrika selama 6 atau 7 Juta tahun ini, sangat unik. Di pulau ini terdapat 700 spesies flora dan fauna paling jarang dijumpai di dunia.

Iklim dipulau ini sangat panas, dan kering. Pantai di pulau ini banyak terdapat gua, bahkan salah satu gua mencapai panjang 7 km, dan gunung di pulau ini mencapai tinggi 1525 meter,dan pokok usianya mencapai 20 juta tahun.






RIO TINTO - SEPANYOL








Lombong terbuka Rio Tinto ini menampilkan pemandangan yang luar biasa indah dan aneh, sehingga pemandangan yang mirip dengan bulan. Air merah di sungai Rio Tinto ini sangat berasid dan tinggi kandungan logam beratnya.







KLIKUK THE SPOTTED LAKE - CANADA







Pada saat musim panas, air tasik ini, menyejat dan meninggalkan garam yang ada mengkristal, dan membentuk berbagai kolam kecil dengan berbagai warna, yang umumnya berwarna biru dan hijau. Kandungan mineral yang ada dalam air dan lumpur sangat membantu merawat sakit, sehingga suku Indian setempat sering menggunakan tempat ini sebagai tempat untuk membuat rawatan






SALAR DE UYUNI - BOLIVIA







Adalah tempat yang mungkin paling indah (sekaligus aneh) di dunia. Daerah dengan padang garam terbesar di dunia, termasuk juga gunung berapi yang aktif, dan dataran gleiser, dengan berbagai kejadian fatamorgana unik yang membuat anda merasa tinggal di planet lain.






VALE DA LUA - BRAZIL







Terjemahan dari nama tempat ini adalah Lembah Bulan, yang merupakan lembah batu yang dihakis air, dan meninggalkan banyak ‘kolam renang semulajadi’. Batuan yang ada di lembah ini adalah batuan yang tertua di dunia, yang terbentuk dari quartz berupa kristal.






BLOOD POND HOT SPRING - JAPAN







Kolam Mata Air Panas Darah, adalah salah satu ‘neraka’ di Beppu, Jepun. Sembilan mata air panas semulajadi yang muncul ditempat ini sangat indah, tapi mungkin tidak untuk mandi. ‘Neraka kolam darah’ ini memiliki air dengan warna merah akibat kandungan logam di dalamnya.








THE STONE FOREST - CHINA







Hutan Batu yang dalam bahasa aslinya dikenali Shilin, adalah batuan semulajadi yang dibentuk dari air yang terus menerus menerpa permukaan dan menghakis bebatuan yang ada dan meninggalkan bentuk berupa tiang-tiang. Tempat ini dikenali semenjak dinasti Ming dan dianggap sebagai ‘Keajaiban Dunia Pertama’






THE RITCHAT STRUCTURE - MAURITANIA







Permukaan tanah yang luar biasa ini berada di bahagian Barat Daya gurun Sahara, dan disebut sebagai Richat Structure, dan begitu besar (diameternya mencapai 50km) sehingga dapat dilihat dari luar angkasa. Bentuk lingkaran yang ada juga masih belum dapat dijelaskan oleh para saintis





Eisriesenwelt Ice Caves – Austria










Gua ais ini berbeza dengan gua biasa yang ada. Apabila anda masuk, pancaran cahaya yang ada akan membuatkan anda berasa tidak berada di bumi ini, tetapi sedang menjelajah ke planet lain. Gua Eisriesenwelt ini adalah gua terbesar yang ada dan dapat mencapai panjang sehingga 40km.


Sumber: 10 Tempat Yang Sangat Terasing | Paradigma MUKMIN

Jun 8, 2011

Brochure Myvi 2011 2012













May 28, 2011

Galaxy Ace Tip: How to transfer the contacts information from SIM card



If you are using the same carrier’s SIM card as the new phone carrier, it is very easy to transfer the contacts information to your new Samsung Galaxy Ace, just take the following steps.


Instructions:



  • Step 1: From the homescreen tap Applications

  • Step 2: Tap Contacts

  • Step 3: Press the Menu key


  • Step 4: Tap Import/Export

  • Step 5: Select import from SIM

  • Step 6: Press the Menu key

  • Step 7: Tap Import all



If your Samsung Galaxy Ace carrier is different from your former carrier, as it is an android smartphone, you need to export your contacts as .cvs file to your computer, then import it to your gmail and then sync it to your Samsung S5830.


|SOURCE|



There are two ways to add a photo to a contact icon:

  • go to the gallery, open the photo, press the capacitive menu button (the one on the left), select more and in the more menu select 'set as' and then select contact icon and select contact which you want to assign it to, or
  • You can just go to the Contacts menu, open the contact and then press the capacitive menu button, and select edit contact, then in the edit screen, you will see a little plus sign on the silhouette photo, press that and then select if you wanna add the photo from the album or take a photo

May 8, 2011

Common SEO Mistakes That You Should Avoid

Over the past few months, we see that there are hundreds and thousands of new bloggers evolving on the blogosphere. However, over a prolonged period, only few sustain. Why does this happen? Where do people go wrong? One simple reason could be an improper Search Engine Optimization. Rather than aiding SEO, people with or without their knowledge make the situation worse. I have enlisted few commonly made SEO mistakes that one should avoid.



CHOOSING UNRELATED URL OR TITLE

This is the most commonly made mistake by many newbies. They buy a domain name or choose one from the available blogspot domains keeping in mind to right some content say about "Making Money Online", "About Blogging" or some other stuff. But over a period of time, as they run out of content/topics, they tend to change their track and write a content which is completely not related to their title/URL. This happened to one of my fellow blogger and do you know the final result??? His blog was blacklisted on Google!!!



NEGLECTING ON-SITE SEO

There is a lot of buzz when it comes to ON-SITE SEO and OFF-SITE SEO. The basic reason being the difficulty in understanding the two SEO's. Later, comes the problem of optimization. Though I myself have a lot of difficulties in finding the difference between the two, I would suggest you to have the following for your blog - proper TITLE TAGS for your post (CLICK HERE TO OPTIMIZE), INDIVIDUAL META TAGS For Your Post (CLICK HERE TO ADD THEM) apart from the REGULAR META TAGS (CLICK HERE TO ADD THEM), proper links within your site - INTERNAL LINKS, ensuring that images have PROPER ALT TAGS and so on. Note: I don't stress too much on META KEYWORDS tag because, I never experienced any improvement having placed that tag on my blog.



FAILING TO RESEARCH YOUR KEYWORDS


One common fault which I encountered personally from my experience and through repeated search for SEO mistakes was to identify the potential keywords for your blog. I know it becomes a hectic process to identify the exact keywords for your blog. You might consider an SEO expert to do the job for you. If you are a blogspot user like me, the forget this point because we can't do much about it.



However, a person planning to host his/her website should consider doing a keyword research before building his/her website to know, what exactly people are searching for. With the automatic suggestions enabled on Google Toolbar or the search box, it has become a little easy to know what people usually search for in their niche. So, I would suggest you to optimize your site for those suggested keywords on Google.



FAILING TO CREATE A SITEMAP

Sitemaps are the most essential structures when comes to SEO. Every blog should posses a structured sitemap so that the search engine robots can easily distinguish those pages which are already indexed and those which need to be indexed. I will soon publish an article for creating a structured sitemap for blogspot users. However, you need to create a sitemap using Google Webmaster Tools. I assume that many would have done this essential step. If not, do it now!!!



I know many people who indexed their pages would have used "atom.xml" when they created a sitemap for their blog. Doing so will index only a maximum of 25 URLs. Use the text "atom.xml?redirect=false&start-index=1&max-results=100" to get 100 posts indexed on your blog. You can vary the number as you want. I don't know how well it works. But, I use both for my blog. You can have a look at the screen shot above to understand this better.

cara ni ok, kalau sapa2 guna blogspot, kalau wordpress banyak plugin yg boleh leverage rss feed ni






Though there are a number of mistakes which we bloggers make, I enlisted only very few of them. However, I will be posting more about this topic in the upcoming weeks. If you know more about this stuff and you wish to share with us, you can consider writing a guest post on our blog , or just leave a comment below. We would love to hear from you!!!





Source from : http://www.bloggerative.com

Apr 10, 2011

Cara utk membezakan telur betul atau palsu








Apr 9, 2011

VIDEO MAHARAJA LAWAK MINGGU KE 2



VIDEO MAHARAJA LAWAK MINGGU KE DUA.

Haa..Tudiaa Yaww!!!Ada sesiapa yang termiss tengok Maharaja lawak tadi tak?.Bagi yang terlepas tu boleh tengok pada video Youtube dibawah,Pada yang dh tengok repeat balik..hakhakhak.Untuk makluman semua pada minggu ke 2 ni masih lagi tiada penyingkiran peserta


USOP WILCHA


Maharaja Lawak -Jozan minggu kedua




JIHAN
ALEX
R2
AMIR



MAN

JAMBU
SEPAH


NABIL

Mar 28, 2011

How to Split Large Packet Capture Files on the Linux Operating System

Summary

This article describes how to split large packet capture files on the Linux operating system.

On occasion, you obtain packet captures that are too large for Wireshark to manage and you receive the following error message:

"Out Of Memory!

Sorry, but Wireshark has to terminate now!"

ap-util3.JPG

Option 1

An option to reduce the size of this file is to use a Perl script that is available for download from http://www.badpenguin.co.uk/files/pcap-util. This script can be used to extract packets from a specified time period (using the timestamp in the packet header) out of a huge dump file and copy them into a new file that should be much smaller and much easier and faster to analyze.

Alternatively you can use it to split the huge file into several smaller files of x MB each.

Option 2

It is also possible to use the libpcap filter language to extract packets from the source file as shown below:

pcap-util filter nstrace2.pcap before-trace.pcap "host 10.10.10.10 and port 22"

This utility makes use of Net::Pcap module, which you can get from CPAN, or if you are on a Debian distribution such as Ubuntu, you can just "apt-get install libnet-pcap-perl".

A Fedora based system with yum can use “yum install perl-Net-Pcap.i386”.

ap-util.JPG

In this example, the file nstrace2.pcap is split into files with the prefix before_trace and the size of 500MB.

ap-util2.JPG

The command to do this is:

# /home/etargonski/pcap-util.pl split nstrace2.pcap before_trace 500

This results in the following :




-rw-r--r-- 1 root root 497M 2008-11-07 12:52 before_trace.0.tcpdump


-rw-r--r-- 1 root root 497M 2008-11-07 12:53 before_trace.1.tcpdump

-rw-r--r-- 1 root root 497M 2008-11-07 12:54 before_trace.2.tcpdump

-rw-r--r-- 1 root root 497M 2008-11-07 12:54 before_trace.3.tcpdump

-rw-r--r-- 1 root root 277M 2008-11-07 12:54 before_trace.4.tcpdump





Now you will be able to open these files with no errors related to file size. The described script is also able to filter packets out from a specific time period and can filter packets using the libpcap filter language as stated:

Extract packets from time period

--------------------------------

/home/etargonski/pcap-util.pl time <infile> <outfile> <Start time> <End time>




Extract packets using libpcap filter language

---------------------------------------------

/home/etargonski/pcap-util.pl filter <infile> <outfile> "libpcap filter string"

More Information

Download for script http://www.badpenguin.co.uk/files/pcap-util




Source: citrix.com

or simply

You can use tcpdump itself with the -C, -r and -w options

tcpdump -r old_file -w new_files -C 10
Related Posts with Thumbnails