Posts

Adding file extensions to Dreamweaver

If you have found this post and reading, definitely you're in a situation where you need that one bizarre type of files to be handled by DreamWeaver. There are tons of template engines in the market and each one ideally have their own extension for templates, tpl, stpl, shtml and the list goes on. Open the file /Configurations/Extensions.txt under from your DreamWeaver installation directory. Add the extension which you need to the appropriate group there. A snapshot might look like the following: HTM,HTML,SHTM,SHTML,HTA,HTC,XHTML,STM,SSI,JS,AS, ASC,ASR,XML,XSL,XSD,DTD,XSLT,RSS,RDF,LBI,DWT,ASP, ASA,ASPX,ASCX,ASMX,CONFIG,CS,CSS,CFM,CFML,CFC,TLD, TXT,PHP,PHP3,PHP4,PHP5,TPL,LASSO,JSP,JSF,VB,VBS, VTM,VTML,INC,JAVA,EDML,WML,THTML,STPL:All Documents HTM,HTML,HTA,HTC,XHTML:HTML,STPL Documents SHTM,SHTML,STM,SSI,INC:Server-Side Includes JS:JavaScript Documents XML,DTD,XSD,XSL,XSLT,RSS,RDF:XML Files LBI:Library Files Once done with this file, locate the next extensions.txt which should be a...

Detailed review of Shankarpur and Hotel Nest

Image
For those who stay in West Bengal, India, Shankarpur is no new name, rather a popular one. For those of you who have never heard of the place, this post is going to be your tour co-ordinator. Shankarpur is a beach town in Purba Medinipur district of West Bengal. It is around 185 Km away from Kolkata, one of the metros of India and capital of West Bengal. There are primarily two ways to reach Shankarpur. Both are easy and cool. First one is orthodox bus ride (the 100% common method to reach Digha until recent times), the second being train. The final destination of both the bus and the train is Digha. For me, I took the bus to get to Shankarpur and train while returning. So have had the opportunity to gather both the experiences. The next thing is: where to stay? The answer is "Nest" or the "Hotel Nest". They are sort of running a monopoly out in that place; and rightfully. Cool, now that you have the mode of accessing it set and place to live decided, lets start put...

uTorrent: Data error (cyclic redundancy check)

For all those have been confounded by this error while downloading torrents, all the available blogs and posts on this suggests, your hard disk has gone for a toss. Delete the existing download, re-download. Kind of frustrating, really frustrating. My experience differs a bit. While in truest sense it is always true, that this error is coming due to read errors from your hard drive, it is not always true that it is a undo-able physical error on your disk. It could be a logical one. This means, there's still chance for you. Breath and schedule a scan on your drive the next time Windows (I was using XP professional, SP 2) starts. This again depends on which drive you got the error on. If its the one which the operating system is having exclusive access to, you have to schedule the check, the next time your OS loads. If its a secondary drive, you can do it with few clicks only without a re-boot. If you are lucky, Windows would correct the error, and you'll have your download back,...

Prince of Persia: Sands of Time, The drawbridge fight - Unimaginable torture

I really don't know if this is worth a post, but the amount of frustration and pain I've endured crossing the infamous 'drawbridge', that I decided to write something here, and frankly I'll take out a lot of frustration against the game makers and the game itself in this post, and you'll find a lot of abusive words in here. So if you are a big fan of the either or you just want to read a decent article with nice and clean language, please stop reading here and go read one of those millions of posts which would leave you with a pleasing impression about the game-play of the game. First things first, I love Prince of Persia, well that's why I play. I fell in love with PoP when I played the 'Prince of Persia 3D'. I loved it because the wonderful levels, the castles, the mysterious Persian structures, and graphics. At that time also I hated few things about it, the camera movements, the way the player was allowed to control the prince, etc etc. Now after...

Caged

Image
The following shot is taken by myself with my 'point and shoot', from my bedroom window. There was a time when I was restricted to mingle with kids of my own age, just because they were from different strata of society. I still remember those days when my only friend were books and my parents. Couldn't refrain myself from drawing relevance of that feeling with feeling of the parrot looking at the sparrow.

Sharing a link to your facebook wall from your external application

Goodmorning Kolkata , a new day, a new requirement from the client. His post on basecamp says, though he appreciates the fact that a photo could be directly uploaded to ones facebook album, it doesn't really appeal him much. Why? Ummm... tough question. He wants something simpler, sweeter and less painful (uploading images from external applications to facebook required the user to approve them on facebook before they could go live...extra clicks are painful alright) than the above method. In fact facebook also realizes this I guess and thus offers us exactly what we are looking for: http://www.facebook.com/sharer.php The above URL expects two parameter, 'u' and 't'. 'u' is the link you want to share, 't' is the additional title you want to supply Facebook in case it is unable to crawl through the title of the page provided in the link. So for example a complete link should look something like this: http://www.facebook.com/sharer.php?u=http://your-we...

Photo upload to Facebook from your PHP web application

Recently I was asked by one of my clients to develop a feature on his website so that a user on that website may click on a button and publish an image from his/her account (on that website) to his/her facebook account. While doing so the system would ask for the users facebook credentials. Sounds simple? Yeaah...apparently its simple but when you start getting your hands dirty you slowly realize you are in deep mess. Particularly if you are a first timer as far as developing on facebook platform is concerned. There are multiple ways to achieve this. Using facebook connect or using a facebook application specially developed by yourself to accomplish the task. I followed the second approach. I'm trying to outline the exact steps you need to perform to get this up and running with least pain. And yes, the following examples would all be in PHP . Login to facebook, click on the developers link available in the footer section of the page and follow the steps so that ultimately you end...