<?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>Evidia Ltd</title>
	<atom:link href="http://www.evidia.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.evidia.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 27 Sep 2011 20:48:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Insert from another table where record does not exist</title>
		<link>http://www.evidia.com/blog/?p=62</link>
		<comments>http://www.evidia.com/blog/?p=62#comments</comments>
		<pubDate>Tue, 27 Sep 2011 20:48:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.evidia.com/blog/?p=62</guid>
		<description><![CDATA[insert into rosternspc(NSPid,`First`,Last,Region) select summary2010.NSPid,summary2010.`First`,summary2010.Last,summary2010.Region from summary2010 where not exists (select * from rosternspc where rosternspc.nspid = summary2010.NSPid) order by nspid]]></description>
			<content:encoded><![CDATA[<p>insert into rosternspc(NSPid,`First`,Last,Region) select summary2010.NSPid,summary2010.`First`,summary2010.Last,summary2010.Region from summary2010 where not exists (select * from rosternspc where rosternspc.nspid = summary2010.NSPid) order by nspid</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evidia.com/blog/?feed=rss2&#038;p=62</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Loop Variables</title>
		<link>http://www.evidia.com/blog/?p=59</link>
		<comments>http://www.evidia.com/blog/?p=59#comments</comments>
		<pubDate>Mon, 19 Sep 2011 14:41:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.evidia.com/blog/?p=59</guid>
		<description><![CDATA[function validate(this) { for(i=0; i&#60;this.elements.length; i++) { document.write(&#8220;The field name is: &#8221; + this.elements[i].name + &#8221; and it’s value is: &#8221; + this.elements[i].value + &#8220;.&#60;br /&#62;&#8221;); } }]]></description>
			<content:encoded><![CDATA[<p>function validate(this)<br />
{<br />
for(i=0; i&lt;this.elements.length; i++)<br />
{<br />
document.write(&#8220;The field name is: &#8221; + this.elements[i].name + &#8221; and it’s value is: &#8221; + this.elements[i].value + &#8220;.&lt;br /&gt;&#8221;);<br />
}<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evidia.com/blog/?feed=rss2&#038;p=59</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DomainKeys / DKIM</title>
		<link>http://www.evidia.com/blog/?p=43</link>
		<comments>http://www.evidia.com/blog/?p=43#comments</comments>
		<pubDate>Mon, 01 Aug 2011 03:26:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Webhosting]]></category>

		<guid isPermaLink="false">http://www.evidia.com/blog/?p=43</guid>
		<description><![CDATA[Why is this such a mystery? It took a lot of digging, but I will outline the steps I took for a linux/apache system to setup SPF and DomainKeys. DKIM is still in the mystery mode, not sure I have that right. I will update this if anything changes. Create Public and Private keys on [...]]]></description>
			<content:encoded><![CDATA[<div>Why is this such a mystery?</div>
<div>It took a lot of digging, but I will outline the steps I took for a linux/apache system to setup SPF and DomainKeys.  DKIM is still in the mystery mode, not sure I have that right.  I will update this if anything changes.</div>
<p>Create Public and Private keys on the server:</p>
<p>$ openssl genrsa -out rsa.private 768</p>
<p>then Create the Public key</p>
<p>$ openssl rsa -in rsa.private -out rsa.public -pubout -outform PEM</p>
<p>. Setup a SPF record.  This is probably the easiest part.  On the account you control your DNS Zone, add the following:</p>
<p>yourdomain.com.  IN TXT &#8220;v=spf1 a:mail.giviton.com a:server1.giviton.com a:giviton.com -all; p=[INSERT PUBLIC KEY HERE]&#8221;</p>
<p>DomainKey DNS Entries:</p>
<p>_domainkey   IN TXT  &#8220;t=n; o=-&#8221;    &#8230;.where t is &#8216;test&#8217;, set to &#8216;y&#8217; if you want in test mode</p>
<p>default._domainkey IN TXT  &#8220;k=rsa; t=n;p=[INSERT PUBLIC KEY HERE]&#8221;  &#8230;where default is defined in the exim config file for DK_SELECTOR</p>
<p>edit exim/configure file</p>
<p>    look for dk_selector &#8211; make sure to update DNS entry accordingly, or add dk_selector to config file</p>
<p>   look for dk_private_key and look for location where private key file is suppose to reside.  Copy those files to that location, or create the dk_private_key entry</p>
<p>if applicable, save and restart exim</p>
<p>Testing:</p>
<p>   Send email to dk@dk.crynwr.com  &#8211; will return with validation that SPF and domainkeys are ok<br />
   Send email to check-auth@verifier.port25.com &#8211; will return validation for domainkey setup</p>
<p>Other references</p>
<p>http://wiki.exim.org/DomainKeys</p>
<p>http://domainkeys.sourceforge.net/</p>
<p>   SpinnakerPro video &#8211; http://www.youtube.com/watch?v=fPrfZWbXGi0</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evidia.com/blog/?feed=rss2&#038;p=43</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove blank lines</title>
		<link>http://www.evidia.com/blog/?p=40</link>
		<comments>http://www.evidia.com/blog/?p=40#comments</comments>
		<pubDate>Tue, 31 May 2011 19:41:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Dreamweaver]]></category>

		<guid isPermaLink="false">http://www.evidia.com/blog/?p=40</guid>
		<description><![CDATA[Open the file Click CTRL + F Select &#8220;Current document&#8221; in &#8220;Find in&#8221; (You can also select the folder if you have multiple files) Search in &#8220;Source code&#8221; Tick &#8220;Use regular expression&#8221; Type &#8220;[\r\n]{2,}&#8221; (without quotes) in &#8220;Find&#8221; Type &#8220;\n&#8221; (without quotes) in &#8220;Replace&#8221; Press &#8220;Replace All&#8221;]]></description>
			<content:encoded><![CDATA[<ol>
<li>Open the file</li>
<li>Click CTRL + F</li>
<li>Select &#8220;Current document&#8221; in &#8220;Find in&#8221; (You can also select the folder if you have multiple files)</li>
<li>Search in &#8220;Source code&#8221;</li>
<li>Tick &#8220;Use regular expression&#8221;</li>
<li>Type &#8220;[\r\n]{2,}&#8221; (without quotes) in &#8220;Find&#8221;</li>
<li>Type &#8220;\n&#8221; (without quotes) in &#8220;Replace&#8221;</li>
<li>Press &#8220;Replace All&#8221;</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.evidia.com/blog/?feed=rss2&#038;p=40</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>clean up spaces in field data</title>
		<link>http://www.evidia.com/blog/?p=37</link>
		<comments>http://www.evidia.com/blog/?p=37#comments</comments>
		<pubDate>Thu, 07 Apr 2011 20:33:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.evidia.com/blog/?p=37</guid>
		<description><![CDATA[update mytable set field = trim(field)]]></description>
			<content:encoded><![CDATA[<p>update mytable set field = trim(field)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evidia.com/blog/?feed=rss2&#038;p=37</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clean out non-breaking space from data</title>
		<link>http://www.evidia.com/blog/?p=34</link>
		<comments>http://www.evidia.com/blog/?p=34#comments</comments>
		<pubDate>Thu, 07 Apr 2011 20:32:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.evidia.com/blog/?p=34</guid>
		<description><![CDATA[update mytable set field = replace(field,char(160),&#8221;")]]></description>
			<content:encoded><![CDATA[<p>update mytable set field = replace(field,char(160),&#8221;")</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evidia.com/blog/?feed=rss2&#038;p=34</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript parseInt &#8211; buggy</title>
		<link>http://www.evidia.com/blog/?p=29</link>
		<comments>http://www.evidia.com/blog/?p=29#comments</comments>
		<pubDate>Wed, 23 Mar 2011 23:56:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Browsers]]></category>

		<guid isPermaLink="false">http://www.evidia.com/blog/?p=29</guid>
		<description><![CDATA[There is a known issue where passing in a value with a leading zero can result in bad results.  For example, if you parseInt(&#8220;09&#8243;), it will return 0 (zero).  The common way to get this to work is to use the &#8216;base number&#8217; parameter.  In the case, we are talking base ten, so the corrective [...]]]></description>
			<content:encoded><![CDATA[<p>There is a known issue where passing in a value with a leading zero can result in bad results.  For example, if you parseInt(&#8220;09&#8243;), it will return 0 (zero).  The common way to get this to work is to use the &#8216;base number&#8217; parameter.  In the case, we are talking base ten, so the corrective call to the javascript function is parseInt(&#8220;09&#8243;,10)&#8230;.this will return the correct &#8217;9&#8242; value.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evidia.com/blog/?feed=rss2&#038;p=29</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mailing List feature on Hosting</title>
		<link>http://www.evidia.com/blog/?p=26</link>
		<comments>http://www.evidia.com/blog/?p=26#comments</comments>
		<pubDate>Wed, 16 Mar 2011 17:35:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Webhosting]]></category>

		<guid isPermaLink="false">http://www.evidia.com/blog/?p=26</guid>
		<description><![CDATA[Not all mailing list programs are created equal.  What I run into is user management basically sucks.  One non-feature is the ability to delete all users easily (assuming you don&#8217;t keep an external list that was loaded in the first place).  Here is how to do it: Set maximum shown users to something big in [...]]]></description>
			<content:encoded><![CDATA[<p>Not all mailing list programs are created equal.  What I run into is user management basically sucks.  One non-feature is the ability to delete all users easily (assuming you don&#8217;t keep an external list that was loaded in the first place).  Here is how to do it:</p>
<ul>
<li>Set maximum shown users to something big in the general options</li>
<li>go to the user page, highlight and copy</li>
<li>Using excel 2010, I can paste special using (Match Destination Formatting)</li>
<li>This creates a column of your membership email addresses</li>
<li>You can copy and paste this into a text document and upload it for the unsubscribe.</li>
</ul>
<p>This keeps you from deleting the entire list, and then having to reconfigure it all.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evidia.com/blog/?feed=rss2&#038;p=26</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dreamweaver CS3 crash when Copy/Paste</title>
		<link>http://www.evidia.com/blog/?p=21</link>
		<comments>http://www.evidia.com/blog/?p=21#comments</comments>
		<pubDate>Sun, 28 Nov 2010 03:42:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Website Design and Development]]></category>

		<guid isPermaLink="false">http://www.evidia.com/blog/?p=21</guid>
		<description><![CDATA[This a occurs when editing a file and you try to copy/paste, and boom&#8230;crash.  It seems to be related to when the daylight savings time is adjusted.  Here is the &#8216;fix&#8217;&#8230;.. Delete WinFileCache-AD76BB20.dat from the dreamweaver user configuration folder.  On XP it is located at C:\Documents and Settings\[username]\Application Data\Adobe\Dreamweaver 9\Configuration]]></description>
			<content:encoded><![CDATA[<p>This a occurs when editing a file and you try to copy/paste, and boom&#8230;crash.  It seems to be related to when the daylight savings time is adjusted.  Here is the &#8216;fix&#8217;&#8230;..</p>
<p>Delete WinFileCache-AD76BB20.dat from the dreamweaver user configuration folder.  On XP it is located at C:\Documents and Settings\<em>[username]</em>\Application Data\Adobe\Dreamweaver 9\Configuration</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evidia.com/blog/?feed=rss2&#038;p=21</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Removing duplicate entries</title>
		<link>http://www.evidia.com/blog/?p=18</link>
		<comments>http://www.evidia.com/blog/?p=18#comments</comments>
		<pubDate>Fri, 22 Oct 2010 13:58:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.evidia.com/blog/?p=18</guid>
		<description><![CDATA[A way to purge duplicate table entries based on duplicate columns(&#62;1).  Assuming no index is yet defined&#8230; alter IGNORE table MyTable add unique key (DUP-ROW-1,DUP_ROW-2) This will add an index made up of dup-row-1 and dup-row-2 and will automatically purge those duplicates out of the table.  If you can leave the index definition, delete it and [...]]]></description>
			<content:encoded><![CDATA[<p>A way to purge duplicate table entries based on duplicate columns(&gt;1).  Assuming no index is yet defined&#8230;</p>
<p>alter IGNORE table MyTable add unique key (DUP-ROW-1,DUP_ROW-2)</p>
<p>This will add an index made up of dup-row-1 and dup-row-2 and will automatically purge those duplicates out of the table.  If you can leave the index definition, delete it and this same command at a later time when you need to purge the table again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evidia.com/blog/?feed=rss2&#038;p=18</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

