[cfaussie] Re: CF Editors on Windows RT?
Yep, SublimeText hands down. I stuck with HomeSite+ for wy too long and pretty much hated everything until getting into SublimeText. Make sure you watch the video on it and you'll be set. http://www.youtube.com/watch?v=TZ-bgcJ6fQot=1s -- You received this message because you are subscribed to the Google Groups cfaussie group. To unsubscribe from this group and stop receiving emails from it, send an email to cfaussie+unsubscr...@googlegroups.com. To post to this group, send email to cfaussie@googlegroups.com. Visit this group at http://groups.google.com/group/cfaussie. For more options, visit https://groups.google.com/groups/opt_out.
[cfaussie] Re: String Manipulation
I think you might find a RegEx using back-referencing and look-ahead is the way to go... REReplace(variables.start_str,'(..)(?!$)','\1:\2','all'); Full test below. cfscript variables.start_str = '1Z0617756740260660'; variables.end_str = REReplace(variables.start_str,'(..)(?!$)','\1:\2','all '); writeOutput(variables.start_str 'br'); // Initial String writeOutput('1Z:06:17:75:67:40:26:06:60br'); // Target result writeOutput(variables.end_str); // Actual Result abort; /cfscript Rawdy On Thursday, July 11, 2013 12:28:23 AM UTC+10, rai...@ozemail.com.au wrote: Hi I am trying to figure our the best way to manipulate the value using CF so I insert : after ever 2 characters as in converting 1Z0617756740260660 to 1Z:06:17:75:67:40:26:06:60 Any suggestions would be appreciated Kind Regards Claude Raiola Director [image: logo_new] TrackingCentral Pty Ltd (A.C.N. 150 409 180) Web: www.TrackingCentral.com.au http://www.trackingcentral.com.au/ Email: in...@trackingcentral.com.au javascript: Call 1300 255 990 -- You received this message because you are subscribed to the Google Groups cfaussie group. To unsubscribe from this group and stop receiving emails from it, send an email to cfaussie+unsubscr...@googlegroups.com. To post to this group, send email to cfaussie@googlegroups.com. Visit this group at http://groups.google.com/group/cfaussie. For more options, visit https://groups.google.com/groups/opt_out.
[cfaussie] Re: String Manipulation
I think you might find a RegEx using back-referencing and look-ahead is the way to go... REReplace(variables.start_str,'(..)(?!$)','\1:','all'); Full test below. cfscript variables.start_str = '1Z0617756740260660'; variables.end_str = REReplace(variables.start_str,'(..)(?!$)','\1:\2','all '); writeOutput(variables.start_str 'br'); // Initial String writeOutput('1Z:06:17:75:67:40:26:06:60br'); // Target result writeOutput(variables.end_str); // Actual Result abort; /cfscript Rawdy On Thursday, July 11, 2013 12:28:23 AM UTC+10, rai...@ozemail.com.au wrote: Hi I am trying to figure our the best way to manipulate the value using CF so I insert : after ever 2 characters as in converting 1Z0617756740260660 to 1Z:06:17:75:67:40:26:06:60 Any suggestions would be appreciated Kind Regards Claude Raiola Director [image: logo_new] TrackingCentral Pty Ltd (A.C.N. 150 409 180) Web: www.TrackingCentral.com.au http://www.trackingcentral.com.au/ Email: in...@trackingcentral.com.au javascript: Call 1300 255 990 -- You received this message because you are subscribed to the Google Groups cfaussie group. To unsubscribe from this group and stop receiving emails from it, send an email to cfaussie+unsubscr...@googlegroups.com. To post to this group, send email to cfaussie@googlegroups.com. Visit this group at http://groups.google.com/group/cfaussie. For more options, visit https://groups.google.com/groups/opt_out.
[cfaussie] Re: String Manipulation
I think you might find a RegEx using back-referencing and look-ahead is the way to go... REReplace(variables.start_str,'(..)(?!$)','\1:\2','all'); Full test below. cfscript variables.start_str = '1Z0617756740260660'; variables.end_str = REReplace(variables.start_str,'(..)(?!$)','\1:','all'); writeOutput(variables.start_str 'br'); // Initial String writeOutput('1Z:06:17:75:67:40:26:06:60br'); // Target result writeOutput(variables.end_str); // Actual Result abort; /cfscript Rawdy On Thursday, July 11, 2013 12:28:23 AM UTC+10, rai...@ozemail.com.au wrote: Hi I am trying to figure our the best way to manipulate the value using CF so I insert : after ever 2 characters as in converting 1Z0617756740260660 to 1Z:06:17:75:67:40:26:06:60 Any suggestions would be appreciated Kind Regards Claude Raiola Director [image: logo_new] TrackingCentral Pty Ltd (A.C.N. 150 409 180) Web: www.TrackingCentral.com.au http://www.trackingcentral.com.au/ Email: in...@trackingcentral.com.au javascript: Call 1300 255 990 -- You received this message because you are subscribed to the Google Groups cfaussie group. To unsubscribe from this group and stop receiving emails from it, send an email to cfaussie+unsubscr...@googlegroups.com. To post to this group, send email to cfaussie@googlegroups.com. Visit this group at http://groups.google.com/group/cfaussie. For more options, visit https://groups.google.com/groups/opt_out.
[cfaussie] Re: String Manipulation
I think you might find a RegEx using back-referencing and look-ahead is the way to go... REReplace(variables.start_str,'(..)(?!$)','\1:','all'); Full test below. cfscript variables.start_str = '1Z0617756740260660'; variables.end_str = REReplace(variables.start_str,'(..)(?!$)','\1:','all'); writeOutput(variables.start_str 'br'); // Initial String writeOutput('1Z:06:17:75:67:40:26:06:60br'); // Target result writeOutput(variables.end_str); // Actual Result abort; /cfscript Rawdy On Thursday, July 11, 2013 12:28:23 AM UTC+10, rai...@ozemail.com.au wrote: Hi I am trying to figure our the best way to manipulate the value using CF so I insert : after ever 2 characters as in converting 1Z0617756740260660 to 1Z:06:17:75:67:40:26:06:60 Any suggestions would be appreciated Kind Regards Claude Raiola Director [image: logo_new] TrackingCentral Pty Ltd (A.C.N. 150 409 180) Web: www.TrackingCentral.com.au http://www.trackingcentral.com.au/ Email: in...@trackingcentral.com.au javascript: Call 1300 255 990 -- You received this message because you are subscribed to the Google Groups cfaussie group. To unsubscribe from this group and stop receiving emails from it, send an email to cfaussie+unsubscr...@googlegroups.com. To post to this group, send email to cfaussie@googlegroups.com. Visit this group at http://groups.google.com/group/cfaussie. For more options, visit https://groups.google.com/groups/opt_out.
[cfaussie] MAD! Melbourne Adobe Developers: Searn Corfield, Clojure. 21 Aug **TUESDAY**, 2012
Thanks Sean, Peter, Steve and Dale. Great presentation tonight. Got a lot out of it. -- You received this message because you are subscribed to the Google Groups cfaussie group. To view this discussion on the web visit https://groups.google.com/d/msg/cfaussie/-/x4bk1eG6qxMJ. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: Cached 404 on remote rest webservice
Thanks Steve and Charlie, *Steve,* I'll be honest and say I am unfamiliar with the way (or indeed what) you have written there so I'll have to go away and learn something before I can make any educated comment. In terms of the CFADMIN webservices, I looked in there but there were only the SOAP services we connect to with SEEK. The REST ones were not listed or I would have indeed tried to delete them. *Charlie,* I looked at the articles you listed and the second onehttp://coldfused.blogspot.com/2008/01/dns-lookup-caching-in-coldfusionjava.htmllooked very right to me. So I looked up the settings for and *networkaddress.cache.ttl* and * networkaddress.cache.negative.ttl*. The first was set to -1 (=forever) and the negative was set to 10 (=10 seconds). I conclude the DNS lookup was successful (even though the end result was a 404) so it cached the DNS permanently. I also suspect that MyCareer moved the location of the service but still had the old IP resolving to something (that generated the 404). I'll think about changing the ttl setting but given this is the first occurence of it in 12 years of CF I'll probably just add a not to my emergency checklist. Thanks very much for your time guys. -- You received this message because you are subscribed to the Google Groups cfaussie group. To view this discussion on the web visit https://groups.google.com/d/msg/cfaussie/-/6VFc0PaaMyYJ. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Cached 404 on remote rest webservice
Struck by an odd one tonight and I am hoping it is just me being a dope but... CF 901, Win2K3, IIS We connect to the MyCareer job site through their REST web service that allows us to post jobs from our system to their job board. They were down over the weekend doing an upgrade so our connector would spit errors each hour that it ran while they were offline. Once they came back online our system continued to spit out the 404 error. I inspected the DNS cache, nothing there... flushed it anyway. No joy. Added some random variables to the uri call. Nothing. Reset all Application settings. Nada. (Wished I'd thought to clear template cache via admin but, alas, I didn't get to try that) Bounced the CF service and bingo. Back in business. In case this helps; the Scheduled Task calls a .cfm that invoked the CFC that handled the '*REST*' of it (boom boom). I know back in V7 they had issues with CF caching a 404 but a) thought it was fixed and b) not sure if that was remote 404s anyway. Anyone have any input? Is there a setting I am missing somewhere in the CFADMIN? Do I need to go get a job selling news papers? Thanks a bunch. Rawdy -- You received this message because you are subscribed to the Google Groups cfaussie group. To view this discussion on the web visit https://groups.google.com/d/msg/cfaussie/-/MekIDZLckiwJ. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
Re: [cfaussie] MAD! Melbourne Adobe Developers Meeting April 19, 2012
Sorry folks. My '58 bus has broken down enroute so I'll be busy pushing it home. Apologies Mark. -- You received this message because you are subscribed to the Google Groups cfaussie group. To view this discussion on the web visit https://groups.google.com/d/msg/cfaussie/-/d91GZkfYVvQJ. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
[cfaussie] Re: MAD! Melbourne Adobe Developers Meeting April 19, 2012
Absolutely going to this one. -- You received this message because you are subscribed to the Google Groups cfaussie group. To view this discussion on the web visit https://groups.google.com/d/msg/cfaussie/-/bVSuMd0sUuIJ. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
Re: [cfaussie] Installing secure certificate
I have a working MIGS integration. Currently on CF9 but it has been running for several years so was running on CF8 happily. I don't recall any issues with SSL. I'll look up the code tomorrow to see if I can add anything useful. Rawdy On Monday, June 13, 2011, Steve Onnis st...@cfcentral.com.au wrote: I have already done all this...as i mentioned in my initial email I am trying to do a CFHTTP POST to the MIGS payment gateway -Original Message- From: Ayudh Nagara | http://www.xilo.com [mailto:ayudh.nag...@gmail.com] Sent: Monday, 13 June 2011 8:51 PM To: cfaussie Subject: [cfaussie] Re: Installing secure certificate Hey Steve, Problem sounds familiar... Are you getting this error message using remote CFHTTP or SOAP calls to your SSL site from a remote CF application? If so you need to export the public certificate from the target site into the CF certificate store of the calling site. Just hit the target site with a browser from the calling server, click the SSL padlock and follow the prompts to export the site cert and save it on disk. Then use portecle to install it in the cert store, typically at C:\ColdFusion8\runtime\jre\lib\security\cacerts On Jun 13, 8:05 pm, Steve Onnis st...@cfcentral.com.au wrote: I am having some issues trying to get a certificate installed on a CF8 ENT server. I have used both the command line process and the portecle tool to try and get the certificate to install without much luck. I have restarted CF and the whole server and i am still getting the I/O Exception: peer not authenticated message Any ideas on where to go to from here? Steve -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- *Rawdyn Nutting* Chief Technology Officer *CODEBASE Pty Ltd* codebase.com.au 1300 596 400 -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.
Re: [cfaussie] MAD! Melbourne Adobe Developers meeting for Thursday 28 April 2011
Sorry folks, Just got handed some urgent work and have already blown all my spare time today playing Portal2 so I have to stay back and work. I'd be very interested if these presentations were available online somewhere as I was looking forward to both of them. *Rawdyn Nutting* Chief Technology Officer *CODEBASE Pty Ltd* codebase.com.au 1300 596 400 -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.