<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-8438593757337840459</atom:id><lastBuildDate>Fri, 01 Nov 2024 12:49:22 +0000</lastBuildDate><title>Heinrich Breedt</title><description></description><link>http://heinrichbreedt.blogspot.com/</link><managingEditor>noreply@blogger.com (Heinrich Breedt)</managingEditor><generator>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8438593757337840459.post-4584052841537824382</guid><pubDate>Fri, 29 Jun 2012 23:53:00 +0000</pubDate><atom:updated>2012-06-30T09:53:14.682+10:00</atom:updated><title>Setting up Oracle ODBC on Windows 7</title><description>&lt;p&gt;Just a quick note note of the steps I took to setup a Oracle 11g ODBC connection on a Windows 7 desktop:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Download the appropriate &lt;a href=&quot;http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html&quot; target=&quot;_blank&quot;&gt;Oracle Instant Client&lt;/a&gt;&lt;/li&gt; &lt;ul&gt; &lt;li&gt;Get the Basic and the ODBC zip files&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Unzip both into the same folder (e.g. C:\OracleInstantClient\ ) &lt;/li&gt; &lt;li&gt;Execute odbc_install.exe in the Instant Client Folder&lt;/li&gt; &lt;li&gt;Change your System Environment variables:&lt;/li&gt; &lt;ul&gt; &lt;li&gt;Add the Instant Client Folder to the path&lt;/li&gt; &lt;li&gt;Create a ORACLE_HOME and add the Instant Client Folder&lt;/li&gt;&lt;/ul&gt; &lt;li&gt;Create a “network\admin” folder in the Instant Client folder and create your tnsnames.ora file in there, with the appropriate values.&lt;/li&gt; &lt;li&gt;You are now able to create a DSN in the ODBC manager using the Oracle driver that uses the TNS names defined in the .ora file&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;Hope this helps someone &lt;img style=&quot;border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none&quot; class=&quot;wlEmoticon wlEmoticon-smile&quot; alt=&quot;Smile&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0OfdvfvrDDkslQ8_KC2mY8Zy5CY4nr09J-CFsu91FcNSGgcCyAKzw_koUtv_NpA8eU2N3Y8-XV3SLWwdpJSMeEzVHw9RShGtU9bChLNQHTda4Dy8K69n-pdJblliEl8-YW_ZHLrJYkfk/?imgmax=800&quot;&gt;&lt;/p&gt;  </description><link>http://heinrichbreedt.blogspot.com/2012/06/setting-up-oracle-odbc-on-windows-7.html</link><author>noreply@blogger.com (Heinrich Breedt)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0OfdvfvrDDkslQ8_KC2mY8Zy5CY4nr09J-CFsu91FcNSGgcCyAKzw_koUtv_NpA8eU2N3Y8-XV3SLWwdpJSMeEzVHw9RShGtU9bChLNQHTda4Dy8K69n-pdJblliEl8-YW_ZHLrJYkfk/s72-c?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8438593757337840459.post-6425317957708204165</guid><pubDate>Fri, 29 Jun 2012 02:53:00 +0000</pubDate><atom:updated>2012-06-29T12:53:40.509+10:00</atom:updated><title>VS2010 and Web Standards Update Pain</title><description>I recently moved to a Windows 7 64bit machine and began my install dance.

