Atom – Changing ATOM_HOME

How many of you didn’t try to make a propert IDE from Atom by now. Let me tell you. From many many many many (I forgot how many) points of view, it’s one of the best text editors out there. And yes, with a little work, the right plugins and a lot of think through,…

Intre noi si pamant

Intre noi si pamant erau luna si cerul si norii si mormantul lui Dumnezeu Copii jucau aievea, rugi Tu arzi precum vapaia unui rug si dansul in care ma inchin… Si nu te stingi! Si-am vrut sa musc din flacari din ziua-ntai! Tu erai luna; eu acel chip de clei Privind in fiecare noapte cum…

Larg închis

Spunea ca şi-a închis ochii şi a uitat cerul printre pântece – hăul l-a cuprins în căderea-i spre ea – Înnebunit, şi-a pironit sinele în vârful cel mai de sus – sub sine Miroase a ploaie rânceda, spunea – parfum de roşu revărsat din trupul ultimului înger a cărui amintire hâdă am păstrat-o – negură…

Toamna frunzelor rosii

Ma las ei testament, spre a-mi modela flacarile dupa dorinta sa M-am aprins iar – Stinge-ma-va cu furia-i de fier… cel mai apropiat lac ar fi fost dulce binecuvantare M-as fi lasat cuprins de apa – mi-ar fi furat, cu sete, aerul – singurul lucru care pare ca imi apartine de drept. Am lovit iar……

Resetting Atom IDE

Too often now, my Atom setup fails to load giving the following message: Not a permanent solution, but one to help you move on, is resetting the window state.

3DES Encryption with CFSCRIPT

Won’t comment much about it. We needed it, you may need it, so here it is:

Check also as an example here on trycf.com

Railo / ColdFusion – Writing Image to Outpout Stream

Hello guys, Needed to do this for a project my team is maintaining, but I could only find the solution for ColdFusion, which looks like this:

After consulting Railo documentation on GetPageContext method, we’ve come to the following result:

How it will be useful to you as well.

CFML Generating Random String

While working on one of my client’s projects, I’ve encountered the need of generating RANDOM strings. Since, as almost, any other language, Cold Fusion does not have any type of support for this functionality, I had to create a function of my own. Hope you find it useful.

Zend framework 2 generating route url with domain name

Nothing more than this little line of code:

Of course, you need to call it within a code zone where you can invoke the URL helper. What you see above, assumes that you are in a .phtml file invoked by a controller’s action.

Dumping object inside cfscript tag

I’ve been looking for this a few times now, until now i’ve found two interesting options. One is creating a cffunction of your own, and using it inside a cfscript afterwards:

window.setTimeout call functions with parameters / DOM vs MSDN vs MDN

One of my latest WTFs came from a javascript diference between the MSDN (yes… Microsoft Developer Network) and the rest of the world which may actually follow the latest DOM description. Even though, w3schools.com still presents this as MSDN does, I’m pretty sure the DOM evolved since. So let’s see:

Java Media Framework vs IP Camera JPEG/MJPEG – reviewed

NOTE: + I will try not to re-write again all the informations I already wrote in “Java Media Framwork vs IP Camera JPEG/MJPEG” a few years ago. This article is only a review of what I wrote back then, plus more info about my implementation of DataSource for JPEG/MJPEG IP Cameras.