Pages

Thursday, November 26, 2009

Packing for HK

Hey everyone, I'm going to Hong Kong in just 2 days! Flying this Saturday morning, on Korean Air, and thus through South Korea. 2 hour stop over on the way there, and 12 hours on the way back.

I'm looking forward to exploring the big city, the shopping malls, and seeing all the sights. Theres the Peak, Wax Museum, Noah's Ark, the Giant Buddha, Disney Land/Ocean Park, the Space Museum, and much more.

There's also my cousin's wedding. Why are there so many weddings this year and next?

Saturday, November 21, 2009

Visual Studio Post Build Event to Copy DLLs into one Directory

*Updated 30th March 2010*

Basically I have this problem: I have a big solution with several projects.  Each  project builds into a dll which gets placed in its Bin directory at the project level.  All the necesary dlls are also included in the bin directory.  However, I want to be able to colllect all dlls for the solution into one folder for me to easily deploy onto the live server.

Put this into the Post Build Event in each of your projects:

xcopy /y $(ProjectDir)$(OutDir)$(TargetFileName) $(SolutionDir)GAC\

This will take the all output files from the current project and copy it to the solution root and into the folder called GAC.  Doing this to each of the projects will give you the collection of dlls in that GAC folder.

If you want to only do this on Release Build add:


if $(ConfigurationName) == Release xcopy ...

Friday, November 20, 2009

Break in

Just yesterday my house was broken into.  From talking with my neighbors, the break in occurred sometime between 9am and 12 noon.  Now fortunately nothing was taken as we have decent security; an alarm and many deadlocks on the doors.  What happened was the guy went round the side and broke into my window by prying it open with a crowbar.  The entire window frame has come apart, but the glass was still intact, probably as to not make too much noise.  The window leads into my flat and the guy is extremely quick and efficient, not disturbing much on my desk.  The alarm would have went off and he was able to locate both the siren and then control panel ripping both off.  Unfortunately for him the alarm is hooked up upstairs and so it still went off.  Unable to turn off the alarm, or open the door to get back out, he climbed out the window without taking anything and very little (aside from the alarm) seems touched.

I had a few coins lying around, and my laptop which would have been easy to take, but not worth much (5 year old laptops wouldn't sell for much) and my computer and monitor would have been fairly large and difficult to rush off with (since he couldn't get out the door).  He must have saw my big cheap CRT TV and thought that there was nothing here valuable enough to steal (which is true).  The most valuable (in terms of cost) would have been my computer and monitor costing me some $1500 but probably wouldn't sell for nearly that.  The guy was probably hoping to get into the main house upstairs which was locked, and hoping to find some gold and jewelry.

Some advice and things:

  • Get Deadlocks for your doors - ones that NEED a key to open from both inside and out
  • Have at least 2 locks on your main door
  • Have locks on all windows - or at least the ones you can get to
  • Lock your doors and windows when you go out - and check them!
  • Install an Alarm - and set it when you go out!
  • Install security cameras - webcams or even fake security cameras
  • Timers which turn on your radio/TV/lights and irregular intervals - especially for holidays
  • Store all jewelery in Safety deposit boxes
  • Record all serial numbers of electronics and gadgets -if for nothing else; Insurance
  • Finally, talk to your neighbours, let them know what time the break in happened and get your whole neighbourhood aware
  • Burglars often burgle during the day, sometimes in the evening when the lights are out
  • Burglars like places where people can't easily see what they are doing
  • If you do get stuff stolen, serial numbers can help track them down, or do some research yourself to look for the stuff

Monday, November 16, 2009

Matt 25:34-40

34"Then the King will say to those on His right, 'Come, you who are blessed of My Father, (AE)inherit the kingdom prepared for you (AF)from the foundation of the world.

35'For (AG)I was hungry, and you gave Me something to eat; I was thirsty, and you gave Me something to drink; (AH)I was a stranger, and you invited Me in;

36(AI)naked, and you clothed Me; I was sick, and you (AJ)visited Me; (AK)I was in prison, and you came to Me.'

37"Then the righteous will answer Him, 'Lord, when did we see You hungry, and feed You, or thirsty, and give You something to drink?

38'And when did we see You a stranger, and invite You in, or naked, and clothe You?

39'When did we see You sick, or in prison, and come to You?'

40"(AL)The King will answer and say to them, 'Truly I say to you, (AM)to the extent that you did it to one of these brothers of Mine, even the least of them, you did it to Me.'

Sunday, November 15, 2009

New Zealand are going to South Africa!!

One shot at glory... and we got it!


The Marsdens

Come check out what some of my friends living at the Marsden flat have been doing; living out life on a flat

Saturday, November 14, 2009

Jesus for the Homeless - website

I finally finished setting up the website (blog) at http://jesusfth.blogspot.com