Header Image Sufi Nawaz's Contact Information Sufi Nawaz's Photography Sufi Nawaz's Blog Sufi Nawaz's Profile
Published on: Sat 12th Jun, 2010


1) Download Wordpress MU from here.

2) Extract all files to a directory of choice. For instance, http://[domain]/wp

3) Create an database (without adding tables) named "wordpress" without the quotes.

4) Use http://[domain]/wp to access your blog. On first attempt, it would take you to a window where you can configure the settings.

Couple of things to notice here, if you're installing wordpress MU locally, then use the IP address http://127.0.0.1 instead of typing http://localhost. The reason being, if you use http://localhost, it will ask you to use http://localhost.localdomain which creates problems later. Also use sub-directories instead of using sub-domain names for multiple users.
5) When setup is complete, note the username (which is "admin" by default) and the password provided on the screen and click on "Login".

Make sure you can login without any problem. This ends the installation process. You can go ahead and change the default password if you'd like.
Published on: Fri 14th May, 2010






Published on: Mon 15th Mar, 2010
Mighty PHP allows us to do just about anything our hearts desire. Copy and paste the following code to your web page, and you'll be parsing blog posts from blogspot in no time. The nifty little simplexml_load_file function used here allows you to parse XML files with a level of ease comparable to picking teeth with a toothpick. This function alone opened up a new horizon of creativity for me. I hope you guys find this useful and come up with your own creative ways of exploiting this function for making the world (wide web) a more fun place to live in. Go make Daddy proud!
<?php
// Set name of XML file
$file = "http://[YOUR_BLOGSPOT_ACCOUNT].blogspot.com/atom.xml";
// Load specified XML file or report failure
$xml = simplexml_load_file($file) or die ("Unable to load XML file!");
// Load blog entries
$xml = $xml ->entry;
// Run loop for the number of available entries
foreach( $xml as $row )
{
// Load the entry publish time
$dtime = date("D jS M, Y", strtotime(strtok($row->published, 'T')));
// Load the link of each blog entry
$titlelink = $row->link[4][href];
// Load the text for Comment and comment counts
$comments = $row->link[1][href];
$comm = $row->link[1][title][0];

/* Display the contents (use your own imaginations here =).) */
<a href="http://www.blogger.com/$titlelink">$row->title</a>
// Display publish time
Published on: $dtime
// Display blog entry content
$row->content
// Display number of comments
<a alt="$comments" href="http://www.blogger.com/$comments">$comm</a>
}
?>
Published on: Mon 15th Mar, 2010
So most of us who have a website, usually want the contents to be searchable over the world wide web - I mean that's the whole point for putting up a website in the first place, right? While we are so eager about our contents getting more hits, there are rare cases however, when we actually do feel a bit shy about the popularity of our pages over search engines like Google. It is then and only then do we look for ways to tell the web robots to stay clear of our pages and not to index them. And since web robots have feelings too, we want to bring it to them as politely as possible - come the meta tags! By adding the following line to your <HEAD> tag, you can do just that, without killing or hurting anyone in the process.

<meta name="ROBOTS" content="NOINDEX,NOFOLLOW">

Oh don't you just love happy endings? =)
Published on: Wed 24th Feb, 2010
Let's be clear: these are not my tabs. I found them online and I thought it'd be a shame to lose them. So without a second thought, I'm posting it on my website...


Intro : Plucking

E -----------------------------------------------------------|
B --3----3-----3---3--------------3----------------3---------|
G -----0---0-----0--------------0----0-----0----0----0-------|
D --------------------0-h-2--0----------0-----0---------0----|
A --2----------3---------------------------------------------|
E -----------------------------------------------------------|

Repeat this 4 times

Verse 1
Tomar jonno prithibi aj niechey biday,

E ------------------------------------------------|
B ---3---3-----3---3-----0---0------------3-------|
G -----0---0-----0---0-----0---0----2---2---2-----|
D ------------------------------------------------|
A ---2---------3---------2----------0-------------|
E ------------------------------------------------|


Tobu tomar tukro chayay,
 E  ---------------------------------------------------------|
B --3----3-----3---3--------------3----------------3-------|
G -----0---0-----0--------------0----0-----0----0----0-----|
D --------------------0-h-2--0----------0-----0---------0--|
A --2----------3-------------------------------------------|
E ---------------------------------------------------------|

...

Tomar jonno prithibite ajke chutir rode,
E -----------------------------------------------------|
B ---1---1------2---2------3----3--------4-----4-------|
G -----0---0------2---2-------2---2---------4-----4----|
D -------------------------0---------------------------|
A ---3----------0------------------------2-------------|
E -----------------------------------------------------|


Nijer majhey tomay khoja,

E -----------------------------------------------|
B ---5---5-----7---7------8---8------8---8-------|
G -----5---5-----7---7------9---9------9---9-----|
D -----------------------------------------------|
A ---3---------5----------7----------7-----------|
E -----------------------------------------------|


Akash niley takiey thaka.
E ---0---0-------2---2-------3-3----3-----3------|
B -----1---1-------3---3----------3----3---------|
G -----------------------------------------------|
D ---------------0-------------------------------|
A ---3-------------------------------------------|
E ---------------------------3-------------------|


Last Verse
Tomar jonno poth harie ojanay,

E ------------------------------------------------|
B ---3---3-----3---3-----0---0------------3-------|
G -----0---0-----0---0-----0---0----2---2---2-----|
D ------------------------------------------------|
A ---2---------3---------2----------0-------------|
E ------------------------------------------------|


