Saturday, 8 September 2012

How to upgrade MacBook Air to Mac OSX Lion




A few things to keep in mind.
1.  Reinstalling Lion will not reinstall iLife. You will have to redownload iMovie, iPhoto, and Garage band from the App store.


Fist method: installing Lion from the net
1.  Turn on your computer, holding the option key+power key.
2. Let go of the power key while maintaining hold on the option key.
3. Use your cursor to select your network under "choose your network"
4. Select recovery hd
5. Select reinstall Mac osx
6. Wait for the download and installation process. This should take about 45min to 9 hours. This time variation really depends on your network speed.

Second method: installing from an Apple Lion USB drive or a Self made InstallESD.dmg USB drive
1.  Turn on your computer, holding the option key+power key.
2. Let go of the power key while maintaining hold on the option key.
3.  Select the Lion recovery USB or your self made InstallESD.dmg USB disk which should appear on your right most option.
4. Select reinstall Mac osx
5 wait for about 30mins to 1 hour.

MacBook Mac OSX startup commands


During boot if you press:
C You start from a bootable CD such as your install DVD in the drive.
D Perform an Apple Hard ware test if you have your install DVD in the drive.
N Boot from a network compatible server. Only useful if you have the server.

T Start up in Target Disk mode. You can usually connect to another Mac through Firewire and do lots of funky things. Gone out of fashion and not used as much.
Option Start up using the Start Up Manager. Here you can pick which drive you want to boot from. Known to people who use BootCamp. You can also boot from a CD which is the same as press C.
Option then N Similar to the item above, except you get given the choice of booting from a network disk.
Option + N Boot from the first network boot image.
Command + V Boot up in Verbose mode, where you see lots of text whizzing by which is not a lot of use to you. I have written about this command here. It will also show Verbose output on shut down.
Command + S Single User Mode. This is where you can run a lot of high level tasks as a single user. Probably not for newbies. You could probably break your computer very quickly in Single User mode. More about it here.
Shift Start up in safe mode. Very useful if you have a problem and need an environment where you don’t want unnecessary things loaded. A good bet if you get Kernel panics during boot.
Option + Command + P + R Reset NVRAM. Although you will probably never need to reset this RAM it contents some useful stuff that can become corrupted. If you are having really bad problems this may be a good lead to follow. More information on Apple’s website.
Hold Eject or F12 or Mouse Eject anything that is in the disk drive. One to follow on from yesterdays topic.
I think that is just about it. I couldn’t find any more that worked with Mac OS X. If you have any more please leave a comment below. Its useful to have a list in case you ever need to use them.

How to Record Internal System Audio on Mac OSX



Have you ever not found a song you wanted on iTunes? Annoying, right? For me, I typically find my music on SadSteve or YouTube (yes — YouTube). A while ago, MacHeist hosted a mission which included some handy applications, such as WireTap Pro. At first, I had no reason to use this application, then I discovered its amazing capabilities for recording line-in audio (e.g. YouTube music videos). Unfortunately, Ambrosia Software feels that it’s necessary to make WireTap Pro ridiculously expensive ($69). I believe it’s important to make money as a software developer, but that’s just insane. Due to the fact, many of you reading this tutorial either did not win the mission on MacHeist (two years ago) or you don’t want to spend $69 on WireTap Pro, I’m going to show you how to record (streaming) audio for free, with Audacity.
  1. Download AudacitySoundflower (special audio plugin, free), and LAME MP3 Encoder (exports MP3).
  2. Open up Soundflower in /Applications/Soundflower/Soundflowerbed.
  3. Click the Soundflower icon in the menubar.
  4. Make sure under Soundflower (2ch) “Built-in Output” is selected.
  5. Open up the Sound preference pane in System Preferences.
  6. In both the Output and Input sections, select Soundflower (2ch).
  7. Open up Audacity, and go to Preferences.
  8. In the Devices section, set Soundflower (2ch) as the Recording Device and 2 (Stereo) as the Recording Channels.
  9. Leave “Built-in Output” as the Playback device.
  10. In Audacity Preferences, go to the Libraries section.
  11. Click the Locate button next to MP3 Library.
  12. The location should be “/usr/local/lib/audacity/libmp3lame.dylib”. Click Browse, then click Open to load it.
  13. Click OK. You may need to quit and re-open Audacity for the MP3 library to work.
  14. Finally, the moment you’ve been waiting for…
  15. Go to YouTube and type in the name of the song you want. Select the music video for the song.
  16. Click the record button in Audacity (red circle button) and start recording the song from the YouTube music video.
  17. When the song is over, click the stop button (yellow square button) in Audacity.
  18. Go to File > Export.
  19. Type in the song information (title, year, genre, artist). Click OK.
  20. In the Save As window, type in the song title as the filename. Change the Format to MP3 Files.
  21. Click Options if you want to adjust the MP3 settings. Then click Save.
  22. Import the song file into your iTunes library.
  23. Done.

