Thursday, 24 December 2015

Apple Mac Book Keyboard Shortcuts & Startup Key Combinations







Some Mac features are available by holding down certain keys during startup. 

Press and hold the keys immediately after you turn on your Mac and hear the startup sound. Keep holding until the described behavior occurs. These combinations work with Intel-based Mac computers.


Hold during startup


Description
Shift ⇧Start up in Safe Mode.
Option ⌥Start up to Startup Manager.
CStart up from a bootable CD, DVD, or USB thumb drive (such as OS X install media).
DStart up to either Apple Hardware Test or Apple Diagnostics, depending on which Mac you're using.
Option-DStart up to either Apple Hardware Test or Apple Diagnostics over the Internet.
NStart up from a compatible NetBoot server.
Option-NStart up from a NetBoot server using the default boot image.
Command (⌘)-RStart up from OS X Recovery. 
Command-Option-RStart up from OS X Recovery over the Internet.
Command-Option-P-RReset NVRAM. Release the keys after you hear the startup sound again.
Command-SStart up in single-user mode.
TStart up in target disk mode.
XStart up from an OS X startup volume when the Mac would otherwise start up from a non-OS X startup volume.
Command-VStart up in verbose mode.
Eject (⏏), F12, mouse button, or trackpad buttonEject removable media, such as an optical disc.

Apple MacBook Keyboard Shortcuts

Mac keyboard shortcuts

By pressing a combination of keys, you can do things that normally need a mouse, trackpad, or other input device.
To use a keyboard shortcut, hold down one or more modifier keys while pressing the last key of the shortcut. For example, to use the shortcut Command-C (copy), hold down Command, press C, then release both keys. Mac menus and keyboards often use symbols for certain keys, including the modifier keys:
  • Command ⌘
  • Shift ⇧
  • Option ⌥
  • Control ⌃
  • Caps Lock ⇪
  • Fn

If you're using a keyboard made for Windows PCs, use the Alt key instead of Option, and the Windows logo key instead of Command. Some Mac keyboards and shortcuts use special keys in the top row, which include icons for volume, display brightness, and other functions. Press the icon key to perform that function, or combine it with the Fn key to use it as an F1, F2, F3, or other standard function key.
To learn more shortcuts, check the menus of the app you're using. Every app can have its own shortcuts, and shortcuts that work in one app may not work in another.

Cut, copy, paste, and other common shortcuts

          Shortcut          Description
Command-XCut: Remove the selected item and copy it to the Clipboard.
Command-CCopy the selected item to the Clipboard. This also works for files in the Finder.
Command-VPaste the contents of the Clipboard into the current document or app. This also works for files in the Finder.
Command-ZUndo the previous command. You can then press Command-Shift-Z to Redo, reversing the undo command. In some apps, you can undo and redo multiple commands.
Command-ASelect All items. 
Command-FFind: Open a Find window, or find items in a document.
Command-GFind Again: Find the next occurrence of the item previously found. To find the previous occurrence, press Command-Shift-G.
Command-HHide the windows of the front app. To view the front app but hide all other apps, press Command-Option-H.
Command-MMinimize the front window to the Dock. To minimize all windows of the front app, press Command-Option-M.
Command-NNew: Open an new document or window.
Command-OOpen the selected item, or open a dialog to select a file to open.
Command-PPrint the current document.
Command-SSave the current document.
Command-WClose the front window. To close all windows of the app, press Command-Option-W.
Command-QQuit the app.
Command-Option-EscForce Quit: Choose an app to force quit. Or press Command-Shift-Option-Esc and hold for 3 seconds to force just the front app to quit.
Command–Space barSpotlight: Show or hide the Spotlight search field. To perform a Spotlight search from a Finder window, press Command–Option–Space bar. If you use multiple input sources to type in different languages, these shortcuts change input sources instead of showing Spotlight.
Space barQuick Look: Use Quick Look to preview the selected item.
Command-TabSwitch apps: Switch to the next most recently used app among your open apps. 
Command-Shift-Tilde (~)Switch windows: Switch to the next most recently used window of the front app. 
Command-Shift-3Screenshot: Take a screenshot of the entire screen. Learn more screenshot shortcuts.
Command-Comma (,)Preferences: Open preferences for the front app.

