Windows 7 Desktop helpers

By Kenneth 'RabidDog' Clark at December 15, 2011 11:48
Filed Under: Open Source, Personal

This morning I went on a mission to organise my desktop icons. I usually try and sort them logically but it appears that in my old age and perhaps an element of laziness is causing my desktop to become, shall we say, uncontrollable?

 

Fiddling with Ubuntu last night I noticed how the unity interface groups icons for you. So I wondered if anything like that existed for windows and guess what, something very similar does indeed exist. Check out http://www.stardock.com/products/fences/ and smile. My desktop went from a cluttered in cohesive, speed valuable time isolating shortcuts and links to this:

 

mydesktop

 

 

Nice and neat, structured, just the way I like it. This is a custom layout and you too can now have this power!

 

Then comes the inevitable question of multiple desktops. Well again, the only decent on I have found is a product called Dexpot which can be found here http://dexpot.de/index.php?lang=en. Still absurd how Microsoft hasn’t built this into their OS.

Glassfish 3 on Windows Server 2008 R2

By Kenneth 'RabidDog' Clark at October 06, 2011 23:27
Filed Under: Java, Web, Open Source

First things first. Lets get the downloads out the way.

 

Go grab java 7 from http://www.oracle.com/technetwork/java/javase/downloads/index.html

Then go and grab Glassfish 3 from http://glassfish.java.net/public/downloadsindex.html#top (I went with the open source edition)

 

Install Java 7 (you only need to do this if you don’t have a JRE 6 or higher). Then you need to install Glassfish. Follow the prompts. I left the installation location the same (c:\glassfish3).

 

Next thing you need to do is navigate to c:\glassfish3\bin. I had to open the asadmin.bat file and edit it. I had to change all virtual references to physical references (perhaps because the environment variables hadn’t been set yet)

 

Next thing, open a command prompt and navigate to c:\glassfish3\bin. We are going to create a domain now, you can do this by entering the command asadmin create-domain. This will walk you through the domain creation process. Once that is done you can run the command asadmin start-domain. To verify that the domain has started navigate http://localhost:4848 (or change the port to the admin port you stipulated). If you see the admin console everything is running 100%

 

Next post I am going to explore deploying Jenkins http://jenkins-ci.org/

 

References:

http://glassfish.java.net/public/downloadsindex.html#top

http://blogs.eteration.com/blog/?p=494

http://www.oracle.com/technetwork/java/javase/downloads/index.html

file:///C:/glassfish3/glassfish/docs/quickstart.html

Setting up a local (private) GIT repository

By Kenneth 'RabidDog' Clark at October 04, 2011 01:49
Filed Under: Code, Open Source

I don’t claim to be an expert regarding the use and configuration of GIT but this evening I did manage to get a local repository up and running. The reason I am switching from SVN is because I really like the ease of use and being part of http://github.com it is best I get up to speed on GIT.

 

I am just going to list a few articles I found that helped me get everything running. There are a few things I need to sort out, like the RSA keys and authentication using them but I will handle that another time, for now I don’t mind typing in my password. Please note that I setup my repo on a Windows machine.

 

Well without further delay, here you go:

 

Initial setup

http://therightstuff.de/CommentView,guid,b969ea4d-8d2c-42af-9806-de3631f4df68.aspx

http://www.shannoncornish.com/blog/2009/04/git-server-windows-2008/

 

Client setup

http://www.devillex.com/2011/02/10/setting-up-git-on-windows-and-visual-studio-2010/

 

Setting up a public repository

http://book.git-scm.com/4_setting_up_a_public_repository.html

 

Deleting a repository

http://stackoverflow.com/questions/1213430/how-to-fully-delete-a-git-repository-created-with-init

 

Some interesting side notes

http://stackoverflow.com/questions/804545/what-is-this-git-warning-message-when-pushing-changes-to-a-remote-repository

http://www.gilesthomas.com/?p=379

Fluent Email and Git hub

By Kenneth 'RabidDog' Clark at September 07, 2011 23:05
Filed Under: C#, Code, Open Source

So after submitting the changes for Fluent Email to the initial developer and him suggesting that I create a fork of the repo to contribute via, I finally got round to doing it. So what I am going to do is share my experience here.

 

First thing you need to do is git installed on your machine. The installer can be found here http://code.google.com/p/msysgit/downloads/list (I went for the full installer download). Then proceed to install the package and follow the instructions. Once you have completed that install you are going to need to set up your RSA keys to be able to connect to git hub via the bash. You can add your keys at the address https://github.com/account/ssh.

 

Right the next thing you might want to get is tortoise git. Simplifies the process of using git quiet significantly! Yes I am going to learn the command line stuff Winking smile Tortoise Git can be found at http://code.google.com/p/tortoisegit/downloads/list

 

Right now we got everything set up the next thing you need to do is fork the repo you want to work on. The instructions can be found here http://help.github.com/fork-a-repo/. Once you forked the repo you can now clone it to a directory on your machine (much like SVN), then edit away and when you ready you can commit your changes and push them.

 

I updated the Fluent Email to allow use of the template parsing outside the context of the Email class. I thought this would be handy for situations like I had recently where I needed the parser but not the email. I would have created another project for the parser but figured that the credit is due to the initial developer so left it in there. Then I refactored the addressing mechanism to remove duplicate code. It now reuses a single mechanism to parse the email addresses and names. Anyways if you interested check out https://github.com/RabidDog/FluentEmail



I am South African. Always have been always will be. I love my country. I love my wife and two children.


I also really enjoy solving problems. I currently work as a Software Architect exploring new solutions for business problems. Having been round the block a few times I enjoy showing new developers how best to solve problems, how to find answers and how to approach solution development.


In my spare time I enjoy riding my super bike, training in Systema and horsing around with my family.


Month List

Visitors

Twitter Feed

21. May 10:15
Still can't believe that they used american actors in Invictus. Just doesn't fit!

17. May 17:12
@UnexpectedPippa only 3? "Don't touch me on my studio!"

17. May 17:12
@SaartjieJoan if you look around you might see many forks hanging out of eye sockets

17. May 17:09
@SaartjieJoan That truly is amazing HAHAHAHA!