Pages

Saturday, July 30, 2011

How to remove unneeded startup services?

from: http://www.macgeekery.com/gspot/2006-12/turning_off_unneeded_services


It’s a matter of seeing who is starting what and why, but almost everything can be changed if you work hard enough.
First, ask yourself if this is something you need to do. Most services that aren’t active have been paged out and just the run loop portion of the code is in memory and running, which isn’t that bad of a tax on the CPU. If you’re doing it to do it, don’t.
However, if you’re seeing a problem, or absolutely need that last cycle out of yourCPU, you can start turning things off that you’re not using. To do that, we need to know who started what.

Wednesday, July 27, 2011

Apple MacBook "Core 2 Duo" 2.0 13" (Unibody) Specs


October 14, 2008June 8, 2009
1 (2 Cores)2804/3124*
2.0 GHzCore 2 Duo (P7350)
Details:*The Intel "Core 2 Duo" 45 nm "Penryn" (P7350) processor includes two independent processor "cores" on a single silicon chip.

Also see: How much faster is the "Unibody" MacBook Core 2 Duo compared to the "Early 2008 Penryn" MacBook Core 2 Duo?
N/A64-Bit
SolderedIntegrated
1066 MHz2.0 GHz (Built-in)
EFI64-Bit
32k/32k3 MB (on chip)
PC3-8500 DDR31066 MHz
Details:Supports 1066 MHz PC3-8500 DDR3 SDRAM. Also see: How do you upgrade the RAM in the "Unibody" MacBook? How much RAM of what type does it support?
2 GB8 GB*
Details:2 GB of RAM is installed as two 1 GB modules, no slots free.

*Apple officially supports a maximum of 4 GB of RAM. Originally, this model was only unofficially capable of stably supporting 6 GB of RAM, but as confirmed by site sponsor OWC, it is capable of supporting 8 GB of RAM if updated to Boot ROM Version MB51.007D.B03 and running MacOS X 10.6 "Snow Leopard."

Other World Computing sells MacBook memory, as well as hard drives, batteries, carrying cases, and accessories.

Also see: Actual Max RAM of All G3 & Later Macs.
None2
GeForce 9400MIntegrated
Details:This model has a NVIDIA GeForce 9400M that shares memory with the system.

Also see: How much faster is the NVIDIA GeForce 9400M graphics processor in the "Unibody" MacBook models compared to the Intel GMA X3100 and GMA 950 in earlier models? Is gaming performance improved?
256 MB256 MB
13.3" Widescreen1280x800
Details:13.3" color widescreen LED-backlit TFT active-matrix "glossy" display with a 1280 by 800 native resolution. Apple reports that it also supports "1152 by 720, 1024 by 768, 1024 by 640, 800 by 600, 800 by 500, 720 1152 by 720, 1024 by 640, and 800 by 500 pixels at 16:10 aspect ratio; 1024 by 768, 800 by 600, and 640 by 480 pixels at 4:3 aspect ratio; [and] 720 by 480 pixels at 3:2 aspect ratio".

Site sponsor Mission Repair offers free diagnosis of MacBook hardware problems and a 24-hour repair service for this MacBook. Display repacement, keyboard replacement, a hard drive upgrade service, and more are provided.
Dual/Mirroring2560x1600
Details:The maximum resolution supported on an external display is 2560x1600.
160 GB (5400 RPM)Serial ATA (3 Gb/s)
8X DL "SuperDrive"None
Details:Apple reports that this slot-loading "SuperDrive" (DVD±R DL/DVD±RW/CD-RW) has a maxium write speed of "8x DVD-R, DVD+R; 4x DVD-R DL (double layer), DVD+R DL (double layer), DVD-RW, DVD+RW; 24x CD-R; 10x CD-RW" and a maximum read speed of "8x DVD-R, DVD+R, DVD-ROM; 6x DVD-ROM (double layer DVD-9), DVD-R DL (double layer), DVD+R DL (double layer), DVD-RW, and DVD+RW; 24x CD".
None10/100/1000Base-T
802.11a/b/g/n2.1+EDR
2 (2.0)None
Details:Two 480-Mbps USB 2.0 ports.

Also see: Complete Ports.
NoneNone
Details:No expansion slots or bays provided.
Full-sizeTrackpad (4 Finger)
NotebookMacBook (Unibody)
MB466LL/ALate 2008/Aluminum
A1278 (EMC 2254)MacBook5,1
Details:Please note that these identifiers refer to more than one model.