Sleep, log out, and shut down shortcuts

               Shortcut              Description
Power buttonTap to turn on your Mac or wake your Mac from sleep.  
Hold for 1.5 seconds while your Mac is awake to display a dialog asking if you want to restart, sleep, or shut down.
Hold for 5 seconds to force your Mac to turn off.
Command–Control–Power buttonForce your Mac to restart.
Command–Option–Power buttonPut your Mac to sleep.
Shift–Control–Power buttonPut your displays to sleep.
Command–Control–Power buttonQuit all apps, then restart your Mac. If any open documents have unsaved changes, you'll be asked whether you want to save them.
Command–Option–Control–Power buttonQuit all apps, then shut down your Mac. If any open documents have unsaved changes, you'll be asked whether you want to save them.
Command-Shift-QLog out of your OS X user account. You'll be asked to confirm.
Command-Shift-Option-QLog out of your OS X user account immediately, without being asked to confirm.

Document shortcuts

               Shortcut              Description
Command-BBoldface the selected text, or turn boldfacing on or off. 
Command-IItalicize the selected text, or turn italics on or off.
Command-UUnderline the selected text, or turn underlining on or off.
Command-TShow or hide the Fonts window.
Command-DSelect the Desktop folder from within an Open dialog or Save dialog.
Command-Control-DShow or hide the definition of the selected word.
Command-Shift-Colon (:)Display the Spelling and Grammar window.
Command-Semicolon (;)Find misspelled words in the document.
Option-DeleteDelete the word to the left of the insertion point.
Control-HDelete the character to the left of the insertion point. Or use Delete.
Control-DDelete the character to the right of the insertion point. Or use Fn-Delete.
Fn-DeleteForward delete on keyboards that don't have a Forward Delete   key. Or use Control-D.
Control-KDelete the text between the insertion point and the end of the line or paragraph.
Command-DeleteSelect Delete or Don't Save in a dialog that contains a Delete or Don't Save button.
Fn–Up ArrowPage Up: Scroll up one page. 
Fn–Down ArrowPage Down: Scroll down one page.
Fn–Left ArrowHome: Scroll to the beginning of a document.
Fn–Right ArrowEnd: Scroll to the end of a document.
Command–Up ArrowMove the insertion point to the beginning of the document.
Command–Down ArrowMove the insertion point to the end of the document.
Command–Left ArrowMove the insertion point to the beginning of the current line.
Command–Right ArrowMove the insertion point to the end of the current line.
Option–Left ArrowMove the insertion point to the beginning of the previous word.
Option–Right ArrowMove the insertion point to the end of the next word.
Command–Shift–Up ArrowSelect the text between the insertion point and the beginning of the document.
Command–Shift–Down ArrowSelect the text between the insertion point and the end of the document.
Command–Shift–Left ArrowSelect the text between the insertion point and the beginning of the current line.
Command–Shift–Right ArrowSelect the text between the insertion point and the end of the current line.
Shift–Up ArrowExtend text selection to the nearest character at the same horizontal location on the line above.
Shift–Down ArrowExtend text selection to the nearest character at the same horizontal location on the line below.
Shift–Left ArrowExtend text selection one character to the left.
Shift–Right ArrowExtend text selection one character to the right.
Shift–Option–Up ArrowExtend text selection to the beginning of the current paragraph, then to the beginning of the following paragraph if pressed again.
Shift–Option–Down ArrowExtend text selection to the end of the current paragraph, then to the end of the following paragraph if pressed again.
Shift–Option–Left ArrowExtend text selection to the beginning of the current word, then to the beginning of the following word if pressed again.
Shift–Option–Right ArrowExtend text selection to the end of the current word, then to the end of the following word if pressed again.
Control-AMove to the beginning of the line or paragraph.
Control-EMove to the end of a line or paragraph.
Control-FMove one character forward.
Control-BMove one character backward.
Control-LCenter the cursor or selection in the visible area.
Control-PMove up one line.
Control-NMove down one line.
Control-OInsert a new line after the insertion point.
Control-TSwap the character behind the insertion point with the character in front of the insertion point.
Command–Left Curly Bracket ({)Left align.
Command–Right Curly Bracket (})Right align.
Command–Shift–Vertical bar (|)Center align.
Command-Option-FGo to the search field. 
Command-Option-TShow or hide a toolbar in the app.
Command-Option-CCopy Style: Copy the formatting settings of the selected item to the Clipboard.
Command-Option-VPaste Style: Apply the copied style to the selected item.
Command-Shift-Option-VPaste and Match Style: Apply the style of the surrounding content to the item pasted within that content.
Command-Option-IShow or hide the inspector window.
Command-Shift-PPage setup: Display a window for selecting document settings.
Command-Shift-SDisplay the Save As dialog, or duplicate the current document.
Command–Shift–
Minus sign (-)    
Decrease the size of the selected item.
Command–Shift–
Plus sign (+)
Increase the size of the selected item. Command–Equal sign (=) performs the same function.
Command–Shift–
Question mark (?)
Open the Help menu.