Tobu tomar lekha kothay,
E ---------------------------------------------------------|
B --3----3-----3---3--------------3----------------3-------|
G -----0---0-----0--------------0----0-----0----0----0-----|
D --------------------0-h-2--0----------0-----0---------0--|
A --2----------3-------------------------------------------|
E ---------------------------------------------------------|


Ferey klanto amar olosh shomoy,
E ------------------------------------------------|
B ---3---3-----3---3-----0---0------------3-------|
G -----0---0-----0---0-----0---0----2---2---2-----|
D ------------------------------------------------|
A ---2---------3---------2----------0-------------|
E ------------------------------------------------|


Koto smriti ondhokarmoy...
E ---------------------------------------------------------|
B ---3---3-----3---3-----3---3----3---3----3---3-----------|
G -----0---0-----0---0-----0---0----0---0----0---0-----0---|
D -----------------------------------------------------0---|
A ---2---------3--------------------------------------2----|
E -----------------------3--------3---------3--------------|
Published on: Sun 13th Sep, 2009
I've always liked seeing people smile. And I always loved making them. There are very few things in this world that can make me as happy as making people smile. I've often gone beyond the normal to do so. It's addictive, it's rewarding and it never has to stop. Whatever makes you smile, it makes me smile too.

Life has not been always a colorful butterfly for anyone. Everybody gets hurt. Everyone has had tears in their eyes. Everyone felt lonely at times. Everyone has felt out of context at times. Everyone has felt helpless at times. Everyone has felt the absence of love from the significant people whether it was really there and not. But in those moments, if you think about such times and smile, it always ease things albeit not set everything right - when you thought you had invented a whole new way to play a music instrument, when you had been told you have a pretty smile, when you saw the hero and the heroine finally get together in almost all hindi films, when you got to purchase that shirt with your preferred price over the tagged price, or when you hugged your parents the last time.

Life is good with a smile. Life is good with tears. Life is better with tears and smiles combined.
Published on: Sun 30th Aug, 2009
DTV transition took place earlier in the mid of this year after a gruesome fight for change of deadlines. Being in the test team and thus, down at the SDLC chain, the change of deadlines had a significant impact on our work load. Nonetheless, both the web team who were responsible for designing and developing the site and the test team did a great job on the successful relaunch of DTV 2.0 and keeping up to its hype even till after the transition, which finally and gracefully* took place on June 12th of this year. Fortunately or unfortunately, I had joined the team at a time of heavy DTV workload nearing the crunch time.
I took the liberty to walk down to the DTV Command Center inside the FCC building and took these pictures there during the time of transition.

* No animals were killed in the process of this transition. The term excludes all server failures.

Published on: Sat 15th Aug, 2009
I was going through this Tilt Shift photography site and found a tutorial on how to do it. So I pulled off a few pictures at my own liberty from my hard drive and tried it out. Check it out.




Published on: Sun 2nd Aug, 2009
Here are some pics I took at the Luray Caverns. I added border shades to the images. Everything else is as natural as it comes :-)








Published on: Fri 31st Jul, 2009
Here is an example of times when boredom leads to random productivity. As I was reading up on an article online to show how to take pictures of the moon, I decided to follow the instructions as much as I could and these are some of the pics I got to take. Such are the times when I wish I had an Image Stabilized Lens!

That bit aside, here are some of the pictures.





Published on: Thu 30th Jul, 2009
ne of the perks of working where I work is the free tickets I get to special events at the Verizon Center here in the nation's capital. The band whose songs were played in many memorable events in my life, now performed before me live. And the best part of it all is that it was as inexpensive to view as it would've been if I were to watch them on YouTube. Free concerts always sound good. Greenday made it sound even better. They started out with songs from their new album, 21st Century, and later moved on to songs I personally am more familiar with including Boulevard of Broken Dreams and Time of Your Life.

Verizon Center, for some unearthly, stupid and downright ridiculous reason, does not allow anyone to bring cameras to the venue. That's a setback I will never forgive this venue for for the rest of my life. I had to torture myself by realizing I had to depend on my memory to capture these moments instead of the much more dependable CF cards of my camera. Nonetheless, I was able to (or so I think anyway) capture some pics of the place through my cell, ending up pushing it to its limit seemingly effortlessly. So here they are and I hope you guys can make some sense out of these pictures.













Published on: Wed 29th Jul, 2009
I'm putting the famous 3R quote from Captain Planet to yet another use. This time, I'm applying it to my very own website which I had known from 2002 under various domain names and disowned countless times. But this time, I'm sticking to the sufinawaz.com domain name for good. I had been lazy enough to not put it back up after taking it down for several months now. But enough is enough, I said to myself! And along came the idea of importing the feeds from blogspot and picasaweb albums in addition to what I already had, to rebuild this website with minimal effort and yet in most effective ways. True, I had to indulge myself into some coding after what seems to be a zillion years, but must I say, it has been a very satisfying effort indeed. I can now use the tools at blogspot and picasaweb to organize my blogs and photo albums almost effortlessly and with a great amount of flexibility in retrieving and displaying the data too. So most of what you will be seeing here from now on will actually be imported from blogspot and picasaweb.

It took me a decent amount of time to figure the stuff out since it's been a while I have done any sort of coding. So once I get some time, I will upload the PHP codes that you can use to retrieve data from blogspot and picasaweb.

So stay tuned, and hopefully I'll have my website up in less than a zillion years from now*.

*Conditions apply unconditionally =p

 
Please Note:
These blog posts are imported live from my Blogspot page. Clicking on these blog posts will direct you to my Blogspot site and you can place comments if your heart so desire. Thank you for your interest and I hope you enjoy your read. =)

~ Sufi

Subscribe to my RSS Feed.


Post Categories:
Technical
Personal
Events
Code Snippets
Miscellaneous
Guitar Tabs/Chords
Photography