Quantcast
Channel: The Storyteller » Tricks
Browsing latest articles
Browse All 18 View Live

Image may be NSFW.
Clik here to view.

CookieJar in CURL – It Sucks

I was working with Linked in authentication management these days for one of my project where I have to loginto linked in using user’s credentials and fetch personal information and then display it in...

View Article



Image may be NSFW.
Clik here to view.

Getting Dell BCM4328 Wifi Card Working on Ubuntu 7.10

After trying,searching and crying for more than one month, I finally get it working today in my laptop (Dell Inspiron 6400) :) – I am one of the happiest ever in this world right now :D. here’s how to....

View Article

Image may be NSFW.
Clik here to view.

Look Ma, everyone’s computing out there for me!

SETI@Home is probably the greatest example of low cost distributed computing which become a big hit. After their tremendous success, many others over there started following the same strategy and used...

View Article

Image may be NSFW.
Clik here to view.

expanding short url to original url using PHP and CURL

there are numbers of url shortening services available these days, including the good old tinyurl and something really short like u.nu. now when you get the short url shortened by using any of these...

View Article

Image may be NSFW.
Clik here to view.

Using Google WorldMap visualization component in your applications

Its really hard to find a good flash based world map component to use in your web applications. They are either too complex to add or they cost quite a lot. And even sometime if you pay that, its tough...

View Article


Image may be NSFW.
Clik here to view.

removing empty elements from an array, the php way :)

removing empty elements from array is most likely a very common task for everyday programming. different people work on it differently. some runs N times loop and some other tries by finding offset and...

View Article

Image may be NSFW.
Clik here to view.

jQuery:hooking form submit and making it ajax request

modern javascript frameworks are big blessings to every front end developer. they made our life so much easier so that we can sleep more and become fat day by day :D – i am a big fan of jQuery and...

View Article

Image may be NSFW.
Clik here to view.

Using iPaper API to convert office documents to flash movie on the fly :)

Embedding documents in web applications is a challenging work. Because you need to convert these documents into flash movie and only then you can embed them in your web applications. There are many...

View Article


Image may be NSFW.
Clik here to view.

Time to put those FUCKING captchas to an end!

So, by now – you know what’s this post is all about, what will be the writing style and some of you probably consider it as NSFW! Well I dont care about that – all I care is that my eyes are burning...

View Article


Image may be NSFW.
Clik here to view.

Saving a HUGE bandwidth cost in WordPress by automatically serving media...

The title almost says it all. Our mission is to save the bandwidth cost (and ensure better deliverability) by leveraging the power of headless installation of copy.com client in Linux, and then...

View Article

Image may be NSFW.
Clik here to view.

problems uploading large files in php5-fpm and nginx – and solution to that

Today I had encountered a strange error while importing a 10MB XML file in a low end vps, where nginx was configured with php5-fpm and was working pretty nicely. But then, whenever I tried to import...

View Article

Image may be NSFW.
Clik here to view.

Limit number of posts an user can create in WordPress admin panel

If you, by any chance, want to limit the number of posts an user can create in your multi author WordPress blog, there is a nice way to do it. Add the following code in your theme’s functions.php file...

View Article

Image may be NSFW.
Clik here to view.

Improving UX in the WordPress Admin Panel with Interactive Meta Boxes

Our goal is simple today, we want to add interactivity to our boring metaboxes. Instead of showing lots and lots of irrelevant input boxes at once, we will properly group them into different metaboxe...

View Article


Image may be NSFW.
Clik here to view.

Get a list of Top 10 authors in a WordPress blog, and sort them by firstname...

Getting top 10 authors’s list from WordPress is actually pretty simple with a SELECT query. Here is the SQL for that which sorts the list by number of posts of each authors And sorting this list by...

View Article

Image may be NSFW.
Clik here to view.

QuickTip: Turn symfony’s web profiler debug bar on or off

Check out your config_dev.yml and you will notice a special section over there You can turn the debug bar on or off anytime by changing the value of toolbar in this web_profiler section. If you want to...

View Article


Image may be NSFW.
Clik here to view.

How to enqueue javascript files properly in the WordPress admin panel

You’d probably have answered the question already, won’t you? We all know that the correct answer is to do that we have to write a function that hooks the “admin_enqueue_scripts” and inside that...

View Article

Image may be NSFW.
Clik here to view.

Find n number of posts randomly from a group of categories in WordPress

When you are developing a theme, or maybe writing a plugin, it is often required to display related posts in single posts page. These related posts are fetched by various criteria. Sometimes they are...

View Article


Image may be NSFW.
Clik here to view.

How to enable some useful text formatting options in TinyMCE in WordPress

Most of the time default TinyMCE editor in WordPress is pretty adequate for everyday text formatting. However, there are a lot of extra formatting options which are hidden out of the box. Enabling...

View Article
Browsing latest articles
Browse All 18 View Live




Latest Images