When I tried to install the excellent &lt;a href=&quot;http://visualstudiogallery.msdn.microsoft.com/a15c3ce9-f58f-42b7-8668-53f6cdc2cd83&quot;&gt;Web Standards Update&lt;/a&gt;&amp;nbsp;extension, it complained that it couldn&#39;t find SP1. Re-installing or removing and installing did not help.&lt;br /&gt;
&lt;br /&gt;
In the Q and A pages I found a solution:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Using the free &lt;a href=&quot;http://www.instedit.com/home.html&quot;&gt;InstEd It!&lt;/a&gt;&amp;nbsp;tool I modified the MSI&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&amp;nbsp;In the Tables tab -&amp;gt; select the CustomAction entry -&amp;gt; remove the VSDCA_VsdLaunchConditions row&lt;/li&gt;
&lt;li&gt;Save and install the MSI&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
Now I had found I could not open any css file. It seems the problem was that my Visual Studio was not installed in the OS drive. I copied the {OS drive}\Program Files\Microsoft Visual Studio 10\Common7\Packages to the corresponding folder on my installion drive, and happiness! Everything worked.&lt;br /&gt;
&lt;br /&gt;
Quite the hack, but I hope it helps someone. Just don&#39;t blame me if things break :)</description><link>http://heinrichbreedt.blogspot.com/2012/06/vs2010-and-web-standards-update-pain.html</link><author>noreply@blogger.com (Heinrich Breedt)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8438593757337840459.post-1465253993729598895</guid><pubDate>Wed, 09 Feb 2011 22:57:00 +0000</pubDate><atom:updated>2011-02-10T09:01:45.373+10:00</atom:updated><title>google code mercurial</title><description>I tried to push to a clone on google code with a mercurial repo.&lt;br /&gt;It asks for a username and password. And then fails the authorization when i give it my google account username and password.&lt;br /&gt;&lt;br /&gt;You need to use the password that is generated on https://code.google.com/hosting/settings .&lt;br /&gt;&lt;br /&gt;Thanks for making things easy google code.</description><link>http://heinrichbreedt.blogspot.com/2011/02/google-code-mercurial.html</link><author>noreply@blogger.com (Heinrich Breedt)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8438593757337840459.post-1245827391345915538</guid><pubDate>Thu, 27 Jan 2011 00:58:00 +0000</pubDate><atom:updated>2012-05-05T12:13:33.204+10:00</atom:updated><title>git svn : Path is not canonicalized</title><description>At my new job I have to use SVN, but I am a git convert. So: git svn to the rescue!&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;
git svn clone -s https://MACHINENAME:8443/svn/PROJECTNAME/
&lt;/pre&gt;
produced the following error:&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;
error 0: REPORT request failed on &#39;/svn/PROJECTNAME/!svn/vcc/default&#39;: 
Path &#39;https://MACHINENAME:8443/svn/PROJECTNAME&#39;is not canonicalized; 
there is a problem with the client. at C:\Program Files\Git/libexec/git-core/git-svn 
line 5114 
&lt;/pre&gt;
seems it doesn&#39;t like the capital letters??!!&lt;br /&gt;
&lt;pre class=&quot;brush: shell;&quot;&gt;
git svn clone -s https://machinename:8443/svn/projectname/ 
&lt;/pre&gt;
works as expected.&lt;br /&gt;
Hooray!!</description><link>http://heinrichbreedt.blogspot.com/2011/01/git-svn-path-is-not-canonicalized_27.html</link><author>noreply@blogger.com (Heinrich Breedt)</author><thr:total>2</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8438593757337840459.post-1140850340590139842</guid><pubDate>Wed, 19 May 2010 23:47:00 +0000</pubDate><atom:updated>2011-01-27T11:04:06.421+10:00</atom:updated><title>Rhinomocks stub mulitple return values</title><description>&lt;p&gt;Rhinomocks stubbing is great, but sometimes we need a stubbed instance to return different values.&lt;/p&gt;  &lt;pre class=&quot;brush: csharp;&quot;&gt;[Test]&lt;br /&gt;public void gggg()&lt;br /&gt;{&lt;br /&gt;  var myobject = MockRepository.GenerateStub&amp;lt;IMyInterface&amp;gt;();&lt;br /&gt;  myobject.Stub(x =&amp;gt; myobject.MyMethod()).Return(&quot;woof&quot;);&lt;br /&gt;  myobject.Stub(x =&amp;gt; x.MyMethod()).Return(&quot;croak&quot;);&lt;br /&gt;}&amp;nbsp&lt;/pre&gt;&lt;p&gt;In this case MyMethod will always return “woof”. The “croak” will only be return if we use the .Repeat statements to tell Rhinomocks to limit the usage of the values.&lt;/p&gt;&lt;pre class=&quot;brush: csharp;&quot;&gt;[Test]&lt;br /&gt;public void gggg()&lt;br /&gt;{&lt;br /&gt;  var myobject = MockRepository.GenerateStub&amp;lt;IMyInterface&amp;gt;();&lt;br /&gt;  myobject.Stub(x =&amp;gt; myobject.MyMethod()).Return(&quot;woof&quot;).Repeat.Once();&lt;br /&gt;  myobject.Stub(x =&amp;gt; x.MyMethod()).Return(&quot;croak&quot;);&lt;br /&gt;}&lt;/pre&gt;Here the first call to MyMethod will return “woof”, all subsequent calls will return “croak”.</description><link>http://heinrichbreedt.blogspot.com/2010/05/rhinomocks-stub-mulitple-return-values.html</link><author>noreply@blogger.com (Heinrich Breedt)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8438593757337840459.post-2721740164677515132</guid><pubDate>Tue, 04 May 2010 00:40:00 +0000</pubDate><atom:updated>2012-05-05T12:17:54.290+10:00</atom:updated><title>GeckoFx: Accessing the Document Elements</title><description>When using the &lt;a href=&quot;http://code.google.com/p/geckofx/&quot;&gt;GeckoFx version 1.9.1.0&lt;/a&gt; browser control. it is important to use the correct version of the &lt;a href=&quot;https://developer.mozilla.org/en/XULRunner&quot;&gt;XULRunner&lt;/a&gt;.
&lt;br /&gt;
When I tried to access the Document Elements with the &lt;a href=&quot;ftp://ftp.mozilla.org/pub/xulrunner/releases/1.9.1/&quot;&gt;1.9.1.0 version of the XULRunner&lt;/a&gt; with this code:
&lt;br /&gt;
&lt;pre class=&quot;brush: csharp;&quot;&gt;
geckoBrowser.Document.GetElementById(&quot;_mainTableDiv&quot;);
&lt;/pre&gt;
this is the error I encountered: 
&lt;br /&gt;
&lt;pre class=&quot;brush: plain;&quot;&gt;
“Unable to cast COM object of type &#39;System.__ComObject&#39; to interface type 
&#39;Skybound.Gecko.nsIDOMNSElement&#39;. This operation failed because the 
QueryInterface call on the COM component for the interface with 
IID &#39;{F0AEF489-18C5-4DE6-99D5-58B3758B098C}&#39; failed due to the following 
error: No such interface supported (Exception from HRESULT: 0x80004002 
(E_NOINTERFACE)).”
&lt;/pre&gt;
&lt;br /&gt;
It was fixed by using the &lt;a href=&quot;ftp://ftp.mozilla.org/pub/xulrunner/releases/1.9.1.4/&quot;&gt;1.9.1.4 version of the XULRunner&lt;/a&gt;.
&lt;br /&gt;
Hope this helps someone.</description><link>http://heinrichbreedt.blogspot.com/2010/05/geckofx-accessing-document-elements.html</link><author>noreply@blogger.com (Heinrich Breedt)</author><thr:total>4</thr:total></item></channel></rss>