ColdFusion Posts Around the World.
ColdFusion Posts Around the World. Coldfusion Random String GeneratorCommon Man's Rants and RavesToday I needed to generate some random strings. Now, I've used a function for years, but our codebase is mostly tag-based (not cfscript-based) here at work, and I wanted to follow that flow. What began as rewriting the function I had been using, and adding a new feat...IIS, PHP, FastCGI and error 0x8007010bCommon Man's Rants and RavesIt's tough when you get a buried error, we all know this. We have a Wordpress site, running against IIS and utilizing PHP via FastCGI. ...Buffalo Linkstation - Partition not FoundCommon Man's Rants and RavesMostly putting up this content so I can find it again later, but it might help some folks that struggled to find an answer. Original post was here: http://www.herzig-net.de/prog/?page=unbrick_ls-wxl (Never know when a page might no longer be alive!) Now, this post refers to a "Buffalo Linkstatio...Buffalo Linkstation - Partition not FoundCommon Man's Rants and RavesMostly putting up this content so I can find it again later, but it might help some folks that struggled to find an answer. Original post was here: http://www.herzig-net.de/prog/?page=unbrick_ls-wxl (Never know when a...Javascript DataTables and TN4 error on SortingCommon Man's Rants and RavesThis is just a quick note for myself. Perhaps it will help others. Mind you, I feel like this is a workaround, not an actual solution. I have an ajax sourced DataTable. (If you're not familliar with these, see: http://datatables.net. They really are awesome.) This particular table is strugglin...URLDecoder: Illegal hex characters in escape (%) patternCommon Man's Rants and RavesPosting so I can find this easily next time, maybe even I'll remember typing this up. With Railo (4.2+) and MySQL, I used a generated password that contained a percent sign (%) in the value. For example: thisIsA%Password%Sample The problem is that Railo attempts to use "URL decoding" on it, ...Sometimes solution for: Cannot read property "aDataSort" of undefinedCommon Man's Rants and RavesAt my company, we use DataTables frequently. (Code available at Datatables.net) Like my last post, I wanted to put up another post either to help others, or more likely, help myself when I can't solve the answer. When I'm building out my datatables, I am often converting from an older syntax to ...URLDecoder: Illegal hex characters in escape (%) patternCommon Man's Rants and RavesPosting so I can find this easily next time, maybe even I'll remember typing this up. With Railo (4.2+) and MySQL, I used a generated password that contained a percent sign (%) in the value. For example: &nbs...Javascript DataTables and TN4 error on SortingCommon Man's Rants and RavesThis is just a quick note for myself. Perhaps it will help others. Mind you, I feel like this is a workaround, not an actual solution. I have an ajax sourced DataTable. (If you're not familliar with these, see: http://datatables.ne...Sometimes solution for: Cannot read property "aDataSort" of undefinedCommon Man's Rants and RavesAt my company, we use DataTables frequently. (Code available at Datatables.net) Like my last post, I wanted to put up another post either to help others, or more likely, help myself when I can't solve the answer. When I'm building out my datatables, I am often conver...IIS 7, Railo and Rewrite Rules (SES)Common Man's Rants and RavesI recently added the "suggested" SES rewrite rules for my Coldbox app. I use IIS7 along with Railo Tomcat. After the rewrite rules were added to my web.config file and uploaded, my Railo admin became (keywords coming:) ugly, unusuable, missing CSS, no style, missing images...just horrible! You're...IIS 7, Railo and Rewrite Rules (SES)Common Man's Rants and RavesI recently added the "suggested" SES rewrite rules for my Coldbox app. I use IIS7 along with Railo Tomcat. After the rewrite rules were added to my web.config file and uploaded, my Railo admin became (keywords coming:) ugly, unusuable, missing CSS, no style, missing images...just horribl...Coldfusion 8 and Decrypt functionCommon Man's Rants and RavesFound an interesting item today in Coldfusion. Apparently decrypt() in Coldfusion (8, at least) can apparently figure out when you intentionally change an encrypted value and still decrypt it. ...How to reintegrate SVN branch back to trunk using TortoiseCommon Man's Rants and RavesWe've begun in our dev shop to use SVN (Subversion)branches to develop, test and implement new features. Like many shops I've run across, we use Tortoise as our SVN client. I didn't fully understand the process of reintegrating my branch back to the trunk, and after some reading (along with some t...Sublime - Key Binding for Toggle Word WrapCommon Man's Rants and RavesTired of choosing the View menu, then Word Wrap? Are you a keyboard person, not a mouse person? This will save you a little bit of time. Add this key binding line to your "Key Bindings - User" to eliminate the new for mouse work. { "keys": ["ctrl+shift+w"], "command": "toggle_setting", "args": {...Sublime - Correcting your common misspellings automaticallyCommon Man's Rants and RavesIn the past 8 months or so that I've been using Sublime (version 2, as of this writing v3 is still in Beta), I have found it to be the best coding editor I have ever used. I was a die-hard UltraEdit fan, but after trying Sublime, I haven't gone back to UltraEdit at all.Enough with the fanboy raving...Coldfusion 8 and Decrypt functionCommon Man's Rants and RavesFound an interesting item today in Coldfusion. Apparently decrypt() in Coldfusion (8, at least) can apparently figure out when you intentionally change an encrypted value and still decrypt it.How to reintegrate SVN branch back to trunk using TortoiseCommon Man's Rants and RavesWe've begun in our dev shop to use SVN (Subversion)branches to develop, test and implement new features. Like many shops I've run across, we use Tortoise as our SVN client. I didn't fully understand the process of reintegrating my branch back to the tru...Sublime - Correcting your common misspellings automaticallyCommon Man's Rants and RavesIn the past 8 months or so that I've been using Sublime (version 2, as of this writingSublime - Key Binding for Toggle Word WrapCommon Man's Rants and RavesTired of choosing the View menu, then Word Wrap? Are you a keyboard person, not a mouse person? This will save you a little bit of time. Add this key binding line to your "Key Bindings - User" to eliminate the new for mouse work.Coldfusion: Easy Timers for your objectsCommon Man's Rants and RavesI've been really getting into logging lately. A good friend of mine, through repeated "Gibbsing", wore me down on it, and I really do like using it. (We'll talk about unit testing another time.) It really helps to leave debugging statements in your code, re-enable debugging for that class later a...Coldfusion: Easy Timers for your objectsCommon Man's Rants and RavesI've been really getting into logging lately. A good friend of mine, through repeated "Gibbsing", wore me down on it, and I really do like using it. (We'll talk about unit testing another time.) It really helps to leave debugging statements in your code, re-enable debugging for tha...Coldfusion: Issue with application mappings and expandPath()Common Man's Rants and RavesThis is just a quickie regarding Coldfusion's per-application mappings and what happens when you try to use expandPath() with your mapping. (Note: This is under CF9, our company hasn't yet gone to CF10.) Working in a test file of testSandbox/testFolder/test.cfm, I needed to access a CFC outside m...Coldfusion: Issue with application mappings and expandPath()Common Man's Rants and RavesThis is just a quickie regarding Coldfusion's per-application mappings and what happens when you try to use expandPath() with your mapping. (Note: This is under CF9, our company hasn't yet gone to CF10.) Working in a test file ofGoogle Chrome Loading Blank PagesCommon Man's Rants and RavesMaking this quick post so I don't have to search forever to find this solution in the future. (You know, where you scratch your head and say "I've had this problem before. How did I resolve it?") Sometimes Google Chrome gets weird. For me this is often when I put my Windows machine in sleep or h...Google Chrome Loading Blank PagesCommon Man's Rants and RavesMaking this quick post so I don't have to search forever to find this solution in the future. (You know, where you scratch your head and say "I've had this problem before. How did I resolve it?") Sometimes Google Chrome gets weird. For me this is often when I put my Wi...UltraEdit -- Syntax Highlighting not Working (How to fix)Common Man's Rants and RavesJust a quick post here, if for no other reason so I can find it later myself. With the last few versions of UltraEdit (up to v19 as of this writing) on my home machine (but not another machine I use UltraEdit on daily), my Coldfusion files would not correctly highlight upon opening. There were two...UltraEdit -- Syntax Highlighting not Working (How to fix)Common Man's Rants and RavesJust a quick post here, if for no other reason so I can find it later myself. With the last few versions of UltraEdit (up to v19 as of this writing) on my home machine (but not another machine I use UltraEdit on daily), my Coldfusion files would not correctly highlight upon opening.Customer Service / Phone MenusCommon Man's Rants and RavesI found myself needing to call AT&T (Mobile) today to ask some questions about my account. When you begin to wade through the phone menu, one of the first things the system does is ask you for your wireless phone number and then the last four digits of the account holder's Social Security number. ...Customer Service / Phone MenusCommon Man's Rants and RavesI found myself needing to call AT&T (Mobile) today to ask some questions about my account. When you begin to wade through the phone menu, one of the first things the system does is ask you for your wireless phone number and then the last four digits of the account holder's Social Se...(Possible) Tool for managing Scottrade Portfolios (not OFX)Common Man's Rants and Raves(I hope you stumbled on this post trying to find a solution for a stock portfolio management/status solution because you're frustrated with everything else out there and you're a Scottrade customer.) I am Scottrade customer. I have a bad habit (maybe) of wanting to watch my portfolio. Now, I'm in...(Possible) Tool for managing Scottrade Portfolios (not OFX)Common Man's Rants and Raves(I hope you stumbled on this post trying to find a solution for a stock portfolio management/status solution because you're frustrated with everything else out there and you're a Scottrade customer.) I amCSS Trick for HTML5, Edit CSS inline for the pageCommon Man's Rants and RavesWe all have our favorite RSS feeds to follow and I'm no exception. One my favorites, CSSTricks.com, had a great post this morning about how you can use HTML5 along with an easy setup to edit CSS for a page right there *on* the page. Pretty neat trick. Be sure to try the demo! Check it out for y...CSS Trick for HTML5, Edit CSS inline for the pageCommon Man's Rants and RavesWe all have our favorite RSS feeds to follow and I'm no exception. One my favorites, CSSTricks.com, h...Very cool Javascript debugging trick (Firefox, Javascript)Common Man's Rants and RavesI'm working along on a page, an interface for some configuration data. I have a javascript validation routine that runs upon hitting save. I had all my various dynamic HTML elements exactly like I wanted them, and didn't want to hard reload the page, yet again, to get the new Javascript code. In ...Very cool Javascript debugging trick (Firefox, Javascript)Common Man's Rants and RavesI'm working along on a page, an interface for some configuration data. I have a javascript validation routine that runs upon hitting save. I had all my various dynamic HTML elements exactly like I wanted them, and didn't want to hard reload the page, yet again, to get the new Javascript ...Better Javascript in ColdfusionCommon Man's Rants and RavesI gave a presentation today at work on improving your Javascript skills, as it relates to Coldfusion development. While there were a million things I would've like to cover, I only had an hour. Here are some highlights that might be worth passing on: Avoid and These tools, while ...Gmail Notifier -- Wasn't working, here's the fix...Common Man's Rants and RavesFor some months now, I've been having errors with Google Gmail Notifier. Whenever my machine restarts, I'm asked to login for that little app, which I do. It promptly says "Can't connect..." or some such thing. I typically just exit the app and don't think about it until my next reboot. The whee...Better Javascript in ColdfusionCommon Man's Rants and RavesI gave a presentation today at work on improving your Javascript skills, as it relates to Coldfusion development. While there were a million things I would've like to cover, I only had an hour. Here are some highlights that might be worth passing on:Av...Gmail Notifier -- Wasn't working, here's the fix...Common Man's Rants and RavesFor some months now, I've been having errors with Google Gmail Notifier. Whenever my machine restarts, I'm asked to login for that little app, which I do. It promptly says "Can't connect..." or some such thing. I typically just exit the app and don't think about it until my next reboot. The whee...SQL Server Error: Dynamic SQL and 'you must declare scalar variable @whatever'Common Man's Rants and RavesA good CF-er friend of mine says blogging about mistakes makes me look bad to potential employers. I think that it might help someone out there save some time, and to remind myself that I certainly don't know as much as I think I do! So here's a fun one for today. I had to modify an MSSQL stored ...SQL Server Error: Dynamic SQL and 'you must declare scalar variable @whatever'Common Man's Rants and RavesA good CF-er friend of mine says blogging about mistakes makes me look bad to potential employers. I think that it might help someone out there save some time, and to remind myself that I certainly don't know as much as I think I do!So here's a fun one for today.I had to mod...Trillian Astra -- Awesome hidden featureCommon Man's Rants and RavesSo I've been on the Trillian Astra (multi-service instant messenger program) beta for some time now. I totally love it and can't wait for it to go to production so I can pay these guys for their great work. I just discovered a nifty feature today by accident and wanted to share. Typically, I use ...Trillian Astra -- Awesome hidden featureCommon Man's Rants and RavesSo I've been on the Trillian Astra (multi-service instant messenger program) beta for some time now. I totally love it and can't wait for it to go to production so I can pay these guys for their great work.I just discovered a nifty f...Implementing Transfer Observers across all your decorators, the easy way!Common Man's Rants and RavesIn our framework, we use Transfer "Decorators" as a common way to extend the functionality of the generated objects that are based on the configuration XML. For this system, we have a record (media) that represents each user upload of images. For example, we allow multiple profile images to be upl...Implementing Transfer Observers across all your decorators, the easy way!Common Man's Rants and RavesIn our framework, we use Transfer "Decorators" as a common way to extend the functionality of the generated objects that are based on the configuration XML.For this system, we have a record (media) that repr...FancyBox, jQuery and z-indexCommon Man's Rants and RavesSo yesterday I'm working with the jQuery plugin called FancyBox. It's a great little popup gizmo, similar to Lightbox, Thickbox, et. al. But I'm having a problem. In the page I'm working in, I find that we have some crazy high z-index values having been set. One of them is 100,000. Dude. Crazy....FancyBox, jQuery and z-indexCommon Man's Rants and RavesSo yesterday I'm working with the jQuery plugin called FancyBox. It's a great little popup gizmo, similar to Lightbox, Thickbox, et. al. But I'm having a problem. In the page I'm working in, I find that we have some crazy high z...Losing my mind with a form...Common Man's Rants and RavesYesterday I created a form. I actually had two on the page. One that did a search, and the results allowed for inline editing. After saving the values in the fields that accompanied the search results, I wanted the search to run again, showing the saved values. Unfortunately, while my save opera...Eclipse and getting .htm and .html files to open in CFEclipse...Common Man's Rants and RavesI've been working lately with a lot of HTML files that primary templates, read in by ColdFusion and Java for processing. I love CFEclipse, with it's great color coding making my files easier to read and scan. However, with my current "company-provided" Eclipse setup, .htm* files opened in the regu... |