Archive for August, 2009

31
Aug
09

nice article


I really liked this article. Maybe I’ll join Perl Ironman.

27
Aug
09

replacing a windows path with a unix one using ant


If for some reason ant interprets your backslashes and you need slashes to make your thing work, here’s a snippet that will convert your windows style path to a unix style one :

  1. <target name="replace-path-example">
  2.   <property name="WIN_PATH" refid="some.path"/>
  3.   <echo message="${WIN_PATH}" file="temp.file"/>
  4.   <replace file="temp.file" token="\" value="/"/>
  5.   <loadfile srcfile="temp.file" property="UNIX_PATH"/>
  6.   <echo message="path is ${UNIX_PATH}"/>
  7.   <delete file="temp.file"/>
  8. </target>

26
Aug
09

current directory in batch files


If you ever need the current directory in a batch script, you can get it through the environment variable %CD%. To see all the environment variables defined by the shell for you, run this :
set /?

Source of this was this MSDN blog.

25
Aug
09

flash podcast


If you’re into Flash, you might like this website : The Flash Video Training Podcast

25
Aug
09

not a great day


Today I felt real bad for a couple of hours. I can’t really pinpoint the cause, I had enough to sleep over the past few days, I’ve been hydrated. Strange. I hope this doesn’t happen anytime soon.

Have you ever noticed that sometimes listening to your favorite music can make wonders for your morale? Today I got back from work feeling miserable, and I thought “maybe some music could cheer me up”. So I played Rascal Flatt’s “Stand” and Chumbawamba’s “Tubthumping”. They worked miracles on me. I recommend them anytime you’re feeling down.

24
Aug
09

fear the almighty

funny pictures of cats with captions
see more Lolcats and funny pictures

22
Aug
09

going wrong






Blog Stats

  • 223,848 hits