macbookAfter searching through the net if this was possible, I never had any luck getting the solution. A friend of mine who is used to using mac related stuffs taught me how to have your iTouch use your Macbook’s DSL. I thought that you need a WIFI connection for your iTouch to be connected. Then again, his tip did the trick. Do the following.

Open System Preferences

  • Go to Sharing
  • Select Internet Sharing but do not check the checkbox just yet.
  • On the right side of the panel, there should be a label called “Share your connection from:”. That is your DSL. Set the values below “To computers using:” Airport and Ethernet. Make sure both of those are checked. If, say, Ethernet is not checked, then your Macbook will not have any internet connection.
  • Then select the start button to start your internet sharing.

Either you do this

or this, if you do not need a new Vector object created

Getting all emails is pretty easy to code if you know how to use regular expressions. Regular expressions ease and lessen your code to a minimum but at the same time giving out the same result as you would writing long code without using them. In Java, I use a regular expression to find all emails within a given string. The method returns a Vector object.

Related Posts Plugin for WordPress, Blogger...