Gayan's Revolution

Saturday, October 24, 2009

Earn Money @ home !!!!!




Hey boys and girls,



I want to tell you about great site I found. They pay me to read e-mail,
visit web sites and much more.

It's free to join and easy to sign up! CLICK THIS
LINK TO VISIT:

http://mailsmoney.net/pages/index.php?refid=gayasharp

Monday, October 5, 2009

Capture a Screen Shot with Mac OS X

1. To capture the entire desktop, press Command-Shift-3. The screen shot will be automatically saved as a PNG file on your desktop.


  1. To copy the entire desktop, press Command-Control-Shift-3. The screen shot will be placed on your clipboard for you to paste into another program.

  2. To capture a portion of the desktop, pressCommand-Shift-4. A cross-hair cursor will appear and you can click and drag to select the area you wish to capture. When you release the mouse button, the screen shot will be automatically saved as a PNG file on your desktop. (The file is saved as PDF in Mac OS 10.3 and earlier.)

  3. To capture a specific application window, pressCommand-Shift-4, then press the Spacebar. The cursor will change to a camera, and you can move it around the screen. As you move the cursor over an application window, the window will be highlighted. The entire window does not need to be visible for you to capture it. When you have the cursor over a window you want to capture, just click the mouse button and the screen shot will be saved as a PNG file on your desktop. (The file is saved as PDF in Mac OS 10.3 and earlier.)

  4. Add Control to the two shortcuts above to place the screen shot on the clipboard instead of saving it to the desktop.

  5. Another method for capturing screen shots in Mac OS X is by using the bundled Apple utility, Grab, located in the Applications > Utilities folder. Grab is useful if you need to include a cursor or a menu in your screen shot, or if you want to save your screen shot to TIFF format. To include a cursor, first go to Grab Preferences and select the cursor icon you wish to have in your screen shot. To capture the screen with Grab, run Grab, then choose of the capture modes from the "Capture" menu: Selection, Window, Screen, Timed Screen.

  6. When you choose the Selection mode in Grab, you can capture a specific region of the screen by dragging around it. Grab will display a tooltip showing the size of the region you have selected and the screen shot will open in a window when you release the mouse button. The cursor will not be included.

  7. When you choose the Window mode in Grab, an instruction window will appear asking you to select the window you wish to capture, then click the "Choose Window" button. When you click the button, the instructions will disappear and the window you click ill be captured, including the mouse cursor at the position where you click (if a cursor was selected in Preferences).

  8. When you choose the Screen mode in Grab, an instruction window will appear asking you to click the screen when you are ready to capture. The mouse cursor will be included in your screen shot at the position where you click (if a cursor was selected in Preferences).

  9. When you choose the Timed Screen mode in Grab, an instruction window will appear, allowing you to prepare your screen for capture. When you are ready, press the "Start Timer" button and you will have ten seconds before the screen is captured. This allows you to open menus and sub-menus, if necessary. After ten seconds the entire screen will be captured. The mouse cursor will be included in your screen shot if a cursor was selected in Preferences.

Saturday, September 26, 2009

nabling and using the "root" user in Mac OS X

Summary

The root user in Mac OS X is disabled by default. Follow the steps in this article to enable and use it, if needed.

Important: If you are not familiar with the meaning of "root user," read this entire article to learn important precautionary information before using the root user. You must have an administrator account and password to complete the steps below.

Note: If you are using Mac OS X Server, root is already enabled by default. Advice contained in this article to disable root access when used infrequently does not apply to Mac OS X Server. It should remain enabled. For more information on related behavior, see this article.

Products Affected

Mac OS X 10.4, Mac OS X 10.3, Mac OS X 10.2, Mac OS X 10.1, Mac OS X 10.0, Mac OS X 10.5

About the root user

The user named "root" is a special user in UNIX-style operating systems that has read and write privileges to all areas of the file system. The root user should only be used for specific administration or monitoring tasks. After completing a task as the root user, you should log out of Mac OS X and log back in using a normal or administrator account. You should disable root access if you do not use it often.

The root user does not appear in Users or Accounts preferences.

Important notes

  • Only the owner of a computer or its designated administrator(s) should have an administrator account or the root password.
  • Any user with an administrator account can become the root user or reset the root password.
  • A root password should be difficult to guess, containing both numbers and letters within the first eight characters.
  • A root user has the ability to access other users' files.
  • The root user has the ability to relocate or remove required system files and to introduce new files in locations that are protected from other users.

