Tag Archives: mac os x

Load SSH key at startup for Mac OS X

5 Feb

If your ssh key is not adding and you continuously have to keep doing ssh-add -l ~/.ssh/mykey then do the following to add it to your keychain: ssh-add -K ~/.ssh/mykey   source: http://stackoverflow.com/questions/1909651/svnssh-not-having-to-do-ssh-add-every-time-mac-os keywords: mac osx ssh-add all the time  

MAMP – MySQL can’t connect after OS X Crash

4 Sep

Problem I had my macbook open, it went to sleep and I couldn’t wake it up.  After holding down the powerbutton for over 10 seconds, it turned on.  Everything was fine until I tried to open the MAMP home page.  MySQL couldn’t start.  the error logs showed: InnoDB: Check that you do not already have [...]

Find large files on mac

9 Jul

Found a good article on how to find large files on the Mac OS X.  You can also save it as a smart folder so you can quickly see the largest files on your computer. http://www.chriswrites.com/2012/02/10-tips-to-free-up-hard-drive-space-in-mac-os-x/

How to Remove CVS folders recursively in Terminal

29 Jun

In mac os x terminal (linux) you can navigate to the desired directory and run the following command to remove any specific file or folder. find . -name CVS -exec rm -rf {} \\; Basically a “find” command can be concatenated with other commands so the same operation can be applied recursively to all the [...]

Convert Mac dfont files to TTF format

13 Mar

Windows only accepts TTF font files while Mac format’s their font into Dfont format.  This tool by Peter Upfold lets you convert those beautiful Mac fonts into windows format.  Then with your TTF fonts you can upload them to http://www.font2web.com/ or http://onlinefontconverter.com and make web fonts! http://peter.upfold.org.uk/blog/2008/03/11/dfontsplitter-convert-dfont-files-to-ttf/ What to do about PostScript type files? Say you thought [...]

Mac OS X Linux Stuff

15 Sep

Locations and commands on the Mac OS X vs any other Linux/Unix system are different.  Below are some of the locations and commands I ran across in setting up my macbook as a webserver. apache2 is located in /etc/apache2/ Along with the httpd.conf: /etc/apache2/httpd.conf By default apache2 logs are located at: /var/log/apache2 By default files [...]