User login |
Mr Yegge has some really good thoughts on how to build a large service platformsI just finished reading Stevey's Google Platforms Rant. Most of the attention this post has gotten is about the fact that Mr Yegge accidentally posted this publicly and how he goes on about his current company not doing things right. However if you look past the internal company politics rants and sarcasm about former employers this post is a really good article about how to build company wide service platforms. It's really worth to read top to bottom.
Converting keystores between JKS and P12From TECH BLOG FOR EJBCA ENTERPRISE OPEN SOURCE PKI's articel Converting keystores between JKS and P12.
JKS → P12
P12 → JKSgit cheat sheetHere is my personal git cheat sheet. Branches and tagsList branches local and remotegit branch -a Make a local branch track a specific remote branchgit branch --set-upstream localbranch origin/remotebranch push and delete remote brancheshttp://gitready.com/beginner/2009/02/02/push-and-delete-branches.html Restore a deleted tagThis is stolen from Baptiste Wicht blog post Git Tip : Restore a deleted tag. Setting up SMTP server on a development test server running UbuntuThis is a simple step-by-step tutorial to install and configure exim to route all e-mails send though a local SMTP server to one local user, regardless of the e-mail address or domain. I found this set-up very usefull when testing applications that send e-mail messages and you do not want to generate multiple HotMail accounts for testing or in case I'm wanted to do some testing and development when I'm offline. Install eximStart with installing exim. Provide one datasource with two different JNDI names in JBossWhile testing your JBoss service it can be very handy to use DefaultDS as your data source. However you will probably not want to hardcode this JNDI name into your code, jboss-server.xml, web.xml or persistence.xml (depending on service you write). There you want to use your own "MyAppDS" JNDI name. So wouldn't it be sweet to be able to bind two different JNDI names to the same datasource ? It is possible and quite simple however I could not really find any good example while Googling the problem. So here is a short description how I solved my problem. Ubuntu 10.10 on ASRock X58 Extreme3As a Xmas-gift to myself I decided to replace my 10 year old workstation with a new one. After recommendations from a friend I decided to buy the new computer from Mr. PC Computers. I also enjoy supporting local dealers. The very next day I could collect the computer and once at home I downloaded and installed Ubuntu 10.10 (Maverick Meerkat). Hardware specs and BIOS settings
Black stripes in Spotify running under WineI just installed Spotify on my Ubuntu 10.10 using the Windows binary and running under Wine. Spotify started OK but some areas where blacked out and others where blacked out while hovering the mouse over. With some Googeling I found a solution posted by Erik Andrén. Thanks Erik! WSS4J Tutorial revisitWhile reading the WSS4J - Axis Deployment Tutorial I found it somewhat lacking. Also in later versions of Axis it seems that the StockQuoteService has been changed. So here is a reworked version. Backup DVD using HandBrakeCLIMaking copies of your DVD movies into MKV format has never been easier thanks to HandBrake. Below is a small shell script that uses HandBrakeCLI to save the longest title and Swedish subtitle into MKV format. #!/bin/bash # This is a simple shell script which will # grab the longest title and Swedish subtitle and # then encode it as MKV # TITLE=`lsdvd -c | grep "Disc Title" | gawk '{ Keeping a central file repositoryI have multiple computers for which I would like to keep files in sync. |