Finder shortcuts

          Shortcut          Description
Command-DDuplicate the selected files.
Command-EEject the selected disk or volume.
Command-FStart a Spotlight search in the Finder window.
Command-IShow the Get Info window for a selected file.
Command-Shift-COpen the Computer window.
Command-Shift-DOpen the desktop folder.
Command-Shift-FOpen the All My Files window.
Command-Shift-GOpen a Go to Folder window.
Command-Shift-HOpen the Home folder of the current OS X user account.
Command-Shift-IOpen iCloud Drive.
Command-Shift-KOpen the Network window.
Command-Option-LOpen the Downloads folder.
Command-Shift-OOpen the Documents folder.
Command-Shift-ROpen the AirDrop window.
Command-Shift-TAdd selected Finder item to the Dock (OS X Mountain Lion or earlier)
Command-Shift-Control-TAdd selected Finder item to the Dock (OS X Mavericks or later)
Command-Shift-UOpen the Utilities folder.
Command-Option-DShow or hide the Dock. This often works even when you're not in the Finder.
Command-Control-TAdd the selected item to the sidebar (OS X Mavericks or later).
Command-Option-PHide or show the path bar in Finder windows.
Command-Option-SHide or show the Sidebar in Finder windows.
Command–Slash (/)Hide or show the status bar in Finder windows.
Command-JShow View Options.
Command-KOpen the Connect to Server window.
Command-LMake an alias of the selected item.
Command-NOpen a new Finder window.
Command-Shift-NCreate a new folder.
Command-Option-NCreate a new Smart Folder.
Command-RShow the original file for the selected alias.
Command-TShow or hide the tab bar when a single tab is open in the current Finder window.
Command-Shift-TShow or hide a Finder tab.
Command-Option-TShow or hide the toolbar when a single tab is open in the current Finder window.
Command-Option-VMove: Move the files in the Clipboard from their original location to the current location.
Command-Option-YView a Quick Look slideshow of the selected files.
Command-YUse Quick Look to preview the selected files.
Command-1View the items in the Finder window as icons.
Command-2View the items in a Finder window as a list.
Command-3View the items in a Finder window in columns. 
Command-4View the items in a Finder window with Cover Flow.
Command–Left Bracket ([)Go to the previous folder.
Command–Right Bracket (])Go to the next folder.
Command–Up ArrowOpen the folder that contains the current folder.
Command–Control–Up ArrowOpen the folder that contains the current folder in a new window.
Command–Down ArrowOpen the selected item.
Command–Mission ControlShow the desktop. This works even when you're not in the Finder.
Command–Brightness UpTurn Target Display Mode on or off.
Command–Brightness DownTurn display mirroring on or off when your Mac is connected to more than one display.
Right Arrow Open the selected folder. This works only when in list view.
Left ArrowClose the selected folder. This works only when in list view.
Option–double-clickOpen a folder in a separate window and close the current window.
Command–double-clickOpen a folder in a separate tab or window.
Command-DeleteMove the selected item to the Trash.
Command-Shift-DeleteEmpty the Trash.
Command-Shift-Option-DeleteEmpty the Trash without confirmation dialog.
Command-YUse Quick Look to preview the files.
Option–Brightness UpOpen Displays preferences. This works with either Brightness key.
Option–Mission ControlOpen Mission Control preferences.
Option–Volume UpOpen Sound preferences. This works with any of the volume keys.
Command key while draggingMove the dragged item to another volume or location. The pointer changes while you drag the item.
Option key while draggingCopy the dragged item. The pointer changes while you drag the item.
Command-Option while draggingMake an alias of the dragged item. The pointer changes while you drag the item.
Option-click a disclosure triangleOpen all folders within the selected folder. This works only when in list view.
Command-click a window titleSee the folders that contain the current folder.

