Uncategorized

Convert web pages directly to PDF

Recently came across site which allows to convert any web page to PDF and download it. The site is http://www.pdfmyurl.com/. Did I tell that its FREE? yes its free.

PHP script throwing internal server error 500

Few days back had a problem where my php pages were working fine but had problem with response code it was sending. The page was returning “500 Internal server error” instead of “200 OK”. I recently had updated php and apache version so initially thought there must be some problem with it. First I tried [...]

Seting up local domains on Windows & Apache (WAMP)

Recently had to setup local domains for my php projects. Normally I use http://localhost/project_directory urls for normal project, but for a new project I had to setup few local domains. For existing projects I still need localhost (127.0.0.1) available along local domains like project.localhost.com. Setting up local domains and virtual hosts is easy and I [...]

Flash Cookies

You all must be aware of browser cookies. Browser cookies allows site to store small amount of data on your PC. These can be used to store visitor preferences etc. These cookies can be viewed and cleared easily. There is another feature called “Flash Cookies” or in technical terms called “Local Shared Object”. This allows [...]

Protecting WordPress blogs from spam

It is very exciting to have your blog appearing in search results. Commonly the traffic received, includes a good number of visitors which promote spam. They commonly add comments on posts to get back links and may be visitors. Percentage of spam comments can be very high. For example comments posted on this blog include [...]

Redis: an alternate for memcached?

Came across a project of key value database. It smiler to memcache but also provides lists and sets with atomic operations to push/pop elements. It is said to be fast 10000 SETs/second, 81000 GETs/second in an entry level Linux machine. More details can be found at http://code.google.com/p/redis.

Moved to blog.wasimasif.com domain

Hello, I have moved my blog to my own domain and hosting. The main reason to move on own domain was restrictions applied by wordpress.com on advertising, plugins etc. So all new posts from now on will be posted on this domain. All of my old posts will be available on the previous blog and [...]