How to enable the root user

Mac OS X 10.5 or later

  1. From the Finder's Go menu, choose Utilities.
  2. Open Directory Utility.
  3. Click the lock in the Directory Utility window.
  4. Enter an administrator account name and password, then click OK.
  5. Choose Enable Root User from the Edit menu.
  6. Enter the root password you wish to use in both the Password and Verify fields, then click OK.

Note: If you are troubleshooting an issue that prevents you from logging in as an administrator, follow the steps in this article to enable the root user.


Mac OS X 10.4.x or earlier

  1. Click the Finder icon in the Dock.
  2. From the Go menu, choose Applications.
  3. Open the Utilities folder.
  4. Open the NetInfo Manager utility.
  5. Click the lock in the NetInfo Manager window.
  6. Enter an administrator account name and password, then click OK.
  7. For Mac OS X 10.2 and later, choose Enable Root User from the Security menu.
  8. For Mac OS X 10.0 and 10.1, choose Security from the Domain menu, then Enable Root User from the submenu.
  9. If you have not previously set a root password, an alert box may appear that says "NetInfo Error," indicating that the password is blank. Click OK.
  10. Enter the root password you wish to use and click Set.
  11. Enter the password again for verification and click Verify.
  12. Click the lock again to prevent changes.

How to log in as root

Use these steps for Mac OS X 10.2 or later:

  1. If you are logged in, choose Log Out from the Apple menu.
  2. If you are logging in from a list of usernames with pictures, click Other.
  3. In the Name field, type: root
  4. In the Password field, type the password you defined in the steps above.

Mac OS X 10.0 to 10.1.5

After enabling the root user, you must log out from Mac OS X and log back in as the root user. Logging in to Mac OS X from a list of usernames is the default behavior for later versions of Mac OS X. Logging in by typing your username in a text entry field is the default behavior in earlier versions of Mac OS X. You can choose either method in Login preferences. The root user does not appear in the list, so you need the text entry option. If necessary, follow these steps to change the login method to text entry:

  1. From the Apple menu, choose System Preferences.
  2. From the View menu, choose Login.
  3. Click the Login Window tab.
  4. Select the radio button for "Name and password entry fields."

Follow these steps to log in as root:

  1. If you are logged in, choose Log Out from the Apple menu.
  2. In the Name field, type: root
  3. In the Password field, type the password you defined in the steps above.


How to disable the root user

Mac OS X 10.5 or later

  1. Click the Finder icon in the Dock.
  2. From the Go menu, choose Utilities.
  3. Open Directory Utility.
  4. Click the lock in the Directory Utility window.
  5. Enter an administrator account name and password, then click OK.
  6. Choose Disable Root User from the Edit menu.

Mac OS X 10.4.x or earlier

  1. Open NetInfo Manager. It's in the Utilities folder.
  2. Click the lock.
  3. Enter the name and password for an administrator account, then click OK.
  4. For Mac OS X 10.2 and later, choose Disable Root User from the Security menu.
  5. For Mac OS X 10.0 and 10.1, choose Security from the Domain menu, then Disable Root User from the submenu.


What is the root directory?

It helps to know that the term root is used in two distinct ways: The "root user" and the "root directory." The root directory is the highest directory level of a disk. The files and folders you see when you open (double-click) your hard disk icon are the contents of that disk's root directory. A directory is represented graphically as a folder. You may know your home directory as your "home folder." The terms "folder" and "directory" are generally interchangeable.

A user's short name is also the name of his home directory.

The Finder and the Terminal show different contents for the root directory. Some items in the root directory are made invisible when viewed in the Finder. This reduces visual clutter and enhances simplicity. Users familiar with UNIX-style command line may use the Terminal utility to view everything in a directory.


Tuesday, September 8, 2009

Installing Wine on Mac OS X

Part 1: Install MacPorts

MacPorts is a package manager that makes installing open source programs much easier. In particular, trying to install a large program like Wine without the help of a package manager would be tremendously difficult. Fortunately, MacPorts itself is simple to install.

  1. On the MacPorts website, go to the Download and Installation page and download the appropriate "dmg" disk image for your computer.
  2. Double-click the file you downloaded, and double-click the .pkg file to run the installer. You're almost done!
  3. Open up the Terminal and copy and paste the following into it. Remember not to include the dollar sign ($) at the beginning.copy all as a one line..

