Home
  • Get Large Files over HTTP in ColdFusion
    What would you do if you have to fetch out a large file form a slow server over http? Well, it is quite simple. Use CFHTTP and set a reasonable timeout value, 10 minutes in my case. Ran my .cfm file. CFHTTP did establish the connection. Download the file halfway and timeout without any regard to my 10 minute instructions. I’m not really sure the reason for this behavior. It might be the old server I’m talking to or it might be the Krampus. I got quite lot of work to finish today. (more..)
    2 Comments Post Comment Friday 27.12.2013 by Saman W Jayasekara
  • MSSQL TOP vs TOP WITH TIES
    Select Top 1 * from MyTable is nothing new. I was extremely confident with my knowledge of TOP statements, I made the critical mistake of not preparing a set of tested TOP SQL statements for my last week MSSQL class. I can produce a TOP statement query on the fly and explain my students everything there to know about it, so I thought. After all it is just TOP. I stumped. I totally stumped front of “TOP With Ties”. (more..)
    1 Comment Post Comment Thursday 05.12.2013 by Saman W Jayasekara
  • ColdFusion File Manager for CKeditor 4
    Yesterday was thanksgiving and finally I managed to scrape out bit of time to get FileManager plugin for TinyMCE to work with CKeditor 4. Here it is. It works pretty much like the other version, at least to most parts. (more..)
    41 Comments Post Comment Friday 29.11.2013 by Saman W Jayasekara
  • ColdFusion File Manager for TinyMCE 4
    This is the updated version of my previous ColdFusion file manager application for TinyMCE 3. This let users browse through a folder in the server, select images, documents, files, media and insert them into the editing document. Users can also upload new files, create folders. FileManager automatically create thumbnails of two different sizes if the user uploads a large image, making it easier to add thumbnail images to documents without resizing upfront.Set up:This is quite simple. (more..)
    62 Comments Post Comment Saturday 05.10.2013 by Saman W Jayasekara
  • How to Create ColdFusion Snippets in Sublime Text
    Coming from Dreamweaver, Sublime Text surprised me with ton of beautiful little things. Snippet function is one of that. Dreamweaver of cause have snippet panel and it is quite easy to create a new snippet or drag and drop from the panel to a page. But Sublime Text let you do all that with keystrokes and bit more. I use ColdFusion tags, not scripts and I have written millions of CFSET tags. CFSET tag without the variable is 12 keystrokes. (more..)
    2 Comments Post Comment Wednesday 04.09.2013 by Saman W Jayasekara
  • Switch to Sublime Text IDE for ColdFusion Developers.
    I'm moving from Dreamweaver to Sublime Text. Dreamweaver (DW) was my main IDE for almost a decade and it saved me good. Tag completion was excellent and I used bit of snippets too. It was reasonably stable and light, at least compared to Eclipse base IDEs. Search and Replace was excellent. Most impotently file management between remote/local servers were effortless. It works as well as ColdFusion Studio. (more..)
    5 Comments Post Comment Wednesday 04.09.2013 by Saman W Jayasekara
  • BootStrap Popover Essential Tricks
    Here are my links attached to a bootstrap popover, they are USPS tracking numbers. When these been clicked on, I want to display USPS tracking information in the popover box.  Loading content though Ajax Call: Do not update the popover content after it is been loaded, instead whenever possible load popover box when the content is ready from your Ajax call. Here is a comparison. (more..)
    7 Comments Post Comment Wednesday 17.07.2013 by Saman W Jayasekara
  • Playing around with ColdFusion and MongoDB.
    I was dipping my toes in NoSQL MangoDB past week or so. It made me feel like an elephant born in captivity suddenly let wonder as free without unyielding rules, traditions or frameworks. It was exciting, adventurous but we used to rules, we like them; they make you feel safe and warm. My last week spent on trying to understand how to deal with MongoDB with ColdFusion. Adobe ColdFusion does not support MongoDB natively yet. (more..)
    4 Comments Post Comment Monday 10.06.2013 by Saman W Jayasekara
  • Circular Thumbnails with ColdFusion / CSS
    Thumbnails were always square, at least in my applications. But thumbnail images in different shapes popping up here and there nowadays, I decided to give that a try too. It is quite easy and looks quite elegant. This can be done with CSS alone or with few line of CFM. Here is my large image and I created a face recognized traditional square thumbnail using ColdFusion. (more..)
    3 Comments Post Comment Monday 20.05.2013 by Saman W Jayasekara
  • Face Cropped Thumbnails with ColdFusion
    Yesterday I played around face recognition in ColdFusion with Jviolajones and it did a good job detecting faces off an image and providing with the coordinates. The final goal of this exercise is to create thumbnails of images focusing on faces, if there are any to be found in the image. Here is my sample image. There are two faces on them. First I want to bring them into a single frame. I would like to include all the faces into the final thumbnail if possible. (more..)
    1 Comment Post Comment Monday 20.05.2013 by Saman W Jayasekara
Previous Posts
  • Search
  • ColdFusion File Manager for TinyMCE 4
  • IronGate : ColdFusion Exception Manager Application
  • Teapot : ColdFusion Blog Application Software
  • An Unofficial ColdFusion Developer Salary Survey
  • Topics
  • AWS
  • Barcode
  • ColdFusion
  • Image Processing
  • inDesign Server
  • JavaScript
  • Shipping API
  • Teapot Blog
  • This and That
  • Recent Posts
  • ColdFusion File Manager for CKeditor 4
  • ColdFusion File Manager for TinyMCE 4
  • How to Create ColdFusion Snippets in Sublime Text
  • Switch to Sublime Text IDE for ColdFusion Developers.
  • BootStrap Popover Essential Tricks


  • Archive
  • 2013 November (1)
  • 2013 October (1)
  • 2013 September (2)
  • 2013 July (1)
  • 2013 June (1)
  • 2013 May (6)
  • 2013 April (1)
  • 2013 March (1)
  • 2013 February (3)
  • 2013 January (1)
  • 2012 December (3)
  • 2012 October (1)
  • 2012 September (2)
  • 2012 July (1)
  • 2012 June (1)
  • 2012 March (2)
  • 2011 November (3)
  • 2011 October (1)
  • 2011 September (1)
  • 2011 July (1)
  • 2011 January (2)
  • 2010 December (4)
  • 2010 November (1)
  • 2010 October (5)
  • Drop me a Note


  • rss
Powered by Teapot ColdFusion Blog