This post outlines the problem pretty well as wall as part of the solution: http://weichhold.com/2010/08/12/using-mercurial-over-ssh-with-private-key-in-teamcity-ci/ However our build server did not read the mecurial.ini file when placed in the SysWOW64/config/systemprofile folder. (You can test this by running hg showconfig from the console running under the systems account.) Instead we had to place it in the [...]
Setting up kdiff3 for git on windows
Install kdiff3 (I use the version bundled with TortoiseHg). run the following commands in the git bash: git config –global merge.tool kdiff3 git config –global mergetool.kdiff3.path "C:\Program Files\TortoiseHg\kdiff3.exe" merge! git mergetool
Watin and portable Firefox
I stumbled over this thread in the Watin archives and thought that it sounded like a great idea to use a portable bundle of Firefox for our acceptance tests. However it took some more effort in getting this thing to work than just changing the FireFox.PathToExe property. Changing just the property will just make Watin [...]
Accessing Ubuntu running on Hyper-V over Remote Desktop
This is a note to self (and anyone else who tries to access a virtual Ubuntu guest on Hyper-V from a RDP-session). Mouse capture does not work in Hyper-V when accessing it from a RDP-session unless you have installed the integration services in the guest OS. (MS does not provide integration services for Ubuntu…) In [...]
Spring javamailSenderImpl bean configuration for Gmail
<bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl"> <property name="defaultEncoding" value="UTF-8"/> <property name="host" value="smtp.gmail.com"/> <property name="port" value="465"/> <property name="username" value="…"/> <!– e.g. username@gmail.com –> <property name="password" value="…"/> <property name="javaMailProperties"> <value> mail.debug=true mail.smtp.auth=true mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory mail.smtp.socketFactory.fallback=false </value> </property> </bean>
Komprimera dokument med PDF
PowerPoint-presentationer och Word-dokument lämpar sig väldigt bra att komprimera till PDF. Här ska jag visa hur man kan komprimera en presentation på 2½ MB till ungefär en tiondel av dess originalstorlek. Senare versioner av Office paketet kan själv exportera till PDF. Har man inte tillgång till senare versionen av Microsofts Office paket så kan man [...]
Ola Herrdahl
Eventual consistent developer currently working on solving complex problems by applying simple solutions.
- CQRS for dummies November 13, 2011
- ASP.NET: System.IO.IOException: The file or directory is corrupted and unreadable. April 25, 2010
- Watin and portable Firefox March 15, 2011
- IntelliJ cannot create new class April 21, 2010
- Accessing Ubuntu running on Hyper-V over Remote Desktop November 20, 2010
- Document based sagas for dummies November 13, 2011
- CQRS for developers November 13, 2011
- CQRS for dummies November 13, 2011
- Access a Mercurial (BitBucket) repository using SSH key from TeamCity September 15, 2011
- Setting up kdiff3 for git on windows June 22, 2011
- Jigs: Thank you so much, you saved my life. I have been ...
- Document based sagas for dummies | Ola Kodar: [...] previous two post, CQRS for dummies and CQRS...
- CQRS for developers | Ola Kodar: [...] the CQRS for dummies post we can extract a c...
- Scott: WOW!! This saved me literally HOURS of searching!...
- Evgeni: check name of your package where you try to create...
Categories
- Error of the Day (14)
- Hailstorm (2)
- Software Development (4)
- Tips & Tricks (6)
- Web Development (1)
Recent Tweets
Follow @herrdahl on Twitter
Recent Comments