$ echo export PATH=/opt/local/bin:/opt/local/sbin:\$PATH$'\n'export MANPATH=/opt/local/man:
\$MANPATH | sudo tee -a /etc/profile

The Terminal will ask for your password: this is the password to the
Admin account on your computer. As a security measure, the Terminal
does not display anything as you type, not even asterisks (*). Type your password anyway, and press enter. If you ran the command correctly, the Terminal should respond with:

export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export MANPATH=/opt/local/man:$MANPATH

If you didn't get that response, it might be because the Admin account doesn't have a password set. Setting a password is required.
4. Close the Terminal. MacPorts has been installed!

Part 2: Install Wine Using MacPorts

Let's start using MacPorts right away! To tell MacPorts that you want it to install Wine for you, all you have to do is open up the Terminal again and enter this command (without the $):

$ sudo port install wine

You may be asked for your Admin account password again. The Terminal will start displaying lots of information. This is absolutely normal — MacPorts is just keeping you updated on what it's doing. This flow of information will be your guide to let you know whether or not the computer is still working. It will take a while for the install to finish: at least half an hour. As long as the Terminal keeps on giving you more information about what it's doing, don't interrupt it. Feel free to leave and do something else while the computer is installing Wine. When the Terminal stops giving you more information and is ready for another command, Wine is installed and ready to go!

Note: If you get an error message at this step that reads error: C compiler cannot create executables, it usually means you forgot to install Xcode. See the requirements.


Part 3: Install Windows Programs Using Wine

To install a Windows program, first download the installer file: it should end with .exe. Remember the location you put it, and open up the Terminal again. cd to the location, and use ls to make sure you can see the installer file. Once you are in the correct directory, run the installer through Wine by running the following command in the Terminal:

$ wine $INSTALLER.exe

Where $INSTALLER is the name of the installer file. For example, if the installer file is named setup.exe, you would run:

$ wine setup.exe

