10.10.1 OSX Yosemite

Dev Tools
Brew / Homebrew
How to transfer file between your MacBook and your iPod
How to edit videos on your MacBook
How to record sound from computer application using soundflower
Things that I do for solarchampions
Image editing
UPnP-DLNA stuff

How can we do image or photo editing?

  1. To do create simple image or do simple editing, use Paintbrush.
  2. Gimp is just too sophisticated and difficult to use.

How can we create a video or movie from a static image and an audio file?

  1. See ffmpeg

How can we launch iCal?

For some reason, iCal was missing from the dock / taskbar. I launch Finder, click on Application (on the left hand side), scroll down to locate, drag and drop it onto the dock. Then, I right click on the iCal icon in the dock and select "Options -> Open at Login"

How can we open hidden file?

In whatever tool that you are using, use your favorite editor's Open File feature, and then press Command+Shift+ a period.

How can we take screenshot?

  1. Press Command-Shift-3. This will take the screenshot.
  2. Press F11. This will display the desktop.
  3. Find the screenshot on the desktop.

How can we take a screenshot of a particular part of the screen?

  1. Press Command-Shift-4. The pointer changes to a crosshair pointer.
  2. Move the crosshair pointer to where you want to start the screenshot, and drag to select an area. While dragging, you can hold the Shift key, Option key, or Space bar to change the way the selection moves.
  3. When you've selected the area you want, release your mouse or trackpad button. To cancel, press the Escape (esc) key before you release the button.
  4. Press F11. This will display the desktop.
  5. Find the screenshot as a .png file on your desktop.

How can we take a screenshot of a particular application / window?

  1. Press Command-Shift-4. The pointer changes to a crosshair pointer.
  2. Press the Space bar. The pointer changes to a camera pointer.
  3. Move the camera pointer over a window to highlight it.
  4. Click your mouse or trackpad. To cancel, press the Escape (esc) key before you click.
  5. Press F11. This will display the desktop.
  6. Find the screenshot as a .png file on your desktop.

How can we disable start-up sound?

sudo nvram SystemAudioVolume=%80

// to restore or re-enable start-up sound:
sudo nvram -d SystemAudioVolume

How can we display the desktop?


This accomplish the "Show Desktop" functionality as that exist on Windows.

How can we do simple video editing using QuickTime?

  1. Open your video using QuickTime
  2. Select Edit > Trim. A yellow bar appears at the bottom.
  3. Drag the left-hand end of the yellow bar to the right to trim the start of the clip, and pull the other end to the left to cut off the end. As you work, click the Play button on the far left to play back the clip as it will be once you’ve trimmed it. Adjust the yellow bar to suit.
  4. When you’ve got it just right, click Trim and the yellow bar will disappear.
  5. Add more footage. Select Edit > Add Clip to End. Find the video on your Mac and click Choose media. Your original clip is the section on the left, and the one you’ve just added is to the right. If this is the order you’d like them in, click Done. But if you’d rather the second clip play first, drag it to the left, and the original one will shift right. When you’re happy, click Done. Once you’ve added multiple clips, you can rearrange, trim and split them using View > Show Clips option. To trim a given clip, double-click it and follow the above instructions. To add footage to the middle of a clip, click it once to make a thin yellow line appear around it.
  6. Split clips. Press Play and wait for the red time marker to arrive at the point where you’d like to add more footage, then click Pause. Drag the marker to position it more precisely if you wish. Then go to Edit > Split Clip. You can split clips into multiple pieces and rearrange as you please.
  7. Export your video. With your video perfected, click Done. Now it’s time to save a copy. Choose File > Export. Give it a name, choose where to save it, and pick a format. Click Export to save your video.

What are different ways to install applications or server packages onto your MacBook?

  • Drag and drop
  • port (also known as MacPorts)
  • brew (also known as Brew or Homebrew)

Which package manager do I currently use?

I think that I am currently using brew.

How can we install application using drag and drop?

  1. Download the .dmg file
  2. Launch Finder
  3. Navigate to the "Download" folder
  4. Locate the .dmg file
  5. Drag the .dmg file and drop it on the "Application" folder. If you here a sound, the application is installed successfully.

How can we install an application using brew?

brew install iftop

How can we run an unsigned application?

Mac will let you download and install software that are unsigned. However, when you try to run the software, it will displays a warning and will not let you run the application. You can override your security setting by:

  1. Locate your application
  2. Hold down the control key and click on the application
  3. Select "Open"
  4. Uncheck or check the check box
  5. Click on "Open"

How can we change the desktop wallpaper?

  1. Hold down the control key and click on the desktop
  2. Select "Change Desktop Background"

How can we run the Wireless Diagnostic tool?

  1. Launch Finder
  2. In the menu bar at the top, select "Go -> Go to Folder", specify "/System/Library/CoreServices"
  3. Double-click on "Wireless Diagnostics"

Alternatively, you can:

  1. Hold down the option key and click on the Wi-Fi icon in your menu bar and select "Open Wireless Diagnostics…"

How can we determine your wireless signal strength?

  1. Hold down the option key and click on the Wi-Fi icon in your menu bar

How can we use our Macbook?

Your MacBook is just a Unix machine with a nice graphical user interface. You can open up a terminal and do most of your command line kungfu stuff that you need. However, you can think of your MacBook as a different Unix distro, and with different Unix distro, there are slightly different package managers, different software, and even the same command may have different options.

How can I edit the hosts file?

Your MacBook is just a Unix machine. You can edit the /etc/hosts file using vim or another text editor just like how you would do it on other Unix platform.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License