Mac OSX how to show routing table


"netstat -nr" will display the routing tables. 
The '-r' displays the routing tables, 
and the '-n' flag makes sure the display show numerical addresses instead of trying to resolve host/network/port names. 

How to flush DNS cache on Mac OSX


I primarily work with web servers, and I use lookupd -flushcache all of the time to clear my DNS cache.

This morning was moving some websites around using my newly-upgraded Mac, and I went to flush my DNS cache with lookupd and I got a command not found error. It seems that lookupd has been removed in 10.5 and replaced with dscacheutil.

So now I can flush my DNS cache with dscacheutil -flushcache

Apple Authorised repair stores in Egypt


Appleline
Cairo
Tel: (002-02) 7951200 / 7922614, Fax: (002-02) 7943886
e-mail: appleline@appleline.com.eg

ApplePie
Cairo
Tel: (002-02) 3470328 / 3037132, Fax: (002-02) 3049208

Best Buy- HEAD OFFICE
Telephone : (+202) 7923238 - 7950596
Fax : (+202) 7923237
Best Buy- STORE
Telephone : (+202) 7628391/2 - 3367527/8
Fax : (+202) 3367523
Website: Best Buy - Cite

Appliance
Citystar, Grandhayat, Agamy-Sportingclub, Alex

Best Buy - Apple Center
Al-Thawra Square, Mohandessin
Cairo, Egypt
Tel: 00202 7628391 - 00202 7628392 - 00202 3367527 - 00202 3367528
Carrefour HyperMarkets
Contact Person : Mr. Ashraf Maqlad
Address: Dandy Mega Mall, Cairo-Alex Desert Road
City Center Mall, Ring Road Mirage City, Maadi, Cairo, Egypt.

HyperOne
EL sheikh Zayed city, 6 october, Cairo

Phono Stores
Contact Person : Mr. Mohamed Khalifa
Address : 28, Abd Al-Moneim Riad St., Mohandesseen, Giza, Egypt.

Radioshack

Radwan Al Ogeil Stores
Mostafa Mahmoud Square, Mohandseen, Cairo
Tel: +202 3389573
+202 3389575
+2012 2104471

Rizk Allah Stores
Contact Person : Mr. Maged Nabil
Address: 102B, Al-Marghany St., Heliopolis.

Spinneys HyperMarket
Contact Person: Mr. Sherif El-Saharty
Address : CITY STARS mall, 1st Floor, Heliopolis, Cairo, Egypt
Virgin Megastore
Contact Person : Mr. Abeer Daou
E-mail address : abeer.daou@azalgroup.com
Address : CITY STARS mall, 2nd Floor, Heliopolis, Cairo, Egypt
Compume
Tel:4802330
Address: Citystars Mall 1 st floor,Heliopolis,Cairo.

Turn any MP3 into iPhone ringtone


  • Start iTunes and find the song you want to convert. (It must be an MP3.)
  • Right-click the song and choose Get Info.
  • Click the Options tab.
  • Check the Start Time and Stop Time boxes, then enter times for each (no more than 30 seconds apart, the maximum length for a ringtone). I used 0:00 and 0:30, respectively, as "Spit It Out" has a perfect ascending lead-in.
  • Click OK, then right-click the song again and choose Create AAC Version. You should immediately see a new 30-second version of the song.
  • Drag that version out of iTunes and into the folder of your choice.
  • Delete the 30-second version from iTunes and undo the Start Time/Stop Time changes to the original.
  • Open the folder containing the 30-second AAC file you dragged out of iTunes, then change the file extension from .m4a to .m4r. Double-click it and it immediately gets added to iTunes' ringtone library.
  • Finally, sync your iPhone. When it's done, you can head into the settings and select your new ringtone.