<?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/"
	>

<channel>
	<title>jernstrom.org</title>
	<atom:link href="http://jernstrom.org/site/feed/" rel="self" type="application/rss+xml" />
	<link>http://jernstrom.org/site</link>
	<description>Random stuff</description>
	<pubDate>Mon, 05 Jan 2009 17:48:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Delete Revisions from WordPress DB</title>
		<link>http://jernstrom.org/site/2009/01/delete-revisions-from-wordpress-db/</link>
		<comments>http://jernstrom.org/site/2009/01/delete-revisions-from-wordpress-db/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 22:17:03 +0000</pubDate>
		<dc:creator>Kimmo</dc:creator>
		
		<category><![CDATA[jernstrom.org]]></category>

		<guid isPermaLink="false">http://jernstrom.org/site/?p=281</guid>
		<description><![CDATA[I ran into this revisions annoyance in WordPress&#8230;It&#8217;s no problem to turn off the beast, but rather to clean out the existing revisions from the DB.
Luckily others also get annoyed.  Andrei Neculau cooked up a nice sql query that took care of all the leftovers



DELETE a,b,c &#160; 


FROM wp_posts a &#160; 


LEFT JOIN wp_term_relationships b ON &#40;a.ID = [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into this <a title="Revision_Management" href="http://codex.wordpress.org/Revision_Management" target="_blank">revisions</a> annoyance in WordPress&#8230;It&#8217;s no problem to turn off the beast, but rather to clean out the existing revisions from the DB.</p>
<p>Luckily others also get annoyed.  <a href="http://andreineculau.com/blog/2008/07/delete-wordpress-26-revisions/" target="_blank">Andrei Neculau</a> cooked up a nice sql query that took care of all the leftovers</p>
<div class="geshi no sql">
<ol>
<li class="li1">
<div class="de1"><span class="kw1">DELETE</span> a,b,c &nbsp; </div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">FROM</span> wp_posts a &nbsp; </div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">LEFT</span> <span class="kw1">JOIN</span> wp_term_relationships b <span class="kw1">ON</span> <span class="br0">&#40;</span>a.ID <span class="sy0">=</span> b.object_id<span class="br0">&#41;</span> &nbsp; </div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">LEFT</span> <span class="kw1">JOIN</span> wp_postmeta c <span class="kw1">ON</span> <span class="br0">&#40;</span>a.ID <span class="sy0">=</span> c.post_id<span class="br0">&#41;</span> &nbsp; </div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">WHERE</span> a.post_type <span class="sy0">=</span> <span class="st0">&#39;revision&#39;</span></div>
</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://jernstrom.org/site/2009/01/delete-revisions-from-wordpress-db/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Moved over to WordPress</title>
		<link>http://jernstrom.org/site/2009/01/moved-over-to-wordpress/</link>
		<comments>http://jernstrom.org/site/2009/01/moved-over-to-wordpress/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 15:49:59 +0000</pubDate>
		<dc:creator>Kimmo</dc:creator>
		
		<category><![CDATA[jernstrom.org]]></category>

		<guid isPermaLink="false">http://jernstrom.org/site/?p=273</guid>
		<description><![CDATA[So, I got tired of the old CMS and after having evaluated a few alternatives I decided to use WordPress. The feature set (over)matched the simple needs of this site&#8230;

]]></description>
			<content:encoded><![CDATA[<p>So, I got tired of the old CMS and after having evaluated a few alternatives I decided to use WordPress. The feature set (over)matched the simple needs of this site&#8230;</p>
<p><a href="http://jernstrom.org/site/wp-content/2009/01/j.gif"><img class="alignnone size-full wp-image-274" title="j" src="http://jernstrom.org/site/wp-content/2009/01/j.gif" alt="j" width="100" height="100" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://jernstrom.org/site/2009/01/moved-over-to-wordpress/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Windows Installer Wrapper Wizard (WIWW)</title>
		<link>http://jernstrom.org/site/2008/09/windows-installer-wrapper-wizard-wiww/</link>
		<comments>http://jernstrom.org/site/2008/09/windows-installer-wrapper-wizard-wiww/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 21:25:22 +0000</pubDate>
		<dc:creator>Kimmo</dc:creator>
		
		<category><![CDATA[Legacy]]></category>

		<guid isPermaLink="false">http://jernstrom.org/site/?p=215</guid>
		<description><![CDATA[Here&#8217;s the short
Windows Installer Wrapper Wizard (WIWW) 0.2.0 can create Windows Installer msi wrapper files that will execute commands you specify in a wizard. Its intended use is allowing administrators to execute commands or install software using machine assigned or user published group policies&#8230;/
Article here
Backup copy: windows_installer_wrapper_wizard_020
]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the short</p>
<blockquote><p>Windows Installer Wrapper Wizard (WIWW) 0.2.0 can create Windows Installer msi wrapper files that will execute commands you specify in a wizard. Its intended use is allowing administrators to execute commands or install software using machine assigned or user published group policies&#8230;/</p></blockquote>
<p>Article <a href="http://www.vinsvision.com/Articles/tabid/66/EntryID/15/Default.aspx" target="_blank">here</a><br />
Backup copy: <a href="http://jernstrom.org/site/wp-content/2008/09/windows_installer_wrapper_wizard_020.zip">windows_installer_wrapper_wizard_020</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jernstrom.org/site/2008/09/windows-installer-wrapper-wizard-wiww/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CHM (HTML Help) file annoyance</title>
		<link>http://jernstrom.org/site/2008/04/chm-html-help-file-annoyance/</link>
		<comments>http://jernstrom.org/site/2008/04/chm-html-help-file-annoyance/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 21:29:58 +0000</pubDate>
		<dc:creator>Kimmo</dc:creator>
		
		<category><![CDATA[Legacy]]></category>

		<guid isPermaLink="false">http://jernstrom.org/site/?p=220</guid>
		<description><![CDATA[Aside of the NTFS alternate data stream manipulation (aka. blocked content) that can be circumvented by GPO
User Configuration\Administrative Templates\Windows Components\Attachment Manager there is the issue with CHM files over the network.
See http://support.microsoft.com/kb/896358

REGEDIT4


&#91;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp&#93;


&#91;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\HHRestrictions&#93;


&#34;MaxAllowedZone&#34;=dword:00000001


&#34;EnableFrameNavigationInSafeMode&#34;=dword:00000001


&#160;


&#91;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions&#93;


&#34;MaxAllowedZone&#34;=dword:00000001



]]></description>
			<content:encoded><![CDATA[<p>Aside of the NTFS alternate data stream manipulation (aka. blocked content) that can be circumvented by GPO<br />
<strong>User Configuration\Administrative Templates\Windows Components\Attachment Manager</strong> there is the issue with CHM files over the network.</p>
<p>See <a href="http://support.microsoft.com/kb/896358" target="_blank">http://support.microsoft.com/kb/896358</a></p>
<div class="geshi no reg">
<div class="head">REGEDIT4</div>
<ol>
<li class="li1">
<div class="de1"><span class="br0">&#91;</span>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp<span class="br0">&#93;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#91;</span>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\HHRestrictions<span class="br0">&#93;</span></div>
</li>
<li class="li1">
<div class="de1">&quot;<span class="geshi_variable">MaxAllowedZone</span>&quot;=<span class="kw2">dword:00000001</span></div>
</li>
<li class="li1">
<div class="de1">&quot;<span class="geshi_variable">EnableFrameNavigationInSafeMode</span>&quot;=<span class="kw2">dword:00000001</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#91;</span>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions<span class="br0">&#93;</span></div>
</li>
<li class="li1">
<div class="de1">&quot;<span class="geshi_variable">MaxAllowedZone</span>&quot;=<span class="kw2">dword:00000001</span></div>
</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://jernstrom.org/site/2008/04/chm-html-help-file-annoyance/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Vista/ 2008 Compound TCP and ECN</title>
		<link>http://jernstrom.org/site/2008/03/vista-2008-compound-tcp-and-ecn/</link>
		<comments>http://jernstrom.org/site/2008/03/vista-2008-compound-tcp-and-ecn/#comments</comments>
		<pubDate>Sat, 29 Mar 2008 21:41:30 +0000</pubDate>
		<dc:creator>Kimmo</dc:creator>
		
		<category><![CDATA[Legacy]]></category>

		<guid isPermaLink="false">http://jernstrom.org/site/?p=231</guid>
		<description><![CDATA[I better just dump this for reference before I forget about the whole thing&#8230;.
You can check if your home router supports ECN with Microsoft Internet Connectivity Evaluation Tool
Summary below stolen from
http://technet.microsoft.com/en-us/library/bb726965.aspx
Compound TCP
For TCP connections with a large receive window size and a large bandwidth-delay product, Compound TCP (CTCP) in the Next Generation TCP/IP stack aggressively [...]]]></description>
			<content:encoded><![CDATA[<p>I better just dump this for reference before I forget about the whole thing&#8230;.</p>
<p>You can check if your home router supports ECN with Micr<a href="http://www.microsoft.com/windows/using/tools/igd/" target="_blank">osoft Internet Connectivity Evaluation Tool</a></p>
<p>Summary below stolen from<br />
<a href="http://technet.microsoft.com/en-us/library/bb726965.aspx" target="_blank">http://technet.microsoft.com/en-us/library/bb726965.aspx</a></p>
<blockquote><p><strong>Compound TCP<br />
</strong>For TCP connections with a large receive window size and a large bandwidth-delay product, Compound TCP (CTCP) in the Next Generation TCP/IP stack aggressively increases the amount of data sent at a time by monitoring the bandwidth-delay product, delay variations, and packet losses. CTCP also ensures that its behavior does not negatively impact other TCP connections. In testing performed internally at Microsoft, large file backup times were reduced by almost half for a 1 Gigabit per second connection with a 50 millisecond round-trip time. Connections with a larger bandwidth-delay product can have even better performance.</p>
<p>Receive Window Auto Tuning optimizes receiver-side throughput and CTCP optimizes sender-side throughput. By working together, they can increase link utilization and produce substantial performance gains for large bandwidth-delay product connections.</p>
<p>CTCP is enabled by default for computers running Windows Server 2008 and disabled by default for computers running Windows Vista. You can enable CTCP with the <strong>netsh interface tcp set global congestionprovider=ctcp</strong> command and disable CTCP with the netsh interface tcp set global congestionprovider=none command.</p>
<p><strong>ECN Support</strong><br />
When a TCP segment is lost, TCP assumes that the segment was lost due to congestion at a router and performs congestion control, which dramatically lowers the TCP sender’s transmission rate. With Explicit Congestion Notification (ECN) support (RFC 3168) on both TCP peers and the routers in the routing infrastructure, routers experiencing congestion mark the packets as they forward them. TCP peers receiving marked packets lower their transmission rate to ease congestion and prevent segment losses. Detecting congestion before packet losses are incurred increases the overall throughput between TCP peers. Windows Server 2008 and Windows Vista support ECN, but it is disabled by default. You can enable ECN support with the <strong>netsh interface tcp set global ecncapability=enabled</strong> command.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://jernstrom.org/site/2008/03/vista-2008-compound-tcp-and-ecn/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Batch remove %20 from filenames</title>
		<link>http://jernstrom.org/site/2008/03/batch-remove-space-from-filenames/</link>
		<comments>http://jernstrom.org/site/2008/03/batch-remove-space-from-filenames/#comments</comments>
		<pubDate>Sat, 29 Mar 2008 21:32:54 +0000</pubDate>
		<dc:creator>Kimmo</dc:creator>
		
		<category><![CDATA[Legacy]]></category>

		<guid isPermaLink="false">http://jernstrom.org/site/?p=222</guid>
		<description><![CDATA[Got tired of the %20 in downloaded files&#8230;

@echo off


setlocal EnableDelayedExpansion


for /f &#34;delims=&#34; %%I in &#40;&#39;dir /b ^&#124; find &#34;%20&#34;&#39;&#41; do &#40;


set var01=%%I


set var02=!var01:%%20=_!


call :ren


&#41;


:ren


ren %var01% %var02%



mycmd
]]></description>
			<content:encoded><![CDATA[<p>Got tired of the <a href="http://www.computing.net/programming/wwwboard/forum/13957.html" target="_blank">%20 in downloaded files</a>&#8230;</p>
<div class="geshi no dos">
<div class="head">@echo off</div>
<ol>
<li class="li1">
<div class="de1"><span class="kw3">setlocal</span> EnableDelayedExpansion</div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">for</span> /f &quot;delims=&quot; %%I <span class="kw1">in</span> <span class="br0">&#40;</span>&#39;<span class="kw3">dir</span> /b ^| find &quot;%<span class="re2"><span class="nu0">2</span></span><span class="nu0">0</span>&quot;&#39;<span class="br0">&#41;</span> <span class="kw1">do</span> <span class="br0">&#40;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw3">set</span> <span class="re1">var01</span>=%%I</div>
</li>
<li class="li1">
<div class="de1"><span class="kw3">set</span> <span class="re1">var02</span>=!var01:%%<span class="nu0">20</span>=_!</div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">call</span> :<span class="re0">ren</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">:<span class="re0">ren</span></div>
</li>
<li class="li1">
<div class="de1">ren %<span class="re2">var01</span>% %<span class="re2">var02</span>%</div>
</li>
</ol>
</div>
<p><a href="http://jernstrom.org/site/wp-content/2008/03/mycmd.zip">mycmd</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jernstrom.org/site/2008/03/batch-remove-space-from-filenames/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to connect to console session with RDC 6.1</title>
		<link>http://jernstrom.org/site/2008/02/how-to-connect-to-console-session-with-rdc-61/</link>
		<comments>http://jernstrom.org/site/2008/02/how-to-connect-to-console-session-with-rdc-61/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 21:46:31 +0000</pubDate>
		<dc:creator>Kimmo</dc:creator>
		
		<category><![CDATA[Legacy]]></category>

		<guid isPermaLink="false">http://jernstrom.org/site/?p=235</guid>
		<description><![CDATA[With Remote Desktop Connection 6.1 (RDC) some things have changed.
That you now need to use mstsc /admin to connect to the console session is common knowledge&#8230;.
However, when using .RDP files we used to add &#8220;connect to console:i:1&#8243; in the .RDP to connect to the console session, well turns out that this no longer works&#8230;.
Long stroy [...]]]></description>
			<content:encoded><![CDATA[<p>With Remote Desktop Connection 6.1 (RDC) some things have changed.<br />
That you now need to use mstsc /admin to connect to the console session is common knowledge&#8230;.<br />
However, when using .RDP files we used to add &#8220;connect to console:i:1&#8243; in the .RDP to connect to the console session, well turns out that this no longer works&#8230;.</p>
<p>Long stroy short, here&#8217;s what you need to do:</p>
<p><strong>Before&#8230;</strong><br />
mstsc /console = &#8220;connect to console:i:1&#8243; in .RDP file</p>
<p><strong>After&#8230;</strong><br />
mstsc /admin = &#8220;administrative session:i:1&#8243; in .RPP file</p>
]]></content:encoded>
			<wfw:commentRss>http://jernstrom.org/site/2008/02/how-to-connect-to-console-session-with-rdc-61/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Parted Magic - free alternative to Partition Magic</title>
		<link>http://jernstrom.org/site/2007/02/parted-magic-free-alternative-to-partition-magic/</link>
		<comments>http://jernstrom.org/site/2007/02/parted-magic-free-alternative-to-partition-magic/#comments</comments>
		<pubDate>Tue, 13 Feb 2007 21:52:44 +0000</pubDate>
		<dc:creator>Kimmo</dc:creator>
		
		<category><![CDATA[Legacy]]></category>

		<guid isPermaLink="false">http://jernstrom.org/site/?p=238</guid>
		<description><![CDATA[I actually used this on a HP DL360 (with a RAID set) through ILO over a WAN connection. Worked like a charm!

 
Parted Magic is a ~30mb LiveCD/USB with it&#8217;s only purpose being partitioning hard drives. Although GParted and Parted are the main programs, the CD/USB also offers programs like partimage, TestDisk, fdisk, sfdisk, dd, ddrescue, [...]]]></description>
			<content:encoded><![CDATA[<p>I actually used this on a HP DL360 (with a RAID set) through ILO over a WAN connection. Worked like a charm!</p>
<p><img class="size-full wp-image-242 alignnone" title="parted" src="http://jernstrom.org/site/wp-content/2007/02/parted.png" alt="parted" width="507" height="252" /><br />
 </p>
<blockquote><p>Parted Magic is a ~30mb LiveCD/USB with it&#8217;s only purpose being partitioning hard drives. Although GParted and Parted are the main programs, the CD/USB also offers programs like partimage, TestDisk, fdisk, sfdisk, dd, ddrescue, etc&#8230;</p></blockquote>
<p>Read more and download <a href="http://partedmagic.com/" target="_blank">here</a></p>
<p>Backup copy (//090102) <a href="/site/wp-content/2007/02/pmagic-3.4.iso.zip">pmagic-3.4.iso.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jernstrom.org/site/2007/02/parted-magic-free-alternative-to-partition-magic/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sharepoint v3 Forms Authentication</title>
		<link>http://jernstrom.org/site/2007/01/sharepoint-v3-forms-authentication/</link>
		<comments>http://jernstrom.org/site/2007/01/sharepoint-v3-forms-authentication/#comments</comments>
		<pubDate>Tue, 02 Jan 2007 21:10:11 +0000</pubDate>
		<dc:creator>Kimmo</dc:creator>
		
		<category><![CDATA[Legacy]]></category>

		<guid isPermaLink="false">http://jernstrom.org/site/?p=204</guid>
		<description><![CDATA[Allrite, so this is the way to implemt forms with System.Web.Security.ActiveDirectoryMembershipProvider
sharepoint_v3_forms
&#8230;and this the way to do it with System.Web.Security.SqlMembershipProvider (with roles)
sharepoint_v3_forms_sql
&#8230;you need to have the membership provider in web.config for central admin
]]></description>
			<content:encoded><![CDATA[<p>Allrite, so this is the way to implemt forms with System.Web.Security.ActiveDirectoryMembershipProvider</p>
<p><a href="http://jernstrom.org/site/wp-content/2007/01/sharepoint_v3_forms.pdf">sharepoint_v3_forms</a></p>
<p>&#8230;and this the way to do it with System.Web.Security.SqlMembershipProvider (with roles)</p>
<p><a href="http://jernstrom.org/site/wp-content/2007/01/sharepoint_v3_forms_sql.pdf">sharepoint_v3_forms_sql</a></p>
<p>&#8230;you need to have the membership provider in web.config for central admin</p>
]]></content:encoded>
			<wfw:commentRss>http://jernstrom.org/site/2007/01/sharepoint-v3-forms-authentication/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Troubleshooting Tools for Citrix Environments</title>
		<link>http://jernstrom.org/site/2006/10/troubleshooting-tools-for-citrix-environments/</link>
		<comments>http://jernstrom.org/site/2006/10/troubleshooting-tools-for-citrix-environments/#comments</comments>
		<pubDate>Mon, 30 Oct 2006 21:14:09 +0000</pubDate>
		<dc:creator>Kimmo</dc:creator>
		
		<category><![CDATA[Legacy]]></category>

		<guid isPermaLink="false">http://jernstrom.org/site/?p=210</guid>
		<description><![CDATA[A nice list of troubleshooting tools over at citrx.com
Read more here
]]></description>
			<content:encoded><![CDATA[<p>A nice list of troubleshooting tools over at citrx.com</p>
<p>Read more <a href="http://support.citrix.com/article/CTX107572" target="_blank">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://jernstrom.org/site/2006/10/troubleshooting-tools-for-citrix-environments/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
