<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Christopher Hacia</title>
	<atom:link href="http://chrishacia.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://chrishacia.com</link>
	<description>Just another Web Developer/Consultant/Engineer San Jose, CA</description>
	<lastBuildDate>Fri, 27 Jan 2012 18:34:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>PHP OS (Operating System) Detection</title>
		<link>http://chrishacia.com/2012/01/php-os-operating-system-detection/</link>
		<comments>http://chrishacia.com/2012/01/php-os-operating-system-detection/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 18:34:31 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[operating system detection]]></category>
		<category><![CDATA[os detection]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://chrishacia.com/?p=122</guid>
		<description><![CDATA[Now a days with cross browser compatibility issues ranging outside of just Windows/PC as Mac&#8217;s and Linux become more user friendly and popular you get issues that aren&#8217;t necessarily the same thing cross OS&#8217;s now. Example something I do in chrome on my Windows PC works well, where on my MAC it fails. So what [...]]]></description>
			<content:encoded><![CDATA[<p>Now a days with cross browser compatibility issues ranging outside of just Windows/PC as Mac&#8217;s and Linux become more user friendly and popular you get issues that aren&#8217;t necessarily the same thing cross OS&#8217;s now. Example something I do in chrome on my Windows PC works well, where on my MAC it fails. So what do I do? I spend either a lot of time making it work for both often losing functionality or I make two different versions one working for the need of each OS. How do I detect the OS? easy Ill show you in a second.<br />
The other reason someone may want to have OS detection is cause they offer software for example. For all platforms. But to make the user experience more friendly they want to give the user the ability to download the software faster, without having to dig through a list of all operating systems for there match. This is a quick way to build a landing page based on OS as well.</p>
<pre lang="php>
	function getUserOS(){
	$osList = array
	(
		'Windows 7' => 'windows nt 6.1',
		'Windows Vista' => 'windows nt 6.0',
		'Windows Server 2003' => 'windows nt 5.2',
		'Windows XP' => 'windows nt 5.1',
		'Windows 2000 sp1' => 'windows nt 5.01',
		'Windows 2000' => 'windows nt 5.0',
		'Windows NT 4.0' => 'windows nt 4.0',
		'Windows Me' => 'win 9x 4.9',
		'Windows 98' => 'windows 98',
		'Windows 95' => 'windows 95',
		'Windows CE' => 'windows ce',
		'Windows (version unknown)' => 'windows',
		'OpenBSD' => 'openbsd',
		'SunOS' => 'sunos',
		'Ubuntu' => 'ubuntu',
		'Linux' => '(linux)|(x11)',
		'Mac OSX Beta (Kodiak)' => 'mac os x beta',
		'Mac OSX Cheetah' => 'mac os x 10.0',
		'Mac OSX Puma' => 'mac os x 10.1',
		'Mac OSX Jaguar' => 'mac os x 10.2',
		'Mac OSX Panther' => 'mac os x 10.3',
		'Mac OSX Tiger' => 'mac os x 10.4',
		'Mac OSX Leopard' => 'mac os x 10.5',
		'Mac OSX Snow Leopard' => 'mac os x 10.6',
		'Mac OSX Lion' => 'mac os x 10.7',
		'Mac OSX (version unknown)' => 'mac os x',
		'Mac OS (classic)' => '(mac_powerpc)|(macintosh)',
		'QNX' => 'QNX',
		'BeOS' => 'beos',
		'OS2' => 'os/2',
		'SearchBot'=>'(nuhk)|(googlebot)|(yammybot)|(openbot)|(slurp)|(msnbot)|(ask jeeves/teoma)|(ia_archiver)'
	);

	$useragent = $_SERVER['HTTP_USER_AGENT'];
	$useragent = strtolower($useragent);

	foreach($osList as $os=>$match) {
		if (preg_match('/' . $match . '/i', $useragent)) {
			break;
		}
		else
		{
			//$os = "Not automatically detected.$useragent";
			$os = "unknown";
		}
	}

	return $os;
	}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://chrishacia.com/2012/01/php-os-operating-system-detection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Random String Generator a-z 0-9 function</title>
		<link>http://chrishacia.com/2012/01/php-random-string-generator-a-z-0-9-function/</link>
		<comments>http://chrishacia.com/2012/01/php-random-string-generator-a-z-0-9-function/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 18:29:21 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[random password]]></category>
		<category><![CDATA[random string]]></category>

		<guid isPermaLink="false">http://chrishacia.com/?p=120</guid>
		<description><![CDATA[Lets face it sometimes there&#8217;s just a need to have a random string for whatever purpose usually an initial password if you want to create a verification method for your site, usually a randomly generated password someone has to input first is a good means. Its one of the easier ones I know that. But [...]]]></description>
			<content:encoded><![CDATA[<p>Lets face it sometimes there&#8217;s just a need to have a random string for whatever purpose usually an initial password if you want to create a verification method for your site, usually a randomly generated password someone has to input first is a good means. Its one of the easier ones I know that. But whatever the case, its needed now and again. Most methods Ive come across however for this purpose don&#8217;t work well. One that I found recently via search actually broke more than it didn&#8217;t when I bench-marked it through a simple foreach loop. Which forced me to rewrite a part of it at which point the breaking didn&#8217;t occur so here it is.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> randomString<span style="color: #009900;">&#40;</span><span style="color: #000088;">$howbig</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
&nbsp;
		<span style="color: #000088;">$chars</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;abcdefghijkmnopqrstuvwxyz023456789&quot;</span><span style="color: #339933;">;</span> 
		<span style="color: #990000;">srand</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>double<span style="color: #009900;">&#41;</span><span style="color: #990000;">microtime</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">*</span><span style="color: #cc66cc;">1000000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
		<span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> 
		<span style="color: #000088;">$pass</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span> 
&nbsp;
		<span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;=</span> <span style="color: #000088;">$howbig</span><span style="color: #009900;">&#41;</span>
		<span style="color: #009900;">&#123;</span> 
			<span style="color: #000088;">$num</span> <span style="color: #339933;">=</span> <span style="color: #990000;">rand</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">%</span> <span style="color: #cc66cc;">33</span><span style="color: #339933;">;</span> 
			<span style="color: #000088;">$tmp</span> <span style="color: #339933;">=</span> <span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$chars</span><span style="color: #339933;">,</span> <span style="color: #000088;">$num</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
			<span style="color: #000088;">$pass</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$pass</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$tmp</span><span style="color: #339933;">;</span> 
			<span style="color: #000088;">$i</span><span style="color: #339933;">++;</span> 
		<span style="color: #009900;">&#125;</span> 
&nbsp;
	<span style="color: #b1b100;">return</span> <span style="color: #000088;">$pass</span><span style="color: #339933;">;</span> 
	<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://chrishacia.com/2012/01/php-random-string-generator-a-z-0-9-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP mail() with HTML output in a Simple to re-use function</title>
		<link>http://chrishacia.com/2012/01/php-mail-with-html-output-in-a-simple-to-re-use-function/</link>
		<comments>http://chrishacia.com/2012/01/php-mail-with-html-output-in-a-simple-to-re-use-function/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 18:18:40 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[html mail]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://chrishacia.com/?p=116</guid>
		<description><![CDATA[Ok, I could go into a long description here but I won&#8217;t I know most of you who are going to end up landing on this page are only here for one thing, and one thing only. Code. So Ill keep it short.. I know generally speaking searching for this concept is not the easiest [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, I could go into a long description here but I won&#8217;t I know most of you who are going to end up landing on this page are only here for one thing, and one thing only. Code. So Ill keep it short.. I know generally speaking searching for this concept is not the easiest task. I did a couple years ago cause I got sick of doing one of two things. First was just send plain text email to people through my sites. Or second manually open an email and format my email to look pretty that way. Both of which I didn&#8217;t like to do. Seeing as your here that tells me you have a similar logic to some extent at least. So with that I present an easy to re-use function that will conform PHP&#8217;s core mail() function into something you can use to send email that is formatted with HTML. Without having to go use some chunky over weight plugin or 3rd party service that will cost you an arm and a leg monthly to use.</p>
<p>The basis is. You build a string that is your formatted HTML for the body and template it accordingly with variables to use along side with your forms. So it can auto insert the name, email, whatever else have you into the message being sent. Then the mail gets sent. The function is also deviced to mimic the behavior of PHP&#8217;s mail() where its the same syntax as the function to call it.</p>
<p>Bare in mind this post is basically your gate way to the concept. Of which I may dive deeper into in another post one day. I may refine this function a bit in the future as I do have a couple ideas floating around recently to enhance it based on a need someone recently brought to my attention but again that&#8217;s another post for another day.</p>
<p>Now on to the code.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #000000; font-weight: bold;">function</span> mailSomeone<span style="color: #009900;">&#40;</span><span style="color: #000088;">$toWho</span><span style="color: #339933;">,</span> <span style="color: #000088;">$fromWho</span><span style="color: #339933;">,</span> <span style="color: #000088;">$sysSubj</span><span style="color: #339933;">,</span> <span style="color: #000088;">$sysMsg</span><span style="color: #009900;">&#41;</span>
	<span style="color: #009900;">&#123;</span>
		<span style="color: #000088;">$msgTemplate</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'
		&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
		&lt;html&gt;
		&lt;head&gt;
		&lt;title&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$sysSubj</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/title&gt;
		&lt;/head&gt;
		&lt;style type=&quot;text/css&quot;&gt;
			body{background: #EDEBEA;}
			#wrapper{background:#FFF;border:4px solid #DDD;width:650px;}
		&lt;/style&gt;
		&lt;/head&gt;
		&lt;body&gt;
		&lt;div id=&quot;wrapper&quot;&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$sysMsg</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/div&gt;
		&lt;/body&gt;
		&lt;/html&gt;
		'</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$headers</span>  <span style="color: #339933;">=</span> <span style="color: #0000ff;">'MIME-Version: 1.0'</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'Content-type: text/html; charset=iso-8859-1'</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'Content-type: text/html; charset=us-ascii'</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'From:'</span> <span style="color: #339933;">.</span><span style="color: #000088;">$fromWho</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'Reply-To: '</span> <span style="color: #339933;">.</span><span style="color: #000088;">$fromWho</span><span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'1\r\nX-MSMail-Priority: High'</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
		<span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'X-Mailer: MonkeyTooth Productions Mail Controller v2.0'</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
		<span style="color: #990000;">mail</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$toWho</span><span style="color: #339933;">,</span> <span style="color: #000088;">$sysSubj</span><span style="color: #339933;">,</span> <span style="color: #000088;">$sysMsg</span><span style="color: #339933;">,</span> <span style="color: #000088;">$headers</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Worth mentioning is <strong>$sysMsg</strong> This would be your HTML string essentially anything you would want between the <strong>body</strong> tags on a site would go in this string. However if you notice the whole <strong>$msgTemplate</strong> in the function you will notice it looks exactly like the typical source of a HTML page by itself, and it is. With that you can also apply style tags to the head like you would to a site.</p>
<p>Only thing to remember is if your including images whether it be through CSS styling or in the body. You have to give them the full URL from your site as any attached images in an email will not work, not to mention it makes the email bulkier in download size, and as a general rule of thumb although possible its not worth the mess you don&#8217;t typically attach files to emails coming from web based apps. You link to them from your server. So what I am generally saying with this is if your going to send nice looking emails through your own personalized template make an extra directory on your server and put the images or what ever have you in there so they will always be accessable to the web so when someone opens up the email there email isp/software can download the images in the viewer.</p>
<p>Note: Depending on how you form your email they can end up in spam boxes, it sucks I know, but theres no one way to prevent it from happening on all systems around the world each company has different filters and it just happens. If your email is ending up in spam boxes globally, maybe its time to reconsider what your saying and or doing with them. Its also worth checking to see if your HOST has been blacklisted as a lot of Shared hosting providers are.</p>
]]></content:encoded>
			<wfw:commentRss>http://chrishacia.com/2012/01/php-mail-with-html-output-in-a-simple-to-re-use-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mattel Barbie: Hope (Cancer Awareness) Campaign</title>
		<link>http://chrishacia.com/2012/01/mattel-barbie-hope-cancer-awareness-campaign/</link>
		<comments>http://chrishacia.com/2012/01/mattel-barbie-hope-cancer-awareness-campaign/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 05:25:42 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://chrishacia.com/?p=105</guid>
		<description><![CDATA[This is interesting the other day I ranted about how toy companies, Mattel in specific for the particular post in question. Talking about how they amongst other toy companies don&#8217;t really cater to anyone outside the norm, and really people in the norm. I was in sorts ranting about how Mattel makes all these &#8220;fabulous&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>This is interesting the other day I ranted about how toy companies, Mattel in specific for the particular post in question. Talking about how they amongst other toy companies don&#8217;t really cater to anyone outside the norm, and really people in the norm. I was in sorts ranting about how Mattel makes all these &#8220;fabulous&#8221; hard to reach renditions of how people should look and sell it to impressionable kids (There Barbie line to be more specific). Which was orignally sparked by a post a friend of mine made along the same lines on Facebook.. (Original post &#8220;<a href="http://chrishacia.com/2011/12/mattel-barbie-hope-cancer-awareness/">Mattel Barbie: Hope (Cancer Awareness)</a>&#8220;)</p>
<p>So here I am a a handful of days later and I am doing my normal routine of running down my friends daily posts, and posts by all my &#8220;liked&#8221; pages and I see.</p>
<p><a href="http://chrishacia.com/wp-content/uploads/2012/01/2012-01-12_2110.png" rel="lightbox[105]"><img class="aligncenter size-medium wp-image-107" title="2012-01-12_2110" src="http://chrishacia.com/wp-content/uploads/2012/01/2012-01-12_2110-298x300.png" alt="" width="298" height="300" /></a></p>
<p>Which I thought was awesome. What it is, is someone campaigning for the same concept, actually trying to get Mattel to make a Barbie character that is bald for children who endure things like chemo and end up losing there hair. In a sense making something that may actually help them coupe a little bit better with everything that is going on in their life&#8217;s a little bit more.</p>
<p>The page the shared facebook link goes to is: <a href="http://www.facebook.com/BeautifulandBaldBarbie">http://www.facebook.com/BeautifulandBaldBarbie</a> for those who are curious and wish to follow up further, as I intend to follow myself. Well anyway found that interesting felt like sharing. I seriously hope some day companies like Mattel actually start doing things like this more and more. It isn&#8217;t fair to society as a whole to shine a beacon of light on only one way of being. Barbies in particular for several reason but that&#8217;s maybe more to rant on another day.</p>
]]></content:encoded>
			<wfw:commentRss>http://chrishacia.com/2012/01/mattel-barbie-hope-cancer-awareness-campaign/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hijack Prevention with Multiple Passwords</title>
		<link>http://chrishacia.com/2012/01/hijack-prevention-with-multiple-passwords/</link>
		<comments>http://chrishacia.com/2012/01/hijack-prevention-with-multiple-passwords/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 20:06:34 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://chrishacia.com/?p=101</guid>
		<description><![CDATA[In a previous post (Google 2-Step Verification) I mention that it may be a wise idea for you to have multiple passwords for all your various accounts on the internet. However I barely elaborated on why its a good idea. I know in general everyone here doesn&#8217;t want to fathom the idea of having multiple passwords [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://chrishacia.com/wp-content/uploads/2012/01/puzzlekey.jpg" rel="lightbox[101]"><img class="alignleft size-thumbnail wp-image-102" style="margin: 6px;" title="puzzlekey" src="http://chrishacia.com/wp-content/uploads/2012/01/puzzlekey-150x150.jpg" alt="" width="150" height="150" /></a>In a previous post (<em><a href="http://chrishacia.com/2011/12/google-2-step-verification/">Google 2-Step Verification</a></em>) I mention that it may be a wise idea for you to have multiple passwords for all your various accounts on the internet. However I barely elaborated on why its a good idea. I know in general everyone here doesn&#8217;t want to fathom the idea of having multiple passwords across multiple accounts, in some cases its hard enough to remember the one you use let alone having multiples. The thoughts I&#8217;m sure ring to the tune of something like &#8220;I&#8217;m just going to forget which account has which password&#8221;. So like the mass majority of people self included in some cases the password I use for one place is the same in several others, although with me I am slowly as I think about it when I log into various services I am converting my passwords over to random, unique and different passwords per service.</p>
<p><img class="alignright size-thumbnail wp-image-103" style="margin: 6px;" title="hijack" src="http://chrishacia.com/wp-content/uploads/2012/01/hijack-150x150.png" alt="" width="150" height="150" /></p>
<p>&nbsp;</p>
<p>So, why is it a good idea? Well the best answer is and likely the number one key answer is. If any of your given accounts anywhere get hijacked chances are that hijacker if they are savvy enough (and most are), they will go try all the most commonly used services such as facebook, twitter, google+, etc.. Or say your email account is hijacked, chances are you have sensitive data in your email stored for easy access from anywhere. Maybe a bank statement, or utility bill, whatever might have online access to work with them how bout PayPal? Thats a nice example, or how about eBay maybe? So now in theory a hijacker has your account info for one account, then they have a wealth of other info they find out by trying the above mentioned and similar services with the same combination of user/pass they hijacked the first account with. Chances are if your like the majority that combo will unlock almost everything with your name on it? Am I right?</p>
<p>Now there are other reasons but minor in comparison as to why its a great idea to have multiple passwords, for multiple accounts. With that you&#8217;re likely thinking I might be right now, but how do you manage what will likely be a 20+ different passwords across your daily habits and maybe another 20 else where. Well the easiest way is in my own opinion at least is <a href="https://lastpass.com/">LastPass</a>. It has cross browser support, works on Windows, Mac, and Linux. It comes in multiple flavors from stand alone app to integration into your favorite browser (except IE, but IE sucks and you shouldn&#8217;t be using it anyway if you want a good experience surfing the web, maybe Ill beat a dead horse and post about that another day as well).</p>
<p>Another thing I like about <a href="https://lastpass.com/">LastPass</a> is that it has a random password generator quickly generate a random password, set it, and save it then basically forget it. <a href="https://lastpass.com/">LastPass</a> works on any number of computers with an internet connection so your passwords basically come with you anywhere you go. By the way, <a href="https://lastpass.com/">LastPass</a> is not sponsoring me to say this for any reason and I gain nothing from doing so, I just say it how it is, thats just how I am. There are plenty of other similar apps some that have been around much longer than <a href="https://lastpass.com/">LastPass</a> but despite its age its just about the best app for the purpose I have found to date thus far. They also own another app <a href="http://www.xmarks.com/">FoxMarks</a> which does basically the same thing for bookmarks in your browser as its counter part does for passwords allowing you to bring them with you anywhere you go as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://chrishacia.com/2012/01/hijack-prevention-with-multiple-passwords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How-to DIY: iPad/Tablet Holder from a DVD Case</title>
		<link>http://chrishacia.com/2012/01/how-to-diy-ipadtablet-holder-from-a-dvd-case/</link>
		<comments>http://chrishacia.com/2012/01/how-to-diy-ipadtablet-holder-from-a-dvd-case/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 18:20:28 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[android tablet stand]]></category>
		<category><![CDATA[htc]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[ipad stand]]></category>
		<category><![CDATA[tablet stand]]></category>

		<guid isPermaLink="false">http://chrishacia.com/?p=93</guid>
		<description><![CDATA[Why spend $20-$50 or more on device to prop you&#8217;re iPad or other similar tablet/device up hands free when you can achieve the same effect for $2 or less. Chances are you already have the materials lying around the house to make this stand as is. All you need is a DVD / Game case [...]]]></description>
			<content:encoded><![CDATA[<p>Why spend $20-$50 or more on device to prop you&#8217;re iPad or other similar tablet/device up hands free when you can achieve the same effect for $2 or less. Chances are you already have the materials lying around the house to make this stand as is. All you need is a DVD / Game case (example below), A length of ribbon (or yarn or string or even a shoe lace) I&#8217;d say 6 to 8 inches give or take should be suitable, a pair of scissors, and about 3 minutes of your time.</p>
<p>[video coming soon]</p>
<p>The original How-To DIY video can be found here: <a href="http://www.youtube.com/watch?feature=player_embedded&amp;v=AEG6mcwvJrU">http://www.youtube.com/watch?feature=player_embedded&amp;v=AEG6mcwvJrU</a> (credit to  <a dir="ltr" href="http://www.youtube.com/user/chauppiLu" rel="author">chauppiLu</a>)</p>
<p><a href="http://chrishacia.com/wp-content/uploads/2012/01/DVDCase.jpg" rel="lightbox[93]"><img class="alignnone size-thumbnail wp-image-95" title="DVDCase" src="http://chrishacia.com/wp-content/uploads/2012/01/DVDCase-150x150.jpg" alt="" width="150" height="150" /></a> &lt;- example of the type of case you should use, you can pick them up at bestbuy, target, walmart and other similar stores pretty cheap (assuming you don&#8217;t have one already laying about from an old game or movie you lost/scratched where you said to yourself this may come in handy one day.</p>
]]></content:encoded>
			<wfw:commentRss>http://chrishacia.com/2012/01/how-to-diy-ipadtablet-holder-from-a-dvd-case/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mattel Barbie: Hope (Cancer Awareness)</title>
		<link>http://chrishacia.com/2011/12/mattel-barbie-hope-cancer-awareness/</link>
		<comments>http://chrishacia.com/2011/12/mattel-barbie-hope-cancer-awareness/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 05:39:43 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://chrishacia.com/?p=91</guid>
		<description><![CDATA[I was just skimming through my Facebook feed, when I see a post (likely a repost) that says: &#8220;Mattel should make a Barbie with no hair, dress it in pink and call her Hope. So all the little girls fighting cancer can feel pretty. Where 99% of the proceeds go to St. Judes&#8221; Which made [...]]]></description>
			<content:encoded><![CDATA[<p>I was just skimming through my Facebook feed, when I see a post (likely a repost) that says:</p>
<p>&#8220;Mattel should make a Barbie with no hair, dress it in pink and call her Hope. So all the little girls fighting cancer can feel pretty. Where 99% of the proceeds go to St. Judes&#8221; </p>
<p>Which made me think Damn, that&#8217;s a good idea, it serves two purposes, one it raises awareness in small children without cancer on what cancer is, assuming parents aren&#8217;t outraged by the notion of what might otherwise be considered ugly and try to boycott the idea cause they are to close minded. The other purpose is plain as day and said in the quoted post from fb. Three purposes if Mattel actually did it and then followed it up with donations.</p>
<p>But who knows, I&#8217;m sure at Mattel HQ the idea has to have been tossed around at one point or another. But It&#8217;s likely to be a doomed concept due to those parents above mentioned. So if no money is to be made, why bother I&#8217;m sure is the logic to apply the axe to the idea stems from corporate greed. More money comes from making Barbie a super whore and telling children It&#8217;s ok to be a whore. Because parents support the idea that that&#8217;s pretty..</p>
<p>Personally I think Mattel should make Hope.. but I digress.. anyway felt like sharing a random point of view..</p>
]]></content:encoded>
			<wfw:commentRss>http://chrishacia.com/2011/12/mattel-barbie-hope-cancer-awareness/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SOPA: Domain Transfer Counter</title>
		<link>http://chrishacia.com/2011/12/sopa-domain-transfer-counter/</link>
		<comments>http://chrishacia.com/2011/12/sopa-domain-transfer-counter/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 04:40:57 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://chrishacia.com/?p=66</guid>
		<description><![CDATA[Well after reading through some more articles, comments, etc.. I noticed a comment from a facebook user Dan Lynn. Who said &#8220;Has anyone set up a counter for # of domains transferred away? Hard to prove, yes, but it would be cool to watch.&#8221; Which actually sparked my curiosity, and with that I know its [...]]]></description>
			<content:encoded><![CDATA[<p>Well after reading through some more articles, comments, etc.. I noticed a comment from a facebook user <a href="http://www.facebook.com/danklynn">Dan Lynn</a>. Who said &#8220;Has anyone set up a counter for # of domains transferred away? Hard to prove, yes, but it would be cool to watch.&#8221; Which actually sparked my curiosity, and with that I know its not going to be official, and not everyone in the world will come here to stake there claim but it is funny to think how many will and just as equally I find it a curious thought. So with that I am set out to make that counter now.</p>
<p>I know for one I am about to move my 100+ domains out by the end of next week. How many have you moved or plan to move? Share with the world here.. Sorry this isn&#8217;t pretty if it actually takes off I will rebuild it.</p>
<p>&nbsp;</p>
<p>I was initially starting to build it here within my blog, but I said, why bother to myself. You want to add your domain counts to the unofficial official count? check out <a title="SOPA Stats - How many domains will be transfered from PRO SOPA Registrar's?" href="http://www.sopastats.com">http://www.sopastats.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://chrishacia.com/2011/12/sopa-domain-transfer-counter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SOPA: Cancer of the Internet (Goodbye Godaddy)</title>
		<link>http://chrishacia.com/2011/12/sopa-cancer-of-the-internet-goodbye-godaddy/</link>
		<comments>http://chrishacia.com/2011/12/sopa-cancer-of-the-internet-goodbye-godaddy/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 02:24:30 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[godaddy]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[sopa]]></category>

		<guid isPermaLink="false">http://chrishacia.com/?p=62</guid>
		<description><![CDATA[Well after re-reading my last post (SOPA: Cancer of the Internet) and still keeping in mind the article I read prior that sparked that post (Cheezburger’s Ben Huh: If GoDaddy Supports SOPA, We’re Taking Our 1000+ Domains Elsewhere). I am starting to feel like I am going to Follow Ben Huh and move my 100+ domains [...]]]></description>
			<content:encoded><![CDATA[<p>Well after re-reading my last post (<a href="http://chrishacia.com/2011/12/sopa-cancer-of-the-internet/">SOPA: Cancer of the Internet</a>) and still keeping in mind the article I read prior that sparked that post (<a href="http://techcrunch.com/2011/12/22/cheezburgers-ben-huh-if-godaddy-supports-sopa-were-taking-our-1000-domains-elsewhere/">Cheezburger’s Ben Huh: If GoDaddy Supports SOPA, We’re Taking Our 1000+ Domains Elsewhere</a>). I am starting to feel like I am going to Follow <strong>Ben Huh</strong> and move my 100+ domains off of Godaddy I think my oldest domain with Godaddy is about 12 years old, and despite currently not really doing much with my domains other than letting them collect dust. I am not one who is for SOPA, I mean if SOPA was more defined maybe. But not in its current standing. I am off to find a registrar that is against SOPA and has no inkling of accepting the notion.</p>
<p>If you have any suggestions I am all ears. List them in the comments, I will eventually compile a list of worth registrars, as I am going to have to do a lot of reading and research before I move my domains somewhere. Not only cause moving 100+ domains not easy more so the way I have them configured, but at the end of the day up til this point as far as domains go with Godaddy the service owns all in my opinion at least, Though I really can&#8217;t say the same for the rest of there would be services. What also doesn&#8217;t help godaddy&#8217;s cause is the plain simple fact that they are regularly upping there prices lately too but thats another point for another day (maybe).</p>
]]></content:encoded>
			<wfw:commentRss>http://chrishacia.com/2011/12/sopa-cancer-of-the-internet-goodbye-godaddy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SOPA: Cancer of the Internet</title>
		<link>http://chrishacia.com/2011/12/sopa-cancer-of-the-internet/</link>
		<comments>http://chrishacia.com/2011/12/sopa-cancer-of-the-internet/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 02:08:07 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[sopa]]></category>

		<guid isPermaLink="false">http://chrishacia.com/?p=60</guid>
		<description><![CDATA[What is SOPA you ask? SOPA is an ancrony for &#8220;Stop Online Piracy Act&#8221; view a more in-depth definition at Wikipedia. Now while this in concept may not sound so bad, and may actually come across as a noble concept of trying to put an end to illegal distribution of copyrighted materials such as music, movies, software, books, basically anything that [...]]]></description>
			<content:encoded><![CDATA[<p>What is SOPA you ask? SOPA is an ancrony for &#8220;Stop Online Piracy Act&#8221; view a more in-depth definition at <a title="Stop Online Piracy Act" href="http://en.wikipedia.org/wiki/Stop_Online_Piracy_Act">Wikipedia</a>. Now while this in concept may not sound so bad, and may actually come across as a noble concept of trying to put an end to illegal distribution of copyrighted materials such as music, movies, software, books, basically anything that can be digitalized and copied in a not so legal fashion.</p>
<p>The cruel ugly fact remains that it will be forever possible. I don&#8217;t say this cause I support such activities but you have to put it into perspective. If there&#8217;s a will there&#8217;s a way, when one person or set of people put there mind to crossing that line and start producing illegal copies of all the above mentioned they will eventually do it. Fail safes are put into line to try and prevent everyday normal people from getting around obtaining things free. But those fails safes are built, if your clever enough you will find a way to hinder those methods. Its been a battle between companies and pirates of software for well over a decade.</p>
<p>Now here is where SOPA comes in. SOPA is more so or less a collection of big industry players such as the <a title="Recording Industry Association of America - Wikipedia, the free ..." href="http://en.wikipedia.org/wiki/Recording_Industry_Association_of_America" target="">RIAA </a>and <a title="MPA - Wikipedia, the free encyclopedia" href="http://en.wikipedia.org/wiki/MPA" target="">MPA </a>crying broke cause many people the world over download MP3s and Movies cause they can&#8217;t afford to pay 30 dollars to go see a movie or pay for those 15-30 songs they like so much. I think it was best said by the people over at <a title="MAFIAAFire" href="http://freeeedom.info/mafiaafire_MIRROR/wall-of-text.php">MAFIAAFire</a> (note this isn&#8217;t a politically correct document, they say it how they see it and how they feel about it).</p>
<p>Anywho the bottom line to this article is today on TechCrunch I read an <a href="http://techcrunch.com/2011/12/22/cheezburgers-ben-huh-if-godaddy-supports-sopa-were-taking-our-1000-domains-elsewhere/">article</a> that made me realize SOPA is coming to fruition in particular with <a title="Domain Names, Web Hosting and SSL Certificates - Go Daddy" href="http://www.godaddy.com/" target="">Godaddy</a>, where I have my 100+ domains registered and have had them there for some years now. They are openly supporting SOPA. Which makes me want to jump ship with them after all these years of great service from them.</p>
<p>Now why am I saying that. I did mention this Act is the Cancer of the Internet after all. I say this because of the underlying factor that if you go and find the actual SOPA draft you will find there is very little control over the notion and just as much regulation of how this act is to be moderated. Basically if Company X decides that they don&#8217;t like what I have to say about a movie, or if I post a video of my son which happens to have a radio on in the background playing some song and Company X doesn&#8217;t like that the song is there they can issue a demand to just have my domain removed from my ownership and have my site shut down. Note how I mentioned barely any control or regulation towards how these requests are made. Basically what will happen is with out investigation and without much more than maybe an email I can allegedly contest but won&#8217;t get any reply from; A company can just say hey I don&#8217;t like this dispatch the request and likely within days my sites gone.</p>
<p>Another thing to think about is, what does this do to sites like youtube, facebook, myspace, twitter, etc? Are all of our accounts going to get deleted and the sites shut down because in all SOPA seeks to take freedom of speech away the internet? Oh no, you quoted a movie your account is now suspended. Think about it.</p>
<p>&nbsp;And now an interesting song/video I came across on the subject (NSFW: adult language)<br />
<iframe width="560" height="315" src="http://www.youtube.com/embed/1w6GtwOvnWM?rel=0" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://chrishacia.com/2011/12/sopa-cancer-of-the-internet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

