Sunday, April 3, 2016

Mac OS X Terminal Tutorial

Deleting Files & Folders

  1. To delete a file then type in rm followed by the path to the filerm path/to/file
  2. To delete a folder and all of its contents type in rm -r followed by the path to the folder into the terminalrm -r path/to/folder

Create A Directory

  1. Type in cd followed by the path to the folder where you wish to create the new folder incd path/to/parent-folder
  2. Type in mkdir followed by the name of the folder you wish to createmkdir foldername

Change Mac OS X Screenshots Location

  1. Type in defaults write com.apple.screencapture location followed by the path where you want screenshots to be saved. To save screenshots in the Pictures folder just type in:defaults write com.apple.screencapture location ~/Pictures/
  2. Follow this line with the following to have the changes take effect:killall SystemUIServer
change mac os x screenshot location

Get Internal Mac IP Address

  1. Type in ifconfig |grep inet into the terminal. Your internal IP address will be the entry next to where it says inet.ifconfig |grep inet

Get External Mac IP Address

  1. Type in curl ipecho.net/plain ; echo into the terminal. Your external IP address should appear.curl ipecho.net/plain ; echo

List All Connected USB Devices

  1. Type in system_profiler SPUSBDataType into the terminalsystem_profiler SPUSBDataType

Source Url and Image: Mac OS X Terminal Tutorial
Share:

Best Mac Hex Editors

As a developer sometimes it is useful to see a hex dump of your files to make yourself aware of any errors that could occur while parsing the file. This list is compiled based on our experience with many hex editors and outlines the features of each. Based on your needs one might be better than another.
Our favorite hex editor for Mac OS X is 0xED by Suavetech. This editor has a host of formatting options and lets you edit files as both ASCII and hex. Another really cool feature for those working directly on binary data is the ability to change the value of each byte by manually entering the byte value in binary, decimal, and a few other formats. The editor window lets you also set the endianness when selecting multiple bytes when viewing the decimal values of each group of bytes.
mac hex editor
iHex is also a pretty solid hex editor but it lacks quite a few of the more advanced features that 0xED contains. If you are looking to simply edit a group of bytes or view their corresponding ASCII representations then iHex might be more of what you are looking for. If you are looking to work directly with binary data then 0xED might be the better choice.
Probably right on par with 0xED, synalize it has even more advanced features such as letting you define file formats in XML and have each file automatically parsed and color coded. If you are defining low level protocols and reading large logs of data then defining your format and dumping your hex logs into Synalize It might help your cause.
Source Url: Best Mac Hex Editors
Share:

How To Delete iMessage History On A Mac

In order to clear your iMessage chat history in Mac OS X you will need to get a little clever with the Terminal app.
As of this date the iMessage app does not natively have an option to clear all of your chat logs unless you go through and delete each one manually. However, with some clever terminal commands you can still clear the whole iMessage history at once.
  1. Press command-space bar and type in Terminalopen terminal spotlight
  2. Open Terminalopen terminal
  3. Type in:
    rm -r ~/Library/Messages/chat.*clear iMessage chat history
  4. Quit and reopen iChat and your chat history should now be cleared
Share:

Enable Airdrop Between iPhone and Mac

There used to be no easy way to transfer files from your iPhone to your Mac unless you email yourself the file or otherwise connect your iPhone to your Mac.
As of recently, however, AirDrop supports connectivity from your Mac to your iPhone.
To enable AirDrop from your Mac to your iPhone simply follow these instructions.
  1. Click on Finder and click on AirDrop under Favorites
  2. Click on “Allow me to be discovered by: Everyone”enable airdrop between iphone and mac
You must now do the same on your iPhone.
  1. Swipe up from the bottom of the screen
  2. Click on the AirDrop icon to enable it

    enable airdrop between mac and iphone
Now you should be able to select photos from the Photos app and share it via AirDrop by clicking the sharing icon.
Additionally, if you want to send photos from your Mac to your iPhone you can do it via AirDrop in Finder under Favorites.
Share:

Saturday, April 2, 2016

How to Access Outlook Temp Folder in Mac OS X

Outlook icon
Many Microsoft Office for Mac users may find themselves needing to gain access to the Outlook Temp folder, which is where everything from attachments are stored, to cached version of items that are actively being worked on but that are launched from Outlook as an attachment. For example, if someone emails you a report as an attachment, you open it and are working on it in Word, Excel, Powerpoint, and you save it, this saved document which began as an Outlook attachment will usually be in the Outlook Temp folder.
Let’s quickly find out how to directly access the Outlook Temp folder and the files that you may have saved into that directory, whether it’s files you’re actively working on, various email attachments, HTML signatures, images, PDF, documents, or whatever else.

How to Access the Outlook Temp Folder & Outlook Temp Files in Mac OS X

This applies to all versions of Mac OS X with Outlook:
  1. Navigate to the Finder in Mac OS X, whether it’s the desktop or a folder doesn’t matter
  2. Pull down the “Go” menu and choose “Go To Folder” (or hit Command Shift G if you prefer keystrokes)
  3. Enter the following path:
  4. ~/Library/Caches/TemporaryItems/Outlook Temp/
  5. Click on the “Go” button and you’re now in the Outlook Temp cache folder
  6. Go to Outlook Temp folder on Mac
