tag:blogger.com,1999:blog-172189172024-03-13T04:09:54.341+03:00Khamis Siksek = Open Sourcesaksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.comBlogger52125tag:blogger.com,1999:blog-17218917.post-46745021221451293432021-07-11T15:38:00.003+03:002021-07-13T21:32:34.186+03:00git_find_big Contrib BackI am contributing back some modifications as my way to thanks Antony Stubbs for the git_find_big.sh script.As per Antony Stubbs recommendations, I have added some documentation for the changes I made and also made more changes so this should be the latest version. #!/bin/bash#set -x # Shows you the largest objects in your repo's pack file.# Written for osx.## @see https://stubbisms.wordpress.com/saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com0tag:blogger.com,1999:blog-17218917.post-14793306995659095292019-07-24T17:01:00.002+03:002019-07-24T17:01:56.143+03:00xml2csv.sh
Thanks to David who irritated me since my old xml2csv.sh file used to take 7-8 minutes to generate around 13k+ lines of CSV so I went back and rewritten the script in a way that now it takes around 2 seconds :-D
The script contains validation and comments but putting that aside the coversion is actually one liner command as the following:
tail +n filename.xml | sed s'/\(<.\+>\)\(.\+\)\?\saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com0tag:blogger.com,1999:blog-17218917.post-90802959238671472732019-07-14T23:01:00.002+03:002019-07-14T23:11:46.967+03:00xml2csv and csv2xml
I was working on a request to convert an XML file to CSV file, I tried to find a tool or a script to do that but I didn't find something that is straightforward.
There might be one, but to be honest I didn't search for a long time and when I found this https://github.com/dfellis/2csv and installed xml2 on ubuntu that is written by Dan Egnor, I decided to ignore finding a ready tool and saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com7tag:blogger.com,1999:blog-17218917.post-8587892836052862302014-09-20T06:02:00.000+03:002014-09-20T06:02:10.802+03:00Third Arduino Project
This time it was influenced by my younger brother to write a code that will detect the distenation and if it is more than 100 cm to light up a green light, if it is less than 100 but more than or equal 50 to light up a blue LED and if it is less than 50 to light up a red LED. If the distance is critically small (less than or equal 10 cm) to start flashing the red LED and play a long alarming saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com0tag:blogger.com,1999:blog-17218917.post-33713832921525735912014-09-19T23:51:00.001+03:002014-09-19T23:51:21.883+03:00Second Arduino Project
This time I learned new thing, which is how to control the speaker, I also learned how to build my own llibrary and use it in Arduino. I have created an API that contains the following functions:
bool ValidAnalogPin (IN const int ciAnalogPin);
bool ValidDigitalPin (IN const int ciDigitalPin);
bool ValidPWMPin (IN const int ciPWMPin);
bool ValidNote (IN const unsigned int cuiNote);
float saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com0tag:blogger.com,1999:blog-17218917.post-86563596153829890082014-09-13T05:10:00.002+03:002014-09-13T05:45:00.541+03:00My First Arduino Project
I had this Basic Arduino Kit from the US (and got it to pass the Jordanian customs) and started learning it.
The first tutorial was about the thermal detector or temperature sensor. It was a great achievement for me to get it to read the temperature and get it to reflect it on the serial monitor. I also read the first digital lesson regarding lightining up the LED. So now I had to use mysaksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com0tag:blogger.com,1999:blog-17218917.post-46270454791028672662012-12-23T17:55:00.000+03:002012-12-23T17:55:19.698+03:00حكيم فساد إداري ومالي ... هلا عمي
لقد إستمتعت خلال الفترة الماضية وأنا أقرأ مقالات الفساد عن مشروع حكيم وعن هدر الأموال وضياع العيال ومدى خطورة المشروع و و و، ومن أجل ذلك قمت بوضع كل مقال أراها حول هذا الموضوع في مرجعية المتصفح (browser bookmark) حتى أقرأهم كلما أردت الضحك أو البكاء فعليا على كم الإتهامات الجزافية التي يقوم بها عامّة النّاس وللأسف لحق المثقفون بالعوام وبدأوا بالإتهام أيضا ونقل ما يقرأوه بدون أي دليل.
مشروع saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com3tag:blogger.com,1999:blog-17218917.post-81450407515759169682012-12-21T23:45:00.001+03:002012-12-21T23:48:35.061+03:00للي قالته ليلى ... ما فقعت معي
كم أحب أن أسمع عن الربيع العربي الذي أضحى خريفا في نظر الكل، لقد أغفلت الناس الحقيقة الوحيدة أنه لا وجود للديموقراطية حتى في الدول المتقدمة فهو كأن أخيرك بين أن تموت شنقا أو تموت غرقا ... حبايبي كلها موتة وآخريتها قطنة بتندحش في مؤخراتنا زي الخوازيق اللي عم ناكلها بشكل شبه يومي.
لا تقل أنا حر فلست كذلك أنت عبد فإختر من تعبد هل هو الله، المال، صاحب السلطة، الكرسي، الرغبة أو الحياة. لا وجود saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com1tag:blogger.com,1999:blog-17218917.post-8233750300802222432012-04-28T01:44:00.002+03:002012-04-28T01:44:39.655+03:00Sorry girls ... Labor day is Anger day
The idea from having a Labor day is that the "labor" enjoy a day off as part of appreciating them, well thats great.
We took an extra day off, what are we going to do with it? Me personally, will stay home, most probably picking fights and creating a non-comfortable environment in home and I have my reasons for that.
If we are OK and having fun then that means that I will have to take the saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com0tag:blogger.com,1999:blog-17218917.post-54395825879585936322012-02-13T00:43:00.000+02:002012-02-13T00:43:06.696+02:00كيس الرّمل أم ...
مع إحترامي الشديد للحراك وما يحاول أنصاره ومؤيدوه أن يفعلوه ولكن الحل ليس بالحراك والمظاهرات فهذه المظاهرات تعطي فرصة للفساد والمفسدين بالتوغل بما يفعلوه!! كيف؟ ﻷنّ الكثير من الشرفاء في الشوارع إما يتظاهروا أو يُضربوا والخاسر فالنهاية هو الوطن والمواطن وفي نفس الوقت بطلع متسلّقين ليركبوا الموجة ويصبحوا هم المؤسّسين للوطنية والإصلاح في البلد
هناك قصّة قصيرة أريد أن أرويها قلها لي أبي،saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com0tag:blogger.com,1999:blog-17218917.post-75393292100653901312012-02-08T23:46:00.000+02:002012-02-08T23:46:44.753+02:00فيراري ولّا لمبرجيني...
بالله عليك، يعني لا يكفي أنّ البرنامج سخيف بل ويستعرض من الأمراض النّفسيّة والبطر والفحش ما يجعل العقل يدور؟
هل من المعقول أن يكون السؤال المهم عند هذه الشعوب هو فيراري ولّا لمبرجيني؟!! شو رأيك لو....
يعني النّاس بتموت في البلاد العربية بعضها من ظلم الحكّام وبعضها من ظلم النّاس وبعضها من الجوع والفقر والإخوان هناك مشغولين ب "فيراري ولّا لمبرجيني" يعني لهذه الدرجة وصل عدم الإحساس وقلة saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com1tag:blogger.com,1999:blog-17218917.post-18282041298510578382012-01-07T00:07:00.000+02:002012-01-07T00:07:15.677+02:00بشار يا بشار هيا إلى ...
قصيدة مستوحاة من الواقع (أعذروني إذا فيها أخطاء أنا مش شاعر)
<!--
@page { margin: 0.79in }
P { margin-bottom: 0.08in }
-->
بشار
يا بشارهيا
إلى القتلازرع
الرصاصبالقلب
والعقلقطع
الأشلاءوإشويهم
على الفحم
فدم
الإنسانشرابك
السحري
بشار
لا يبديشيئاً
من الممليهدي
لنا يهديفيضا
من القتل
بشار
يا بشارهيا
إلى العملأقتل
الأطفالفي
الشام وحلب
تبدو
saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com0tag:blogger.com,1999:blog-17218917.post-62652357501196678952012-01-01T03:02:00.001+02:002012-01-01T03:36:40.523+02:00My Beloved Country 2012
I want to say "Happy New Year" to all of you and lets have some f---- great time as everything is going to be alright during this year but even for an optimistic guy like me I see its going to be worse than before on all aspects of life.
Jordan is facing one of the most critical times in its lifetime and still we see people celebrating and spending money here and there without even thinking.
saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com2tag:blogger.com,1999:blog-17218917.post-76676491631129059112011-10-02T00:38:00.004+03:002011-10-02T00:38:55.313+03:00وبعدين مع الخطباء والوعّاظ؟!! فقعت معي
عنوان مزعج بس الأكثر إزعاجا هو الخطب المتكرّرة من خطباء يوم الجمعة واللّي مع الأسف لا ترقى للمستوى المطلوب فهي تنقسم إلى التّالي:
خطب المناسبات الدينيّة والمواعظ
خطب إعطاء الأمل وإبر التخدير وبأنّ النصر قادم
خطب القصص القرآني
خطب التهييج العاطفي واللعب على الحس الديني
وبعدين؟ عن جد وبعدين؟ لمتى هاي النوعية من الخطب اللي يا إمّا سمعناها ألف مرّة يا إمّا إنّو تأثيرها ما يدوم سوى بضعةsaksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com0tag:blogger.com,1999:blog-17218917.post-56906120828453691492011-09-24T04:54:00.001+03:002011-09-24T04:55:01.925+03:00Becoming a Great Leader
If you watch the speech that JFK did when he said his famous quote "We choose to go to the moon" you will know that there is great difference between a commander, leader and a manager. Lets not discuss if they really landed on the moon or not, lets concentrate on how to become a great leader like JFK.
The commander is someone who commands and people has to follow, a manager is someone who saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com0tag:blogger.com,1999:blog-17218917.post-46789397936575155212011-07-22T00:13:00.003+03:002011-07-22T01:08:45.145+03:00مش عشان الأردن ... عشان بناتيكنت بدّي أكتب هاي الخاطرة بالفصحى بس حسّيت إنوا ما رح ينفع فا إتحمّلونيعندي بنتين صغار وبحبهم كتير وإلهم صور في كل مكان بخصني وأتوقع إنه واضح، المهم هدول البنات أنا بربيهم على أنهم يحبّوا ويحترموا الأمن العام (الشرطة) والجيش وأنا دايمن بفهمهم إنو لمّا يضيعوا يهربوا لعند أقرب شرطي لأنه صاحبنا وبدير باله علينا وهو اللّي بمسك الحرامية وعلّمت مرتي وكتير ناس ما يخوفوا البنات من الشرطة (إزا ما بتاكلي saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com0tag:blogger.com,1999:blog-17218917.post-6433763345450627562011-06-28T01:25:00.003+03:002011-06-28T02:02:25.287+03:00How to write a good CV?Now there are lots of people who are great and wrote very clear guidelines on how to write a CV but this is my point of view from the CVs I read and how we deal with these CVs.One of the important things that distinguishes Jordanian companies from others is that HR departments do not exist or if exists are very small and is taking care of "Time and Attendance, vacations and leave requests", saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com2tag:blogger.com,1999:blog-17218917.post-68754287551810745432011-06-26T14:45:00.002+03:002011-06-26T15:04:41.185+03:00Hakeem, finally something to brag about!!Hakeem is the first national e-Health initiative in Jordan. The program aims to facilitate and improve the healthcare services, by providing real time and up to date electronic medical information throughout the public health system. Through Hakeem, EHS will invest specialized resources in implementing a proven digital platform that supports the storage, retrieval and updating of the electronic saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com0tag:blogger.com,1999:blog-17218917.post-75465819893190272482011-05-15T23:38:00.003+03:002011-05-15T23:59:17.942+03:00قرصين فلافل ... هم الحلالفلافل مادّة سحريّة تتكوّن من الحمّص وأحيانا القول مع كميّة لا يستهان بها من البكنج باودر ومواد نافخة أخرى وهذا المادّة السحريّة من وجهة نظري الأمنيّة أفضل طريقة لفض أي مظاهرة بدون عنف وبنفس الوقت ستظهر الحكومة كأنّها كريمة إذا إتّبعت الوصفة كما أضعها.لو أنّي وزير الدّاخليّة ما أرسلت أو إستعنت بالبلطجيّة ولا بأي جهاز أمني بل أستعين بأحد المطاعم المشهورة بصنع الفلافل الذّي ينفخ وأطالب هذا المطعم saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com0tag:blogger.com,1999:blog-17218917.post-66461406560742055732011-04-02T02:59:00.012+03:002011-04-02T05:37:55.183+03:0024 March in Amman City, succeeded ... to fail!!I heard a lot about 24 March and I have supported their requests, defended them during discussions and actually I was eager to join them but after the last demonstrations but I lost that eager, I still support the freedom they are asking for, actually I am the supporter for freedom and I used to do that for 10 years in the area that I understand which is technology and software and I had always saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com0tag:blogger.com,1999:blog-17218917.post-370421092032063752011-03-15T00:00:00.003+02:002011-03-15T00:19:29.520+02:00أفضل صديق لي هو …جلست أفكّر من هو أفضل أصدقائي؟ وحتّى أستطيع أن أجيب على هذا السؤال فكّرت ما المحدّدات التّي سيتم عليها الإختيار؟ حسنا، ما هي المحددات؟ على أي أساس سوف أعرف من هو أفضل أصدقائي؟ فكرت ووضعت القائمة التالية:عشرة طويلة وفترة زمنية جيدة من التعامل بيننا أكلنا "عيش وملح" مع بعض أكثر من مرة في بينا "مونة" أو بنمون على بعض كتير يجب أن يكون مستودع أسراري بدون الخوف من أن يكشف هذه الأسرار لما saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com0tag:blogger.com,1999:blog-17218917.post-6997125306390358742011-02-18T15:24:00.005+02:002011-02-18T16:30:16.281+02:00Are You a Good Programmer/Developer?Well, this is not a technical question its more about your personality and if you have what it takes to become a programmer. Let me put my criteria and see if you fit within this criteria, otherwise you should find another career :-)Do you smoke? If yes then thats a good start, most of the programmers and geeks are smokersDo you like to deal with people? If yes, then be a salesman, programmers saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com2tag:blogger.com,1999:blog-17218917.post-65233322308241724322009-01-14T11:56:00.002+02:002009-01-14T12:01:57.796+02:00غزّة واوا ... بوبّو واوا ... دج دجكلمات خرجت من فم إبنتي التي لم يتجاوز عمرها السنتين نتيجة لما تراه وتسمعه منا ومن التلفاز وبكاء جدّاتها وأمّها وخالاتها وعمّتها على ما يحصل في غزة. لم أتمالك نفسي لمّا سمعتها أوّل مرّة فبكيت بصمت العاجز، بكيت بصمت الضمير، بكيت بصمت الكلمات، بكيت بصمت الآهات والأنّات، بكيت بصمت الخرسان والعميان والطرشان وتابعت حياتي كبقية الحملان. هل أستطيع أن أبقى صامتا، حاولت واللّه حاولت، لقد رأيت والحمد للّه saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com0tag:blogger.com,1999:blog-17218917.post-22223008850525359862008-07-31T11:01:00.001+03:002008-07-31T11:01:36.215+03:00الكاريكاتير الحاصل على جائزة أفضل كاريكاتير سياسيI wanted to put something or to comment, but I did not find anything to say the image says it all.May Allah help our brothers wherever they are, and may Allah help USA into understanding and realizing that we are humans (Arabs and Muslims) and we deserve to live!! saksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com1tag:blogger.com,1999:blog-17218917.post-21800118016967983822008-05-10T23:18:00.001+03:002008-05-10T23:18:30.230+03:00Cardaleel.comThis my first thing that I do for myself, we have been working on this project for a year now, to release something professional and up to the expectations of the users, www.cardaleel.com, is my first project that I own, its very simple and intuitive site, to help users to find and sell cars, it leverages Open Source applications, such as Apache and PHP, on top of Linux, and it aims to serve thesaksoookhttp://www.blogger.com/profile/16958809571329432916noreply@blogger.com0