Wednesday, 16 December 2015

Testing Diffrent Kind Of Wires



The most important thing in automotive electronics for an installer to know is what wire does what. From having to hardwire a radio into what's left of a factory electrical system, to installing an alarm or even troubleshooting problems, it is important for someone to be able to tell what a wire is and what it is for.
First,you'll need the proper tools. The proper tools are:
  • A Digital Multi Meter
  • A 1.5 Volt AA cell
  • A pair of wire strippers
A Digital Multi Meter is quite a handy tool, can be purchased at any hardware store, Radio Shack, Wal-Mart, or automotive store. With a basic DMM, you can measure AC and DC voltage, AC and DC current (up to a certain number of amps), and Resistance. Really good multimeters will let you measure other shit, but if you're having to read this, than you don't need to worry about that crap until much later. The 1.5 volt cell is mostly for speakers. You should not use this until you have positively verified that you most likely have a speaker using your DMM. The cell can help you determine the polarity of the speaker, and which speaker in your car you're onto. Finally, I cannot stress the importance of a good pair of strippers. Especially blonde ones.....no wait....wire strippers. GBH, Klein, or Blue Point make very good ones, which are small, and have a spring to open them up. They should have a cutting edge, small gripping flat, and a series of graduated holes to strip insulation off.

Now, before continuing, I'd like to cover test lights. A test light is basically a metallic probe with a light in it, and a clamp on the other side which you attach to the vehicle ground. When you find a wire carrying sufficient voltage and current, the light will glow.

DO NOT EVER USE A TEST LIGHT! THIS IS AN IDIOTS TOOL!!! 

These lights are only good for detecting current. Also, they draw current, and they can easily draw enough current to fry the sensitive electronics on today's modern cars. A DMM will draw almost no current whatsoever (such a small amount, it can hardly be noticed at all), and is safe to use on modern electronics. Also, do not use logic probes. They work in much the same way, for the most part, but even though they are digital, they often draw enough current to damage sensitive electronics.

Now, we are going to look at the basics. First off, we are going to assume your DMM is an "autoranging" model. If not, you will have to select the range in which measurements are taken. This is mostly older DMM's, although a few very high end meters still need to be told this. If you have a meter which is not autoranging, set the range to something within what you are testing for. For instance, if your meter is set up in 10 unit separations, and we are going to test for voltage, then you would set your meter to 20. Also, when we take resistance measurements, if your meter is not autoranging, start on the lowest setting. Even DMM use a small amount of output voltage to check the resistance of something. Starting at the smallest setting ensures the least amount of voltage. Now, for testing!

Voltage

Testing for voltage is easy. Set your DMM to Volts DC, if you are testing for DC (like, from a battery, or at your fuse box, or at the back of the radio), and Volts AC for AC (like tachometer wires, audio outputs, or your wall socket). When testing voltage, you always place your leads in parallel with the circuit you are testing. For instance, if you want to check the voltage of a battery, place the positive lead to the positive terminal on the battery, and the negative lead to the negative terminal on the battery. Even if the battery is hooked up to something else, you'll still read the same voltage as what every other device is getting. Voltage stays the same in parallel.

