Yazaq

Sənə Nə?!

28 Dec 2008

Zahida mən çəkərəm yara məlamət sənə nə?
Könlüm istir eyləyim kama məhəbbət sənə nə?

Sən əgər sahibi ecaz dəyirsən mənə nə?
Mən günəhkarəm əgər sahibi zillət sənə nə?

Mənə nə məscid-o mehrabidə keçir ovqatin?
Qalmışam meyxana küncündè sukunət sənə nə?

Gecə gündüz başını tapta yerə, dur, otur
Dəyirəm əhli təzahurli ibadət sənə nə?

Ağzını bağla yemə, içmə, oruc tut mənə nə
Mən əgər olmamışam əhli qənaət sənə nə?

Sən hər il kəbəyə get yüz dəfə ehram bağla
İftixarımdı mənim xalqıma xidmət sənə nə?

Min kələh vur açasan bəlkə beheştin qapısın
Sən olan yerdə yapışmaz mənə cənnət sənə nə?

Alti dang baği cinan huriyi qilman da sənin
Raziyam hər nə yazıb anıma qismət sənə nə?

Sən get öz fikrinə qal, məndə bilim öz əməlim;
Davər allah dur əgər ruzi qiyamət sənə nə?

Yalqız (Məcid Səbbaq)

Share/Save/Bookmark

How to show digg score in Wordpress.

24 Jul 2008

If you can edit theme files, you can easily automate adding digg score to the posts. Edit index.php and single.php and add the following code to the Loop:

<?php if ( get_post_custom_values(”digg”) != 0) {
$metadigg = get_post_custom_values(”digg”);
echo “<script type=\”text/javascript\”>
digg_url = ‘”.$metadigg[0].”‘;
digg_bgcolor = ‘#999900′;
digg_window = ‘new’;
</script>
<script src=\”http://digg.com/tools/diggthis.js\” type=\”text/javascript\”></script>”;
} ?>

Next, after submitting a post to digg.com, copy the url of the post on digg.com. Edit the post. Scroll down to “Costum Fileds” and add key “digg” with value equal to the url on digg. For example, url of this page on digg.com is: http://digg.com/software/How_to_show_posts_digg_score_in_Wordpress

so I should add key “digg” with value “http://digg.com/software/How_to_show_posts_digg_score_in_Wordpress”. Save and publish the post. Now, you should be able to see digg score of your post.

To show a compact version of the digg score icon, use the following code instead:

<?php if ( get_post_custom_values(”digg”) != 0) {
$metadigg = get_post_custom_values(”digg”);
echo “<script type=\”text/javascript\”>
digg_url = ‘”.$metadigg[0].”‘;
digg_bgcolor = ‘#999900′;
digg_skin = ‘compact’;
digg_window = ‘new’;
</script>
<script src=\”http://digg.com/tools/diggthis.js\” type=\”text/javascript\”></script>”;
} ?>

Share/Save/Bookmark

Square Watermelon in North America

18 Jul 2008

Save on foods is selling square watermelon now. Hurry up if you would

like to try it for 99.99$ per lb each!

Those look like 10lbs each. So, I am looking forward to hearing from

square apple or at least square berries! Hopefully their price won’t

be higher than 99.99$ per lb.

Share/Save/Bookmark

How to write a semi-application for iPhone

17 Jul 2008

Switching among different programming platforms is frustrating specially if you, as me, are not a professional developer. Since the day that I got my iPhone, I have been planning to work on it and write at least some “hello world!” type applications. After signing up as developer in Apple and skimming over the documentation, I find out that I won’t be able to write even a simple application for a while, mostly because of time shortage.
(more…)

Share/Save/Bookmark

iPhone with 6GB data for 65$ monthly?

12 Jul 2008

After spending almost three hours staying in line, I was lucky to get the last iPhone in the store. The Fido plan that I already had was what I needed: 250 airtime minutes, unlimited evenings and weekends, 100 outgoing long-distance (in Canada), incoming free, caller ID, who is called, voice message, 125 sms all for 35$. The cheapest offer among iPhone plans is 60$ for 400MB data, 150 airtime minutes, unlimited evenings and weekends, 75 sms, Visual Voicemail, unlimited Fido and Rogers Hotspots Wi-Fi accounts, Call Waiting and Conference Call. At first, I thought that I should forget my previous plan, but they told me that I can keep it and add a 6GB data plan for 30$ per month called 3G Smartphone Data Option (100$ charge for early unsubscription). Since I do not care for visual voice mail and those hot-spots, I decided to keep my plan and add that data plan. This is what I could understand from their explanation. The next bill will show how much is the actual damage! If you are also interested, surf their website, call their costumer servise, … make sure that this works. Any feedback is appreciated.

Share/Save/Bookmark

Next Page »