30
Dec/08
0

Cricket Score for Mac

I just wrote a quick little application yesterday which gets the latest cricket score from Google, and refreshes it every 30 seconds.

It’s not without it’s bugs, but it does the job, complete with growl support.

At the moment it’s mac only, and only tested on 10.5, but I’m sure it would work fine on other versions of Mac OS X. I can also release a windows version pretty easily, if anyone wanted.

You can download it from here:

http://upload.lukecarbis.com/uploaded/Cricket%20Score.zip

Filed under: Tech
22
Dec/08
0

Graphs

I have a new website, called Graphs. It’s pretty cool. Check it out.

Filed under: Tech, Update
10
Dec/08
0

HTML Javascript Validation!

Okay so the title for this post is a little bit strange. I don’t really know how to describe it other than to say this.

You know when you’re trying to validate a webpage, but it won’t because some of the javascript has html in it which is picked up by the validator as invalid?

Well, if you do know what I’m talking about, here’s a fix (it’s been annoying me for ages):

If you’re not using external javascript files, to prevent the validator from spitting errors from your javascript code,

simply surround them within CDATA tags, like this:

<script type="text/javascript">
/* <![CDATA[ */
var myfunction = function(){

};
/* ]]> */
</script>
Filed under: Tech
8
Dec/08
2

How to hide files and folder in Leopard

In Mac OS X, there’s no easy way to hide something without renaming it. Sure you can put a . in front of the name of the file/folder, but that changes the path. There’s also a way to do it with Developer Tools, but what if you don’t have developer tools?

Finally, I’ve come accross an easy terminal command to change a file or folders visibility! Just type the following into terminal:

sudo chflags hidden /path/to/file

to unhide:

sudo chflags nohidden /path/to/file

Finally! A way to hide those pesky Microsoft User Data and Halo folders that want to live in your Document folder.

If this doesn’t work for you, or if you have any questions, leave a comment and I’ll do my best to get back to you.

Filed under: How To, Tech