<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel xmlns:blog="http://www.dotnetnuke.com/blog/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
    <title>how_to_blog+=2;</title>
    <description>Simple, straightforward how-to posts.</description>
    <link>http://callicode.com/Homeltpagegt/tabid/38/BlogId/2/Default.aspx</link>
    <language>en-US</language>
    <webMaster>jcallico@callicode.com</webMaster>
    <pubDate>Wed, 30 May 2012 02:18:55 GMT</pubDate>
    <lastBuildDate>Wed, 30 May 2012 02:18:55 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>Blog RSS Generator Version 4.0.0.0</generator>
    <item>
      <title>How to only publish the runtime files of an asp.net application using CruiseControl.net.</title>
      <link>http://callicode.com/Homeltpagegt/tabid/38/EntryId/27/How-to-only-publish-the-runtime-files-of-an-asp-net-application-using-CruiseControl-net.aspx</link>
      <description>&lt;p&gt;Since the &lt;a href="http://confluence.public.thoughtworks.org/display/CCNET/Build+Publisher" target="_blank"&gt;buildpublisher&lt;/a&gt; task copies all files on the source directory, including the .cs files, a custom &lt;a href="http://en.wikipedia.org/wiki/MSBuild"&gt;MSBuild&lt;/a&gt; script is needed to take advantage of the _CopyWebApplication option which will only copy the runtime files. An additional step is required to copy any other required assembly on the bin directory since only the application's main assembly is originally copied when using the _CopyWebApplication option.&lt;/p&gt;</description>
      <author>jcallico@callicode.com</author>
      <comments>http://callicode.com/Homeltpagegt/tabid/38/EntryId/27/How-to-only-publish-the-runtime-files-of-an-asp-net-application-using-CruiseControl-net.aspx#Comments</comments>
      <slash:comments>8</slash:comments>
      <guid isPermaLink="true">http://callicode.com/Homeltpagegt/tabid/38/EntryId/27/How-to-only-publish-the-runtime-files-of-an-asp-net-application-using-CruiseControl-net.aspx</guid>
      <pubDate>Tue, 18 Aug 2009 05:00:00 GMT</pubDate>
      <trackback:ping>http://callicode.comDesktopModules/BlogTrackback.aspx?id=27</trackback:ping>
    </item>
    <item>
      <title>How to unzip all files in a given folder/directory.</title>
      <link>http://callicode.com/Homeltpagegt/tabid/38/EntryId/26/How-to-unzip-all-files-in-a-given-folder-directory.aspx</link>
      <description>&lt;p&gt;Using the &lt;a href="http://www.easydos.com/for.html" target="_blank"&gt;FOR&lt;/a&gt; command and an unzip program, like the free &lt;a href="http://www.7-zip.org/" target="_blank"&gt;7-Zip&lt;/a&gt;, all the files in a given folder can be easily unzipped (using C:\Temp in this example):&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Courier New;"&gt;for /f "tokens=*" %%G in ('dir /b "C:\Temp\*.zip"') do "C:\Program Files\7-Zip\7z.exe" e -y "C:\Temp\%%G"&lt;/span&gt;&lt;/p&gt;</description>
      <author>jcallico@callicode.com</author>
      <comments>http://callicode.com/Homeltpagegt/tabid/38/EntryId/26/How-to-unzip-all-files-in-a-given-folder-directory.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">http://callicode.com/Homeltpagegt/tabid/38/EntryId/26/How-to-unzip-all-files-in-a-given-folder-directory.aspx</guid>
      <pubDate>Mon, 03 Aug 2009 05:00:00 GMT</pubDate>
      <trackback:ping>http://callicode.comDesktopModules/BlogTrackback.aspx?id=26</trackback:ping>
    </item>
    <item>
      <title>How to drop all foreign key constrains in a SQL 2005 database</title>
      <link>http://callicode.com/myBlogs/tabid/53/EntryId/18/How-to-drop-all-foreign-key-constrains-in-a-SQL-2005-database.aspx</link>
      <description>&lt;p&gt;&lt;font face="Verdana" size="2"&gt;Today I needed to delete all foreign key contrains in a SQL 2005 database in order to be able to sync it using the Visual Studio Data Compare Tool. I found a script doing almost what I needed but after running it I noticed that it also dropped indexes and defaults in all the schemas. I made some changes to accomplish the following:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Verdana" size="2"&gt;1- Drop foreign key contrains only.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Verdana" size="2"&gt;2- Filter by schema.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Verdana" size="2"&gt;3- Don't execute the drop statements automatically just print them.&lt;/font&gt;&lt;/p&gt;</description>
      <author>jcallico@callicode.com</author>
      <comments>http://callicode.com/myBlogs/tabid/53/EntryId/18/How-to-drop-all-foreign-key-constrains-in-a-SQL-2005-database.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">http://callicode.com/myBlogs/tabid/53/EntryId/18/How-to-drop-all-foreign-key-constrains-in-a-SQL-2005-database.aspx</guid>
      <pubDate>Tue, 27 Jan 2009 05:00:00 GMT</pubDate>
      <trackback:ping>http://callicode.comDesktopModules/BlogTrackback.aspx?id=18</trackback:ping>
    </item>
    <item>
      <title>How to enable CURL for PHP on Windows</title>
      <link>http://callicode.com/Home/tabid/53/EntryId/13/How-to-enable-CURL-for-PHP-on-Windows.aspx</link>
      <description>&lt;font face="Verdana" size="2"&gt;These are the steps that worked for me:&lt;br&gt;&lt;/font&gt;&lt;ol&gt;&lt;li&gt;&lt;font face="Verdana" size="2"&gt;Uncommented the line "extension=php_curl.dll" in php.ini file.&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font face="Verdana" size="2"&gt;Copied libeay32.dll and ssleay32.dll to C:\WINDOWS\system32. &lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;&lt;font face="Verdana" size="2"&gt;Note that these two dlls can be found on the PHP folder under the &lt;i&gt;dlls &lt;/i&gt;folder. Adding this folder to the Windows PATH variable should also work. &lt;br&gt;&lt;br&gt;You can use this simple test script - which retrieves and displays yahoo.com homepage - to verify that CURL is now working:&lt;br&gt;&lt;br&gt;&lt;font color="#0000ff" face="Courier New"&gt;&lt;?php&lt;br&gt;$ch = curl_init("http://www.yahoo.com/");&lt;br&gt;curl_setopt($ch, CURLOPT_HEADER, 0);&lt;br&gt;curl_exec($ch);&lt;br&gt;curl_close($ch);&lt;br&gt;?&gt;&lt;/font&gt;&lt;/font&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt;&lt;a href=http://callicode.com/Home/tabid/53/EntryId/13/How-to-enable-CURL-for-PHP-on-Windows.aspx&gt;More ...&lt;/a&gt;</description>
      <author>jcallico@callicode.com</author>
      <comments>http://callicode.com/Home/tabid/53/EntryId/13/How-to-enable-CURL-for-PHP-on-Windows.aspx#Comments</comments>
      <slash:comments>0</slash:comments>
      <guid isPermaLink="true">http://callicode.com/Home/tabid/53/EntryId/13/How-to-enable-CURL-for-PHP-on-Windows.aspx</guid>
      <pubDate>Tue, 08 Jan 2008 05:00:00 GMT</pubDate>
      <trackback:ping>http://callicode.comDesktopModules/BlogTrackback.aspx?id=13</trackback:ping>
    </item>
  </channel>
</rss>
