joeydaly.com #code #afl #tennis

25May/100

Error Output & Standard Output

Posted by Joey

Great little utility when using batch files.

http://systemcommand.riaforge.org/

Usage:

<cfset objSysCmd = createObject(“java”,“au.com.webcode.util.SystemCommand”).init() />
<cfset rs= objSysCmd.execute(“java -version”) />

<cfoutput>
Error Output: #result.getErrorOutput()#<br />
Standard Output: #result.getStandardOutput()#<br />
</cfoutput>

24May/100

Better Server Setup for CI

Posted by Joey

I’ve been using Code Igniter (CI) for a lil bit, but one of the things I noticed… with most frameworks – you need to keep re-creating the entire framework folder for each app.

The best thing to do is keep it in one spot, and map to it relatively. I’ve done this all the time in CF – which is heaps easy to do with the CF Admin -… Continue reading

6May/100

Coldfusion Server – jrun running at 100%

Posted by Joey

This has been a big problem with one of our servers recently. In a nutshell I’ll describe what I’ve done to try help the situation, without really fixing the problem. Incase you’re like me and don’t have a huge development team or the tech resources to dedicate hours on fixing servers…

Firstly, the reason why jrun is 100%. Think of JRun as the Checkout girl at your supermarket, and… Continue reading

1May/100

Google Apps

Posted by Joey

Recently we’ve just made the move to Google Apps from Exchange. We also ditched using Outlook and moved to Gmail web based.

This of course caused a heap of problems, considering the differences between the two. The biggest bonus was the cost factor which is what our company wants… Saving heaps of money, no need to manage servers and applications to keep mail running.

One word of advice… Continue reading