Also see: All Macs with the A1278 Model Number, the 2254 EMC Number, and the MacBook5,1 Model Identifier.

For more about these identifiers and how to locate them on each Mac, please refer to EveryMac.com's Mac Identification section.
45 W h Li-Poly5 Hours
X 10.5.5 (9F2114)Current*
XP SP2 (32-Bit)*7 (32-Bit, 64-Bit)**
NoneBoot/Virtualization
Details:Also see: Are there any third-party programs to run MacOS 9/Classic applications on Intel Macs?

Site sponsor OHS specializes in heavily upgraded Macs capable of running both MacOS X and MacOS 9 applications.

For more on running Windows on Intel Macs, please refer to the exhaustive Windows on Mac Q&A.
0.95 x 12.78 x 8.944.5 lbs (2.04 kg)
US$1299US$900-US$1000
Details:Please note that on average the estimated current retail pricing of used systems is updated twice a year (please refer to the date on the bottom of the page for the date last updated).

Photo Credit: Apple, Inc.

Also see: Global Original Prices for this model. EveryMac.com'sGlobal Original Prices section, with original pricing for Intel Macs in 24 countries and territories, additionally may be of interest.

How to identify MacBook models


check the models here:


By serial number

On most computers with Mac OS X, you can find the serial number in the About This Mac window. Otherwise, seeMacBook: How to find the serial number to learn where to find the serial number on the surface of your computer.
Type the serial number into the Check Your Service and Support Coverage page. The resulting screen will show your model.
MacBook model

By model number or configuration on the box or receipt

If you still have the box or receipt from your MacBook, you can find the marketing model number or configuration details. Match your model number or configuration with the one from the table below to find your MacBook model. For the model number, the two characters before the slash (/) vary by country, but the part number will be the same worldwide. In the table below, "xx" represents these two variable characters. The configuration is listed as screen size/processor speed/RAM size/hard drive size/optical drive type.

MacBook (13-inch, Mid 2010)
MacBook7,1MC516xx/A13.3"/D2.4G/2x1GB/250/SD-DL

MacBook (13-inch, Late 2009)
MacBook 6,1MC207xx/A13.3"/D2.26G/2x1GB/250/SD-DL

MacBook (13-inch, Mid 2009)
MacBook5,2MC240LL/A13.3"/2.13/2X1GB/160/SD

MacBook (13-inch, Early 2009)
MacBook5,2MB881xx/A13.3"/D2.0G/2x1GB/120/SD-DL

MacBook (13-inch, Aluminum, Late 2008)
MacBook5,1MB466xx/A13.3"/D2.0G/2x1GB/160/SD-DL
MB467xx/A13.3"/D2.4G/2x1GB/250/SD-DL

MacBook (13-inch, Late 2008)
MacBook4,1MB402xx/B13.3"/D2.1G/2x512/120/SD-DL

MacBook (13-inch, Early 2008)
MacBook4,1MB402xx/A13.3"/D2.1G/2x512/120/Combo
MB403xx/A13.3"/D2.4G/2x1GB/160/SD-DL
MB404xx/A13.3"/D2.4G/2x1GB/250/SD-DL

MacBook (13-inch, Late 2007)
MacBook3,1MB062xx/A13.3"/D2.2G/2x512/120/SD-DL
MB063xx/A13.3"/D2.2G/2x512/160/SD-DL

MacBook (13-inch, Mid 2007)
MacBook2,1MB061xx/A13.3"/D2.0G/2x512/80/Combo
MB062xx/A13.3"/D2.16G/2x512/120/SD-DL
MB063xx/A13.3"/D2.16G/2x512/160/SD-DL

MacBook (Late 2006)
MacBook2,1MA699xx/A13.3"/D1.83G/2x256/60/Combo
MA700xx/A13.3"/D2.0G/2x512/80/SD-DL
MA701xx/A13.3"/D2.0G/2x512/120/SD-DL

MacBook
MacBook1,1MA254xx/A13"/1.83 GHz/60 GB/Combo
MA255xx/A13"/2 GHz/60 GB/SuperDrive
MA472xx/A13"/2 GHz/80 GB/SuperDrive

How to add categories to blogger/blogspot?

