<?xml version="1.0" encoding="ISO-8859-1"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xml:lang="en-US">
	<title>Cure Consulting</title>
	<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php" />
	<modified>2010-03-11T03:54:33Z</modified>
	<author>
		<name>Aaron Cure</name>
		<email>acure@cureconsulting.com</email>
	</author>
	<copyright>Copyright 2010, Aaron Cure</copyright>
	<generator url="http://www.sourceforge.net/projects/sphpblog" version="0.4.6.1">SPHPBLOG</generator>
	<entry>
		<title>SSL Certs and Mono</title>
		<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php?entry=entry100210-145307" />
		<content type="text/html" mode="escaped"><![CDATA[I was recently plagued with an error while trying to make a connection to a secure website using Mono.  After several hours of searching I came across <a href="http://www.mono-project.com/FAQ:_Security" target="_blank" >this site</a> talking about importing trusted roots.  Having seen this same issue on windows servers, I knew I was in the right area.<br /><br />What I ended up doing was running mozroots --import --machine to import all of the mozilla (aka firefox) browser trusted roots, and then certmgr -ssl -m URL to get the actual cert and add it.]]></content>
		<id>http://www.cureconsulting.com/blog/index.php?entry=entry100210-145307</id>
		<issued>2010-02-10T00:00:00Z</issued>
		<modified>2010-02-10T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Selecting the correct language in Word 2007</title>
		<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php?entry=entry100125-110937" />
		<content type="text/html" mode="escaped"><![CDATA[I know everyone has a favourite language, and so do I.  Unfortunately, I don&#039;t like to spell it favourite, because in the US we spell it favorite!  Word 2007 refused to do this for me on a couple of documents I had, until I found this little trick.<br /><br />1. Ctrl + a to select all<br />2. On the ribbon, click on Review then click Set Language<br />3. Select the language you need<br /><br />done and done.]]></content>
		<id>http://www.cureconsulting.com/blog/index.php?entry=entry100125-110937</id>
		<issued>2010-01-25T00:00:00Z</issued>
		<modified>2010-01-25T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Encrypting and Decrypting Config Files</title>
		<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php?entry=entry091119-053811" />
		<content type="text/html" mode="escaped"><![CDATA[I&#039;ve talked for years about how you need to encrypt and decrypt Web.config and App.config files, but it took a spur for me to actually look it up.  Here is the command for those of you as lazy as me:<br /><br />c:windowsMicrosoft.NETFrameworkv2.0.50727aspnet_regiis -pef connectionStrings . -prov DataProtectionConfigurationProvider<br /><br /><br />Decrypting is just as easy:<br /><br />c:windowsMicrosoft.NETFrameworkv2.0.50727aspnet_regiis -pdf connectionStrings .<br /><br />Just a note, this only works on Web.config files.  If you want to encrypt an App.config, just rename it Web.config, run the tool, then change the name back.<br /><br />If you want to get hardcore and write your own tool, it&#039;s all available in the API:<br /><br /><a href="http://geekswithblogs.net/afeng/archive/2006/12/10/100821.aspx" target="_blank" >Aaron Feng&#039;s Blog</a> <br /><br /><code><br />Configuration configuration = ConfigurationManager.OpenExeConfiguration(appConfig);<br />ConfigurationSection section = this.configuration.GetSection(&quot;connectionStrings&quot;);<br />if (!section.SectionInformation.IsProtected) <br />{<br />section.SectionInformation.ProtectSection(&quot;DataProtectionConfigurationProvider&quot;);<br />section.SectionInformation.ForceSave = true;<br />configuration.Save(ConfigurationSaveMode.Modified);<br />}<br /></code><br /><br />To decrypt just do the oposite:<br /><code><br />if (section.SectionInformation.IsProtected) <br />{<br />// …<br />section.SectionInformation.UnprotectSection();<br />// …<br />}<br /></code>]]></content>
		<id>http://www.cureconsulting.com/blog/index.php?entry=entry091119-053811</id>
		<issued>2009-11-19T00:00:00Z</issued>
		<modified>2009-11-19T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Outlook blocked access to the following potentially unsave attachments:</title>
		<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php?entry=entry091117-093901" />
		<content type="text/html" mode="escaped"><![CDATA[If you&#039;re like me, you&#039;ve likely received an attachment from someone after spending half an hour talking them through attaching it, only to find that Outlook as blocked access to it.  Here&#039;s all you need to do to make the ugly warning go away:<br /><br />1.  In the registry, under HKCUSoftwareMicrosoftOffice(VERSION)OutlookSecurity, add a string value &quot;Level1Remove&quot; and set the data to the extension of the file you need access to, like &quot;tmp&quot; or &quot;exe;ini&quot;.<br /><br />2. Restart Outlook and you now have access to these files.<br /><br />Don&#039;t forget to remove this key when you are done!]]></content>
		<id>http://www.cureconsulting.com/blog/index.php?entry=entry091117-093901</id>
		<issued>2009-11-17T00:00:00Z</issued>
		<modified>2009-11-17T00:00:00Z</modified>
	</entry>
	<entry>
		<title>DVD Flick is the BOMB!!</title>
		<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php?entry=entry090828-065249" />
		<content type="text/html" mode="escaped"><![CDATA[Does anyone say that anymore? I guess now it rips, shreds, something? Anyway.  I just downloaded <a href="http://www.dvdflick.net/" target="_blank" >DVD Flick</a>, an open source dvd rendering and burning program.  Take any video you have, and I mean ANYTHING and this app seems to rip them and spit them out in a nice, standard DVD format.  I took a bunch of DIVX standard stuff I found somewhere and threw them into the app, said &quot;make me a basic menu and burn the dvd&quot; and it worked.  First time.  No fuss, no muss.  It just works.<br />]]></content>
		<id>http://www.cureconsulting.com/blog/index.php?entry=entry090828-065249</id>
		<issued>2009-08-28T00:00:00Z</issued>
		<modified>2009-08-28T00:00:00Z</modified>
	</entry>
	<entry>
		<title>log4net comes to Twitter</title>
		<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php?entry=entry090804-103432" />
		<content type="text/html" mode="escaped"><![CDATA[Someone turned me on last week to this cool <a href="http://caseywatson.com/2009/07/07/log4net-twitter-awesome/" target="_blank" >log4net appender</a> for Twitter.  Basically, you configure your app to &quot;log&quot; to twitter for certain events, and it acts just like a normal appender.  Very cool. ]]></content>
		<id>http://www.cureconsulting.com/blog/index.php?entry=entry090804-103432</id>
		<issued>2009-08-04T00:00:00Z</issued>
		<modified>2009-08-04T00:00:00Z</modified>
	</entry>
	<entry>
		<title>STUPID CLAMD!!</title>
		<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php?entry=entry090731-171009" />
		<content type="text/html" mode="escaped"><![CDATA[I ran into an issue where clamd (the clam anti-virus daemon) was using 100% of my CPU time, forcing other programs (like auth!) to fail.  After playing with several settings, I finally figured out how to disable clamd:<br /><br />1. touch /var/qmail/supervise/clamd/down<br />2. vi /var/qmail/control/simcontrol<br />3. change :clam=yes to :clam=no<br />4. save the file and run /var/qmail/bin/simscanmk<br />5. qmailctl restart<br />6. qmailctl stat<br /><br />You should get a message that clamd is down (since we added a file named &quot;down&quot; in the clamd folder for supervise) and it should stay down when we restart qmail.]]></content>
		<id>http://www.cureconsulting.com/blog/index.php?entry=entry090731-171009</id>
		<issued>2009-08-01T00:00:00Z</issued>
		<modified>2009-08-01T00:00:00Z</modified>
	</entry>
	<entry>
		<title>What kind of timestamp is THAT??!</title>
		<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php?entry=entry090731-152630" />
		<content type="text/html" mode="escaped"><![CDATA[If you&#039;re like me and run qmail with multilog to split things out into multiple, readable logs, you end up with some crazy looking log entries, like this one: @400000004a736ed035017b1c tcpserver: status: 26/400.  The message is pretty readable, but the timestamp, @400000004a736ed035017b1c, not so much.  However, there is a solution.  Instead if just issuing a tail -f filename, pipe that output to tai64nlocal, like this:  tail -f filename | tai64nlocal.  This will convert the output to something much more readable, like this: 2009-07-31 15:25:58.861012500 tcpserver: status: 31/400.<br /><br />Happy Logging!]]></content>
		<id>http://www.cureconsulting.com/blog/index.php?entry=entry090731-152630</id>
		<issued>2009-07-31T00:00:00Z</issued>
		<modified>2009-07-31T00:00:00Z</modified>
	</entry>
	<entry>
		<title>DesertCodeCamp USB Code</title>
		<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php?entry=entry090621-160023" />
		<content type="text/html" mode="escaped"><![CDATA[I recently taught a class at DesertCodeCamp using a Microchip 18F2455 PIC and C# code to build a Generic HID device to connect to a stoplight.  The code for the project, as well as the JALEdit editor with all the options set to compile it and the bootloader update program are included in the zip <a href="http://www.cureconsulting.com/desertcodecamp09.zip" target="_blank" >here</a>. ]]></content>
		<id>http://www.cureconsulting.com/blog/index.php?entry=entry090621-160023</id>
		<issued>2009-06-21T00:00:00Z</issued>
		<modified>2009-06-21T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Twikini twitter client for Smartphone</title>
		<link rel="alternate" type="text/html" href="http://www.cureconsulting.com/blog/index.php?entry=entry090618-120458" />
		<content type="text/html" mode="escaped"><![CDATA[I tried out the Twiking twitter client for Windows Mobile Smartphones (aka no touch screen) and so far I am really impressed.  It allows you to get your public timeline, and reply to or retweet messages with one keypress.  <br /><br /><img src="http://www.trinketsoftware.com/Images/Twikini_Theme_Windows.png" width=322 height=322 border=0 alt=''><br /><br />Configurable update times lets me conserve battery, and the cache helps save network usage.  So far I like the interface and the simplicity, and the ability to tweet out what I am listening to in Media Player is interesting.  <br /><br />Head on over to <a href="http://www.trinketsoftware.com/Twikini" target="_blank" >http://www.trinketsoftware.com/Twikini</a> and check it out for yourself!<br />]]></content>
		<id>http://www.cureconsulting.com/blog/index.php?entry=entry090618-120458</id>
		<issued>2009-06-18T00:00:00Z</issued>
		<modified>2009-06-18T00:00:00Z</modified>
	</entry>
</feed>