Now, in a car, most often you are checking to see if wires have voltage. Most cars out there have a negative ground chassis, which means all metal on the body of the car is connected to the negative terminal of the battery. So what you can do, is just touch your negative lead from your DMM to any metal on the body to get a negative connection. Then, you can probe your wire to test for voltage. Usually, people strip the insulation back, test the wire, and if it's the wrong wire, they tape the wire back up. However, one thing I do is to sharpen my positive DMM lead to a needle point. This way, I can pierce the insulation to read the wire, then remove the point and allow the insulation to seal back up. If you are testing a wire that runs into a harness, you can also probe where the wire goes into the harness. Don't force the lead, however, as you may damage the harness.

Once you have probed the wire, the display on your meter will change. Often, the meter may take a half second to read the proper voltage, because the electronics are testing it. However, soon a reading will come up. For instance, when you test your battery, you may see something like "12.50 V".
Often, when you are testing for voltage, even if you aren't touching a wire, you may get small readings on the order of millivolts or microvolts. This are called ghost readings. For the most part, they are small voltages that occur for a number of reasons. One reason you can quickly have fun with is the voltage of air. Connect the negative lead of your meter to something like a vehicle chassis, or even your plumbing. Then, touch your finger to the other lead, and stick it up in the air. Depending on how dry the air is, and where you are, you can read several millivolts of electrical potential in the air.

Current

Current is measured differently from voltage. For current, you have to switch the positive lead to the special plug for current. This measurement makes the meter a short circuit. Often, you are limited to about 10 amps or so. For instance, if you suspect that your amps are killing your battery, you would use your meter to test for current draw. Disconnect your positive terminal. Set your meter to DC Amps. Put the negative lead on the positive terminal of the battery, and the positive lead to the battery terminal. Make sure the terminal is not connected to the battery in any way other than through the meter. Observe the reading. Just so ya know, you will always have some current draw, but with your door closed, and everything off, it should never be more than .25 amps.

Resistance/Continuity

To measure resistance, you simply place your leads in parallel, like you're testing for voltage. However, be aware that if you are testing in a circuit, you are not only measuring that component, but everything connected to it. If, for instance, you suspect a speaker is blow, disconnect it from your amp. Otherwise, you will be testing the combined resistance of the amps output transistors and the voice coil of the subwoofer. Resistance is measured in ohms. If you don't get a real number (may meters will say O.L), you either have an open circuit (one where there is no connection between the leads through the item your testing), or the resistance is so very high, that it exceeds the meters ability or the range on which you are set. Most DMM's go up to mega ohms. If you read just 0, or something close, you have very little resistance.
Continuity is another way of measuring resistance, but it very different. Normally, when we test for continuity, we are not so much concerned with the resistance, but the lack of it. Normally, we test continuity for a length of wire, or if a circuit connects to the vehicle ground. Most DMM's will emit an audible beep if a circuit has continuity. For instance, if you believe a fuse is blown, but it looks okay, you would put one lead from your meter on one end, and the other lead at the other. If the fuse has continuity, the meter will beep. If there is a break in the fuse, even a tiny one you can't see, there will be no beep.

Testing for Stuff

Shorts

When something is shorted, there is a path of near zero resistance from one side to the other. If you are blowing a fuse in a particular circuit, you may have a short to ground. Best way to test is to go to the non battery side of the fuse (this is the side that does not read 12 volts). Set your meter for continuity, and place the negative lead on nice shiny metal (the cigarette lighter of most vehicles go straight to ground). Place the other lead on the fuse box contact for that circuit. If it beeps, than check your wires for damaged insulation.

Amp Power

If your amp doesn't come on, but the fuses look fine, you will want to check it (duh). First, make sure you ground terminal on your amp reads continuity to chassis ground. If you have it, also check the resistance. As little as possible is best. Then, place your ground lead on the negative terminal, and check for voltage at the power terminal and the remote terminal. If you don't have any power on the main wire, check your lead and it's connections. Test the power wire fuse at the battery for continuity, and replace it if it is blown. If you have power at the main feed, but the remote is dead, try turning your radio off, then on, or resetting it. Also, check the wire for continuity with ground. You can also check the wire farther up the run. Most radios will shut off the remote output if the wire grounds out or if too much current is drawn off of it.

Triggers