(from: http://interestingwebs.blogspot.com/2008/11/adding-categories-to-blogspot-blogger.html)


If you want to add categories to the blogger as in the picture, read the instructions in this post.
For example if you click on "Useful website" you will get a list of all the posts that are in category Useful website and if you click on the blog tutorial you will get all posts related to the blog tutorial.



The purpose of adding a category is sort of articles by category. Adding a category of your blog becomes easier to browse.You can write your own HTML to add category links one by one (take a look at topic Creating HTML with category list) or you can use Labels gadget (this is simple method).


The process of adding categories

1. Creating a label for posts

First, you need to add a label posts. Label is added by entering text in the textbox which is located at the bottom of the screen for writing or editing posts (Potsting-->Create or Posting-->EditPosts, see picture).



For example, I entered the label "blog-tutorial" for my post.

2. Creating a Page element category

You can use Labels gadget or write your own HTML to add category links one by one. Labels gadget is very simple to implement.


Adding Labels gadget to blog

1. Go to Layout.
2. Click on Add Gadget.



3. Select Labels Gadget

Add label page element

4. Enter title, chose to show all labels or only selected labels, sorting type. You can show number of posts per label by clicking check box and display labels as a list or cloud.

Edit Labels gadget on blogger

Result should look something like this:

Categories on blogspot blog created with Labels gadget

Write your own HTML to add category links

If you want more control you can write your own HTML code. HTML with category list should look like this:


<ul>
<li><a href="/search/label/[LABEL]">[TEXT]</a>  </li>
<li><a href="/search/label/[LABEL]">[TEXT]</a>  </li>
</ul>

You should replace [LABEL] and [TEXT] elements.

[LABEL] is label you have entered for the post. For example blog-tutorial.

[TEXT] is text you want to be showed in the categories. For example blog tutorial.

Here is example of my HTML category list code when I replaced [TEXT] and [HTML] elements.


<ul>
<li><a href="/search/label/webs">Useful webs</a>  </li>
<li><a href="/search/label/blog-tutorial">Blog tutorial</a>  </li>
</ul>

I have posts with label "webs" and with label "blog-tutorial". When somebody click on Useful webs link then will be shown all posts that have "webs" label.

You should put your own labels. For more categories you should add new

<li><a href="/search/label/[LABEL]">[TEXT]</a>  </li>
element.

Adding HTML or JavaScript to blog

Now we have to add this HTML code to blog.
1. Go to Layout.
2. Click on Add Gadget.



3. Select HTML/JavaScript.



4. Enter a title "Categories" and copy and paste HTML category list code in content box with replaced [LABEL] and [TEXT] elements. Save this and now you have categories.

diff OUTPUT FORMAT

Showing Differences Without Context

The "normal" diff output format shows each hunk of differences without any surrounding context. Sometimes such output is the clearest way to see how lines have changed, without the clutter of nearby unchanged lines (although you can get similar results with the context or unified formats by using 0 lines of context). However, this format is no longer widely used for sending out patches; for that purpose, the context format (see section Context Format) and the unified format (see section Unified Format) are superior. Normal format is the default for compatibility with older versions of diff and the Posix standard.

Detailed Description of Normal Format

The normal output format consists of one or more hunks of differences; each hunk shows one area where the files differ. Normal format hunks look like this:

change-command
< from-file-line < from-file-line... --- > to-file-line
> to-file-line...
There are three types of change commands. Each consists of a line number or comma-separated range of lines in the first file, a single character indicating the kind of change to make, and a line number or comma-separated range of lines in the second file. All line numbers are the original line numbers in each file. The types of change commands are:

`lar'

  • Add the lines in range r of the second file after line l of the first file. 
  • For example, `8a12,15' means append lines 12--15 of file 2 after line 8 of file 1; or, if changing file 2 into file 1, delete lines 12--15 of file 2.

`fct'

  • Replace the lines in range f of the first file with lines in range t of the second file. This is like a combined add and delete, but more compact. 
  • For example, `5,7c8,10' means change lines 5--7 of file 1 to read as lines 8--10 of file 2; or, if changing file 2 into file 1, change lines 8--10 of file 2 to read as lines 5--7 of file 1.

`rdl'

  • Delete the lines in range r from the first file; line l is where they would have appeared in the second file had they not been deleted. 
  • For example, `5,7d3' means delete lines 5--7 of file 1; or, if changing file 2 into file 1, append lines 5--7 of file 1 after line 3 of file 2.