Don't try to understand this, It'll lead to brain cancer ;-)
Just use it to extract things from your apache web server access log.
perl -n -e '/(.[^ ]*) -(.[^-]*)- \[(\d*)\/(\w*)\/(\d*):(\d*):(\d*):(\d*) (.[^\]]*)\] "(\w*) (.[^ ]*) .[^"]*" (\d*) (.[^ ]*) "(.[^"]*)" "(.[^"]*)"/; print "$1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 \n"' access.log
This code is pulled from my svn which means that whenever I update it, It'll reflect the file displayed here ;-)
Or get the file directly from here.
Can't open the file!
This should be able to open and save files with Arabic filena
I've started the port a few months ago but it was inactive.
Last wednesday, Mostafa suggested that I port it to wndows.
So here's a deal, I've built a windows binary for the latest CVS.
دلوقت ممكن تستخدم ال API بتاعة بغداد مع اى كود php
لسه الكود مش موجود فى اى حته غير عندى
Nothing is better than coding at night!
This was born at ~6 am.
This should also be integrated into Baghdad to drop the Glibmm dependency.
I aways wanted to create this section since I had foolab.
It's not exactly what I wanted it to be, But It's the best I can do at the moment.
I still need to populate it.
I've created the form using flexinode, Creaed the vocabolary hierarchy.
Overriding the node in my theme so I can display the tags like want.
Now how did I create the page itself ?
Here's the php code, It's not the best but it works:
echo "<br />";
$arr = taxonomy_get_tree(5,0,-1,1);
$y = count($arr);
for ($x = 0; $x < $y; $x++)
$count = 0;
$ch = taxonomy_get_children($arr[$x]->tid, 5);
$j = count($ch);
$_ch = array();
for ($i = 0; $i < $j; $i++)
$ch_a = array_shift($ch);
$_url = "/taxonomy/term/" . $ch_a->tid;
$_count = taxonomy_term_count_nodes($ch_a->tid);
$count += $_count;
$_name = $ch_a->name . " (" . $_count . ")";
$_ch = l($_name, $_url);
$url = "/taxonomy/term/" . $arr[$x]->tid;
$name = $arr[$x]->name . " (" . $count . ")";
echo l($name, $url);
echo "<br />";
BTW: The code above'll be updated automatically whenever the original one changes.
و بدا مشروع المدقق الاملائى الحر
pyduali did what I've implemented until now, But I've just started.
ديبيان ايتش ماعندهمش مشكله
ماندريك 10.1 هايبنوا حاجات كتير علشان يعرفوا يشغلوا بغداد
لا اعلم اى شىء عن باقى توزيعات جنو لينوكس
ويندوز ؟ هايحصل بس لسه شويتين ;-)