X11 will open (if it isn't already), and soon you will see a regular graphical Windows installer. Click through it, and you're done!

Part 4: Run Windows Programs Using Wine

Open up the Terminal and run this to get to your Program Files folder:

$ cd ~/.wine/drive_c/Program\ Files/

Run ls to see what programs you have installed. Pick a program, and enter its directory using cd. (If the folder has a space in it, you must type a \ before the space. For example, Program\ Files. If you're having problems, try using tab autocomplete.) There should be a file that ends in .exe: this is the program file. Type this into Terminal:

$ wine $PROGRAM.exe

Where $PROGRAM is the name of the .exe file. X11 will open (if it isn't already), and the program will pop up, ready to use! It will probably open fullscreen: to reduce it in size, go open the Window menu from the Mac OS X menu bar, and select Zoom Window. You can then resize the program normally. Enjoy using Windows on your Mac, freely and legally!

Keeping Wine Up to Date

Wine is an open source program. That means that programmers around the world are continually improving it, adding new features and squashing bugs. If you don't update Wine, though, it will never get those improvements, so it's generally a good idea to check for updates every so often. We can use MacPorts to keep Wine up to date: it's easy! Just run this command:

$ sudo port selfupdate && sudo port upgrade outdated

Once again, you will need to enter your Admin account password. With this command, MacPorts will first update itself, if any updates are available. It will then find all the outdated software it knows about (including Wine) and upgrade them all to the latest version. Checking for updates isn't strictly necessary, as Wine runs quite well currently. However, it's a good idea to run this command every few months or so.

Uninstalling Wine and MacPorts

If you try Wine and you don't like it, uninstalling it is easy. Just run this command:

$ sudo port uninstall wine

And MacPorts will helpfully remove Wine from your computer. However, in order to install Wine, MacPorts also had to install many other small programs that Wine relies upon to work correctly. (That's why the install process takes so long!) If you want to remove these as well, it's simplest to just delete your entire MacPorts installation with the following command:

$ sudo rm -rf /opt

That command should remove everything that you installed in this tutorial, including MacPorts, Wine, and all the other programs MacPorts installed to get Wine to work correctly.

So why would you ever use the first of those two commands, rather than the second? Well, MacPorts can install a lot more than just Wine. There are a whole bunch of nifty programs you can easily install using MacPorts, such as GraphViz (a very swanky graphing tool), Battle for Wesnoth (a turn-based strategy game), and GIMP (an image editor, like Adobe Photoshop). And just like Wine, every program available on MacPorts is free and open source. Even if you decide Wine isn't for you, MacPorts might have something else you might like. Take a look!





Monday, July 20, 2009

free gprs in sri lanka , why pay for mobile broad band when you can have it for free!!!

By Gayan Ranasinghe

This trick works with mobitel network in sri lanka.And i must say that this is not 100% perfect broadband.This procedure is a little annoying and not totally comfortable BUT its FREE gprs after all!

This trick may be useful for you mainly when using gprs on your phone.you can use this TRICK to download small files less than 800kb or so.(generally,mobitel charges 1cent per kb,so technically you get 8 rupees of gprs for FREE! per session)

Its really simple.Do you have a mobitel connection in your mobile?

theres one condition for our little trick to work

***you must have less than 1.50rs & more than 1.00rs credit to be able to perform this TRICK & basic knowledge of gprs usage***

now open your opera mini browser (if you don't have opera mini installed in your mobile,you can download for free @ www.operamini.com)and browse pages as usual.you will only be able to browse for about 30seconds and you will be able to download upto 800-900kb of data in that time(if you have 3g in your phone,depends on your device).then you have to disconnect your current connection using connection manager(in Nokia phones) or the relevant utility depending on the phone.then you can restart browsing.

Nokia N95

Opera Mini support

Based on testing performed by Opera Software, this device supports Opera Mini 4.

Install via mobile download

  1. Point your phone's WAP browser to http://mini.opera.com/ and click on Download Opera Mini.
  2. Answer 'Yes' to all installation messages and enjoy browsing the full Web, right on your mobile phone!

Problems connecting? Make sure your phone is correctly set up for Internet access.

Install via PC download

  1. Select preferred language for Opera Mini:
  2. Transfer these files to your phone, and install them according to your phone's installation procedure:
    opera-mini-advanced.jad
    opera-mini-advanced.jar

Sunday, July 19, 2009

How can I open an EXE file on a Mac?

I use a Macintosh. It says


    The document "NAV80TRY.EXE" could not be opened, because the application program that created it could not be found.

You can convert exe file to mac .app file through some tools like macpack or also use bootcamp software on Mac for running exe file, it is better and faster than using Virtual PC. Right now it is on R & D stage.link for macpack

Tuesday, July 14, 2009

How to Change Mac IP Address

    Check the IP Address

  1. Step 1

    Launch the Apple Menu. Select "System Preferences." Then click "Network Control

    Things You'll Need:

    • Apple Mac computer
    • Internet connection

    Panels" and click "TCP/IP."

  2. Step 2

    Check the IP address in the list of connections. Your Mac has an IP address, and some of your electronic devices may also have their own IP addresses.

  3. Step 3

    Visit a website such as What Is My IP for a utility that reads your Mac IP address (see Resources below). It will automatically detect your IP address and provide it for you.

  4. Change an IP Address Automatically

  5. Step 1

    Obtain a new IP address from your Internet Service Provider or Network Administrator. This step might not be necessary, as most broadband connections use dynamic IP addresses. This means that every time your Mac connects to the Internet, it will be assigned a new IP address. You might not need to do anything in order to change the address.

  6. Step 2

    Get the new IP address from your ISP, because if two computers have the same address, neither one of them will be able to connect to the Internet.

  7. Step 3

    Realize each computer connecting to the Internet must have its own unique IP address. Have your ISP assign one that nobody else is using or you will waste time trying to guess the right number.

  8. Change Your Mac IP Address Manually

  9. Step 1

    Select the network configuration that has the green dot next to it, from the "TCP/IP" screen you opened before. This is your active connection and will probably be the "Built-In-Ethernet" option in the drop-down box. Then click the "Configure" button at the bottom of the dialog box.

  10. Step 2

    Click the "Configure IPV4" drop down menu next and choose "Manually."

  11. Step 3

    Type in your new IP address in the box under the TCP/IP menu. Simply delete the number that is in there and enter your new one.

  12. Step 4

    Click "Save." Your address has now been changed.

BlogCatalog

Technology Blogs - BlogCatalog Blog Directory