Categories
Internet Linux MAC Technology UNIX

Mac Terminal Loading Slow

ASL stands for Apple System Logger. If your Mac is launching Terminal very slowly, try clearing your ASL logs. $ sudo rm -f /private/var/log/asl/*.asl Check out http://www.proposedsolution.com/solutions/osx-terminal-slow-launch for preventative measures. All I did was add the following lines to /etc/asl.conf. = archive 0= utmp_ttl 604800= fs_ttl 604800 “So, you want to know what’s happening right? […]

Categories
Internet Linux MAC Technology UNIX

Cisco VPNClient – Error 51

Error 51: Unable to communicate with the VPN subsystem. Please make sure that you have at least one network interface that is currently active and has an IP address and start this application again. Problem Snow Leopard operates in 32 bit mode by default, Lion is a 64 bit operating system. Cisco’s VPN client only […]

Categories
Code Internet

PHP Switch Statement – output result from selected option

I was asked to come up with a way to give users a list to choose from and output a result based on their selection. I decided to use PHP. I ended up using a Switch Statement to accomplish this task. I am not a PHP expert  but was happy to figure this out on […]

Categories
Design Internet Technology

CSS Basic Template

Here’s a basic CSS template that you can use. There’s a header, a footer, a left side and a right side. You need to create an index.html and mystyle.css file. Place them in the same directory. index.html <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml”> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ /> <link rel=”stylesheet” […]

Categories
Internet MAC Technology

iPod Photo Cache

When adding a bunch of photos to my iPhone, I received an error message stating “Some of your phots, including the photo “IMG_0157.JPG”, were not copied to the iPhone “Tommy’s iPhone” because they cannot be displayed on your iPhone.” I am not sure exactly why this happened but I do know how to fix it. […]