The Outlook Temp folder contains attachments and other items that are caches created by and used with Outlook, some of them are user facing and some of them are not intended to be.
Outlook Temp folder on a Mac
You can also manually navigate to the Outlook Temp cache folder if you have made the user Library folder visible in Mac OS X, where it would be in the user Library > Caches > Temporary Items > Outlook Temp directory.
Once you’re in the Outlook Temp folder on the Mac you can find the file(s) you are looking for, whether they’re attachments you have been editing, or want to make a copy of, or whatever else.
Another option of course is to open the attachment in Word or Excel that you were working on, and using the File > Save As option to save a copy of the temp outlook file to another location that is more user friendly.
By the way, this is specifically for accessing the Outlook application temporary folder, it does not apply to an Outlook.com account used in Mail app in mac OS X, because Mail app has it’s own unique and different temporary folders for cache.
Share:

How to Adjust Force Click Touch Pressure on Mac Trackpads

Force Touch trackpad tricks
Force Click and Force Touch (now called 3D Touch) are able to perform secondary actions by detecting pressure placed on a Mac Trackpad, but some users find that it can either be too easy or too difficult to activate. Fortunately the Mac provides a simple way to adjust the amount of touch pressure necessary to trigger Force Click in OS X, so if you’d like to switch it up you can easily change this setting on a compatible Mac, MacBook, or MacBook Pro.

Obviously you’ll need a Force Click and 3D Touch capable Mac trackpad to have this option, any 2015 or later model year MacBook Pro and the Magic Trackpad 2 has the ability while older models and trackpads do not.

How to Change Force Click Pressure on Trackpads with Mac OS X

You’ll need Force Click and haptic feedback enabled to be able to adjust the pressure of the feature, if you chose to disable Force Click on a Mac trackpad you’ll want to turn that back on before this will be functional as intended:
  1. GO to the  Apple menu and choose “System Preferences” then go to “Trackpad
  2. Select the “Point & Click” tab, be sure that “Force click and haptic feedback” is checked to be ON
  3. Look for the “Click” slider switch and change this setting to fit the desired Force Click pressure:
    • Light – a gentle press activates a click and Force Click
    • Medium – the default option for click and Force Click pressure
    • Firm – firm deliberate click pressure must be placed on the trackpad to activate Force Click
    Adjust Force Click touch pressure on Mac trackpad
  4. Test out the new setting in the little preview window to the right, when satisfied leave System Preferences to keep the change
This can be a nice change for Mac trackpad users, particularly if they discovered they’re accidentally enabling the force click when it wasn’t intended, and also for users who found it too difficult to activate Force Click based on the default pressure setting.
Force Click is basically 3D Touch for the Mac, it wouldn’t be surprising to have the names merged at some point to 3D Touch given the feature and functionality is quite similar on both iPhone and Mac OS X with compatible trackpads. Speaking of the iPhone side of things, you can also adjust the pressure sensitivity of 3D Touch on iPhone as well, which is just as useful if you find yourself having difficulties on the mobile side of things too.
Share:

How to Disable LTE on iPhone (and Why You Might Want To)


Disable LTE on iPhone
If your iPhone has LTE networking, and most do these days, there are some situations where you may want to disable the LTE cellular network. This can be helpful in a variety of cases, from a self-imposed data throttle of sorts, to even gaining a more stable connection in a situation where you may notice the LTE network will drop or cycle quickly between 3G, LTE, or even 2G / EDGE. That latter situation, which usually occurs in low coverage areas, can lead to quick battery loss or continuously dropped calls, as the iPhone is constantly seeking a signal, and turning off LTE is often a quick remedy for it.
While some cell providers allow you toswitch the data speed directly in the iPhone Settings, which is another approach to the aforementioned issues, not all providers do so. Nonetheless, all providers with LTE do allow you to turn off LTE in one way or another. In any case, here’s how to turn off LTE on an iPhone.

How to Turn Off (or Turn On) LTE on iPhone

  1. Open the Settings app on iPhone and choose “Cellular” at the top of the list
  2. Tap on “Enable LTE” and choose “OFF” (or alternatively, you can set ‘Data Only’ to stabilize some voice calls, or “Voice & Data” as the default)*
  3. Wait a moment for the iPhone cellular connection to cycle on and off again and 3G / 4G should now be on as default with LTE off, as visible in the status bar of the iPhone
  4. Exit Settings and enjoy your slower cell connection
Turn Off LTE on iPhone
* Note that some carriers show “Voice & Data” here instead if they allow you to actually change and set the data speed manually at 3G, LTE, or 2G. That is not the case with all cell providers or cell plans, and when that manual control is absent, disabling LTE will instead cause the iPhone to use either a 3G or 2G connection, whichever is available.
Do note that LTE is dramatically faster than 3G / 4G, and in some areas, 3G is so slow or oversubscribed that it’s practically unusable to transmit any data beyond a block of text. If you’re doing this because you’re hitting your cell plan limit and want to self impose some data throttling, another option would be to simply disable data completely and instead rely only on Wi-Fi while the iPhone is up against the cellular data plan limitation.
This particular iPhone used in the example screen shots is using AT&T with an unlimited data plan, which does not offer the data speed selection directly, but instead will switch to the 3G (4G as AT&T calls it) if LTE has been specifically turned off. I’ve heard from some users that other AT&T plans do give a manual feature that is enabled through a carrier settings update, but that is not the case with this particular device.
For the vast majority of iPhone users, just keep LTE on, the performance is so superior to the other networks that turning it off, even if it may save some battery life, is not worth the speed reduction. If your interest in this is to extend how long an iPhone lasts on a single charge, perhaps a better approach for most users is to use Low Power Mode but keep LTE enabled anyway.
Share:

Subscribe to TIIPSYS

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates