RSS

Author Archives | admin

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


Humor: Make me a sandwich

Thursday, October 9, 2008

2 Comments

Continue reading...

Tips & Tricks: best practices to avoid computer mistakes

Monday, October 6, 2008

1 Comment

Here is my list of hardware and software tips & tricks which might help you avoid making very common mistakes with your computer. They are universal, meaning that I ALWAYS see people making these mistakes. Very few people make any effort to improve their PC skills/experience; perhaps this computer best practices list might help! Hardware: […]

Continue reading...

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...