RSS

Author Archives | admin

admin - who has written 48 posts on Mac Lab: An Apple Macintosh OS X, Mac & PC Blog.


Links to web development Cheat Sheets

Monday, October 6, 2008

2 Comments

Here are a list of web development cheat sheets we have found: CSS cheat sheet: http://www.addedbytes.com/cheat-sheets/download/css-cheat-sheet-v2.png Regular Expression cheat sheet: http://www.addedbytes.com/cheat-sheets/download/regular-expressions-cheat-sheet-v2.png PHP cheat sheet: http://www.addedbytes.com/cheat-sheets/download/php-cheat-sheet-v2.png MySQL cheat sheet: http://www.addedbytes.com/cheat-sheets/download/mysql-cheat-sheet-v1.png HTML cheat sheet: http://www.addedbytes.com/cheat-sheets/download/html-cheat-sheet-v1.png HTML character entities cheat sheet: http://www.addedbytes.com/cheat-sheets/download/html-character-entities-cheat-sheet.png Javascript cheat sheet: http://www.addedbytes.com/cheat-sheets/download/javascript-cheat-sheet-v1.png Ruby on Rails cheat sheet: http://www.addedbytes.com/cheat-sheets/download/ruby-on-rails-cheat-sheet-v1.png

Continue reading...

Add SSL to Mac OS X 10.5 Leopard

Saturday, September 20, 2008

1 Comment

To add SSL to your OS X testing server, you need to configure mod_ssl. Open Terminal and type the following commands: * sudo -s * cd /etc/httpd * mkdir ssl * chmod 700 ssl * cd ssl * gzip -c –best /var/log/system.log > random.dat * openssl rand -rand file:random.dat 0 You now need an SSL […]

Continue reading...

Force redirect to SSL secure page

Saturday, September 20, 2008

2 Comments

Here’s a php code snippet to force the page to https instead of http. You can use a self-signed SSL certificate on your OS X testing server. [sourcecode language=’php’] [/sourcecode]

Continue reading...

How to Force Quit an Application

Friday, September 19, 2008

0 Comments

If your Mac has an application that is frozen, or you have the dreaded spinning beach ball, you probably have an app that will not quit gracefully. Normally the protected memory feature of OS X allows an application to crash and you can keep working — no restart required. Hit the keystroke combination of Option-Apple-Esc […]

Continue reading...

Tips & Tricks: open applications

Thursday, September 18, 2008

0 Comments

Number One tip:  stop quitting your most-used applications! I see scores of people use their PCs. Almost everyone will do the following: Open their browser. Quit (close) their browser. Open their email program. Quit their email program. Open Word. Quit Word. Then they repeat this process. Over and over. STOP. Here’s the tip: keep your […]

Continue reading...

Mac running slow? Check your Memory

Thursday, September 18, 2008

12 Comments

I find myself sharing this tip every week. When your Mac has been used for several days/weeks, the consistent opening and closing of applications chip away at your available memory (RAM). Soon you will be out of what is referred to as “contiguous memory”, and the machine will start using the much slower virtual memory […]

Continue reading...

Photoshop history options

Wednesday, September 17, 2008

1 Comment

We’re not sure why this isn’t on by default. In Photoshop, go to the History palette, select the indicated area, and choose “History Options”. Then in the next screen, check “Allow Non-Linear History”. Deleting a “state” deletes that state and those that came after it. If you choose the Allow Non-Linear History option, deleting a […]

Continue reading...