If you are putting an alarm in, everything is a trigger. It is important to get the right wire for the alarm to work properly.
There are two basic types of trigger. A positive trigger will read 12 volts when something is happening (for instance a + door trigger will read 12 volts when the door is open, but not when the door is closed). A negative trigger will be just the opposite. It will either read 12 volts until the trigger happens, or will read nothing (null), then continuity to ground when the event happens. For instance, most Japanese cars have - door opening triggers. They will read 12 volts, because the potential from the other side of the dome light is 12 volts. However, when you open the door, and the circuit is complete, the potential at the switch disappears. Likewise, with door locks. If you have negative trigger door locks, the wire will read 12 volts. When you hit the lock or unlock button (depending on what wire you are using), the voltage will drop drastically (but not necessarily all the way). Likewise, a positive trigger system (some Ford and GM cars) will read no or small voltages, until you the lock/unlock button, then you will get 12 volts.

Ignition

If you are ever testing for an ignition line, here's how it works. The ignition wire must provide power to the engine and electronics when the car is running and during starting. With the key in the off position, you will have no voltage. Turn the car to ACC, and you will still have to voltage. Turn the key to ON or RUN, and you will get full voltage. Crank the starter for a few seconds. The ignition line will still get almost full voltage, although it may drop a few volts. The ignition line will normally be found below the steering column, and will be a large wire, like 12 or 10 gauge. For safety sake, whenever sourcing off this wire, use a fuse as close to the connection as possible.

Starter

The starter wire only has voltage going to it when you crank the engine, not while the engine is running, or when the car is switched to OFF, ON, or ACC. It may not be a full 12 volts, because of the massive draw of the starter. It is usually found below the steering column.

Battery/Main/Constant

This wire always has 12 volts. It comes directly from the battery, via the fuse box. Normally, this is the largest of wires below the steering column. If you don't have a really high current application, you can also find it at the back of the radio (for memory), or the cigarette lighter on some cars. For safety sake, whenever sourcing off this wire, use a fuse as close to the connection as possible.

Tach

The tach wire will have both AC and DC current on it when the car is running. Use the AC setting to determine if is a tack wire or not. This wire will read a very low voltage at idle, but will increase dramatically when the engine is revved. Commonly, a tach wire will go from a half a volt up to 3 or 4 volts. More is possible. Normally, you can find a tach wire either at the ECM, PCM, or you can also get them at the Cruise Control Module, or they will be found it a little plug in the coil pack or at the distributor.

Accessory/Switched

This wire gets voltage when the car is in ACC or ON or RUN position. It does not have much voltage, if any, when the car is cranking, and should have almost none at all if the car is off.

Dimmer/Illumination

This wire is tricky, and has fucked up many an installer and DIY'ers day. The dimmer wire will read as a ground, but a weak one, until you turn the dash lights on, then it'll have no ground at all. It'll have 12 volts. A lot of times, an installer will not properly check this wire, put a radio in, and let it roll. At the very least, you'll blow the dash lighting fuse. However, it is not uncommon to burn up the dimmer switch.

Speakers

A speaker uses a pair of wires. Using your DMM, you will test for continuity between two wires. When you get it, measure the resistance. Speakers will not always be what they are rated at, so if you're speakers are 4 ohm, you may read as little as 3, or as high as 5. Also, many stock speakers can be as high as 10 ohm. However, as long as it is not very high, or very low, you probably have a speaker. Now, you can take you cell and test it. If you hear the speaker pop, you have it.

You can also use the battery to check for polarity. If you hook the battery up, and the speaker pops forward, you have the correct polarity. The positive terminal of the battery is connected to the positive terminal of the speaker, and vice versa. It is important to observe polarity. If you have more than one speaker, and you hook one speaker out of polarity, or out of "phase" with another, it will actually take away from the overall sound (usually, it kills your bass response).

Finally, the pop of the speaker can be used to tell you where the speaker is you're looking for.



This has covered some of the most basic testing skills. However, the highest of 
skills come with deductive reasoning. To solve a problem, you must know how something basically works, and to observe it's behavior. The majority of problems arise from damaged equipment, poorly connected equipment, or damaged interconnects. Sometimes, a wire will not test the way it's supposed to. You will have to use your noodle and figure out what a wire is doing, and why it's behaving a certain way.