ازاى ممكن نحارب الاحتلال الاسرائيلى؟

December 12, 2017 § Leave a comment

 

انا شايف اننا كأفراد ممكن نحارب الاحتلال الاسرائيلى من غير ما نمسك سلاح ومن غير ما ناخد اذن من حكومة ومن غير ما نعمل حاجة مختلفة يعنى عن اللى بنعمله يوميا ومن غير ما نخصص لها وقت ، يعنى ممكن نعملها واحنا بنعمل نشاطاتنا العادية.
1- ممكن مثلا نعمل صفحات بالعبرى بتشكك فى ثوابتهم وبتقلل منهم وبتنشر حقيقتهم ونغير ال location وال target area او ايا كان اسمها لاسرائيل زى ما فى صفحات كتير زى كدة بتوصلنا وجزء مننا للاسف بيتفاعلوا معاها زى الهبل.
2- ممكن ندعم المقاومة بفلوس (امريكا ساعدت اسرائيل ب 108$ مليار من سنة 49 ل 2006 يعنى مش عيب ولا حرام دعم المقاومة خالص) او اى نوع من المساعدات يحتاجوه عشان الوحيدين اللى يقدروا يحاربوا بسلاح ع ارض الواقع هما وبقى اشبه م المستحيل ان حد تانى يقف بصفهم.
3- متدخلش ع صفحات اسرائيلية وتعمل share او تتفاعل باى طريقة حتى لو شتيمة ، قابلتك صفحة منهم اعمل ريبورت وخلاص ايًا كان تفاعلك غير كدة فهو مصلحة ليهم.
4- ممكن نبطل نبص ع انها قضية من زمان ودلوقتى عصر التكنولوجيا وايلون ماسك هيطلع المريخ والـ Machine learning والـ Robots هتحتل الكوكب واحنا لسة بنقول الاحتلال الاسرائيلى ، دى طريقة غبية جدًا فى التفكير ممكن تهتم بالاتنين عادى جدًا جدًا ، الانسان اللى مش عايش لقضية يبقى عايش حياة ملهاش لزمة.
5- مهما كنت شايف الاحتلال الاسرائيلى منتصر وفرحان وبراءات اختراعات وكلام وبتاع ، فده اللى ظاهرلك انما الحقيقة صفارات انذار وقبة حديدية وفلوس امريكا وحكام عرب محكومين منهم غير انهم بيحاولوا يزوروا حقيقة ان دى ارض فلسطين وبيدوروا على اى كلبة تحققلهم سلام وبيطلعوا يتنططوا زى الهُبل عشان يغيظونا بس ، فمتتغرش بالمظاهر واعرف ان ممكن الحال يتقلب فى ليلة عشان فى الاول والاخر هما مش واقفين ع ارض صلبة.
6- ممكن نوعى الناس اكتر بالقضية الفلسطينية بفيديوهات انيميشن او كتب او صور او blog posts او فيديوهات عادية او اللى تعرف تعمله.
7- ممكن نقلل من التريقة على نفسنا بجمل زى ان العرب او المسلمين جهلة او ان العرب همهم ع بطنهم او الكلام اللى بقى وصمة اجتماعية علينا ده ، يعنى قبل ما تقول اصل العرب كذا افتكر انك عربى ومن الغباء انك تتريق على نفسك.
8- ممكن نشتغل اكتر وبضمير اكتر عشان لما الشغل يطلع حلو فى الاخر يبقى من عربى او مسلم والناس بتسمع للناجحين 100 مرة اكثر اهتماما ما تسمع لشخص عادى.
9- ممكن منسمحش لاى حد يسئ قدامنا بان المسلمين ارهابيين عشان دى مش حقيقة ، ومش عشان اللى عمل الجريمة الفلانية ف المكان الفلانى مسلم يبقى كل المسلمين ارهاب ع فكرة انا ممكن من بكرة اعمل account ع تويتر واسميه داعش فرع اسرائيل مثلا واحط صورة لاسرائيل واتابع الاخبار واى حادثة انزل تويتة ان انا اللى عملتها وخلصت يعنى مش حوار واخلى كام حد يعمل ريتويت لحد ما اتشهر وابقوا روحوا اتأكدوا من الاموات بقى ان مش انا اللى عملت كدة.
10- ممكن منستصغرش اللى بنعمله ايا كان انشالله صورة البروفايل الحاجات دى بتفرق خالص والله ، اصل اللى بيقول مثلا صلى او ادعى او مش عارف ايه دى كلها حاجات بتتعمل فى الخفاء ومش هتبان ع السوشيال ميديا ومش صورة البروفايل هى اللى هتتكلموا فيها يعنى ، انا اعرف ناس غيرت صورة البروفايل وانا متأكد انها بتعمل حاجات محدش م اللى بيتريق عليهم بيعمل ربعها.
11- ممكن نبطل حزننا ع اى حاجة واحباطنا الدائم باننا مهزومين وخلاص ، اه يعنى المفروض نستسلم ان كدة خلاص ونتابع كورة زى ما كنا بنتابع ولو حد جابلنا سيرة فلسطين او المسجد الاقصى نقوله يا عم خلاص بقى انت لسة فاكر ؟!!! (الفلسطينيين بيحاربوا دبابات اليهود بالحجارة من اول ما اتولدت لحد دلوقتى وميأسوش)
12- منتعصبش ع حد فى نقاش زى كدة لو اقتنع اقتنع لو مقتنعش الايام هتقنعه وساعتها ندمه هيكون اكبر من عصبيتك.
13- من يومين حصل نقل سفارة امريكا للقدس ، قبلها باسبوع كان فى مستوطنات بتتبنى ع اراضى فلسطينية يعنى اصحاب ارض بتتهجر واطفال بتتشرد واسر فلسطينية بتعيش تحت خط الفقر عشان محتل يعيش مكانهم ، قبلها باسبوع كان ناس بتتقتل ع ايد مستوطنين او جنود يهود ، قبلها باسبوع كان فى معتقلين بيتعذبوا فى سجون اليهود عشان بيدافعوا عن ارضهم ، فمش يوم او قرار هو اللى يحمسك وبعدها تكمل حياتك عادى ولا كأن حاجة حصلت ده مش تضامن يليق بالقضية.
14- اخر حاجة هسيبهالك تخيل لو قرروا يمنحوك 100 شخص ويخلوك قائد عليهم وقالولك حارب اسرائيل ايه القرارات العظيمة جدا اللى هتعملها عشان تحقق اكبر نصر باقل هزيمة؟
15- القضية قضية اسلامية بشكل خاص وقضية حق بشكل عام فاللى يهمه الاتنين هتهمه قضية فلسطين او قضية المسجد الاقصى. اللى مش هامه غير مصر فمصر مستحيل باى شكل من الاشكال تقدر تصد الحروب الجاية لوحدها لو الدول العربية انتهت بالتوالى كدة فمصر مش بعيدة ومش هتلاقى حتى عربى عنده شقة ويقدر يتعاطف بصورة بروفايل.
اما اللى معندهوش امل بقى وشايف انه مجرد اداة وحاسس ان كدة خلاص فربنا هيحاسبك لوحدك وع الاقل عيش وانت حاسس انك عملت اللى عليك.

*اللى شايفنى بقول كلام ومعترض ع حاجة بقولها يبعتلى ابعتله مصدر يأكد كلامى.

Advertisements

Developers should have two minds, technical mind and business mind.

December 3, 2017 § Leave a comment

The problem i want to talk about in this post that we consider our minds should have one direction or thought, and this direction must be technical, we don’t have to think of how to ‘sell’ our technical minds? or their products?  – this is the Goal.

One time, i followed @curiositydotcom account on instagram, i liked them but i didn’t have time to see all the ‘old’ pics, so i created a tool in python to download all pics from pic0 to the latest to see them in my free time without internet access, even though i was know little about python the code worked and i did it. In a few months later i found a job ‘scraping pics from public instagram account’ for 30$, i never for a moment imagined that this little and tiny tool costs 30$ or 540L.E, because i have just one mind only the technical mind.

The life on Facebook or LinkedIn looks like the flood, the water (posts) leads you, make you see only one direction you can’t look at right, left or even back, none can stand and rethinking about the way. The companies’ owners need developers and each developer need to know all the requirements much more the others to be the idealist, he can be the idealist for years but in the fact he just a robot or a tool not a responsible, in my opinion developers should be leaders in technical industry, the technical mind is great with business mind in a same head not under another business mind in another head. i didn’t point to start your career as a business man, or build your startup in your beginnings, i mean you should grow your mind in business trend as you growing it in technical field. this will help in the future i’m sure.

I know plenty of students can write good projects in more than 3 programming languages like C++, C#, Python, JS, Java, Matlab, php, but they can’t get money from their knowledge. i’ll talk about myself as an example, i wrote code – not all projects included – in C#, python, JS, C++, Assembly X86, Matlab and (HTML & CSS) i can write code whatever the language, whatever the topic, but my business mind doesn’t give me a good job and if he gave it to me he wouldn’t help me anymore. i have experience in this, in the last summer i got intern in one of startups as front-end developer, in my first two weeks i didn’t know what should i do? what are the tasks? but my head told me the tasks should passed to me ‘from the heaven maybe’, on my office the co-founder or the technical co-founder you can call him the CTO saw me working on a personal small project, he asked me what is going on in your intern? i replied i have no tasks for now. this is the first mistake from me and i guess from my mentor how can i spent two weeks with no clearly tasks to do? it’s not a joke. when i got the tasks, i faced two options Should i deliver them in a good code and design? or just do it fast as i can? my technical mind drew The flash (superhero) on my screen, and i fall in my second big mistake.

Everyone will lead you to achieve his work (except your mom) the same for minds your technical mind can guide you to learning smalltalk 😀 the second most loved programming language, but your business mind can guide you to learning python the first wanted programming language and the sixest in the most loved list, your technical mind can help you doing great projects in a folder on your personal hard drive but your business mind can help you doing same good projects in folders on +1000 PCs, technical minds ‘establish’ connections with the devices, business minds ‘make’ connections with people, and you need the two connections.

We’re not beta-geeks, developers are small companies we’re not ‘supervised learners’ we’re not robots we have souls, heart, blood, emotions (not emojis) and minds (two, okay?) i reminded myself with you.

Competition is a very silly lie, you can get glasses to see, and you can compete to be blind, competition is a magic you’ll love, admire and feel success but on others not on your goals.

you can share your thoughts with me, feel free to ask.

JavaScript presentation

October 30, 2017 § Leave a comment

Top 12 Repositories on github ‘to me’ (september 2017)

October 1, 2017 § Leave a comment

  1. ncase / trust
    An interactive guide to the game theory of cooperation

  2. jeromeetienne / AR.js
    Efficient Augmented Reality for the Web – 60fps on mobile!

  3. iliakan / javascript-tutorial-en
    Modern JavaScript Tutorial

  4. toddmotto / public-apis
    A collective list of public JSON APIs for use in web development.

  5. EbookFoundation / free-programming-books
    📚 Freely available programming books

  6. sdmg15 / Best-websites-a-programmer-should-visit
    🔗 Some useful websites for programmers.

  7. christopherjenness / NBA-player-movement
    Visualization and analysis of NBA player tracking data

  8. papers-we-love / papers-we-love
    Papers from the computer science community to read and discuss.

  9. kamranahmedse / developer-roadmap
    Roadmap to becoming a web developer in 2017

  10. Hack-with-Github / Awesome-Hacking
    A collection of various awesome lists for hackers, pentesters and security researchers

  11. jiahaog / nativefier
    Make any web page a desktop application

  12. kdn251 / interviews
    Everything you need to know to get the job.

 

Intermediate Front End Development Projects on freecodecamp in two days

September 13, 2017 § Leave a comment

Assalamu Alaikum everyone 😀
I just finished my fourth and last project on Intermediate Front End Development Projects on freecodecamp and in this post i’ll describe these hours, tools, maybe mention some lines of code and BUGS.

For the first Project Build a Random Quote Machine:

movies

I used API to generate movies quotes from https://www.mashape.com/ and using Postman the easiest way to deal with APIs in general. for .js file i think it was easy and have no bugs, but i get struggled before in using twitter share button, the tweet text wasn’t changing in every time i changing it in code, but now i have to solution for this problem one if you wanna use twitter’s share button style and the other one if you wanna use you style:

//SOL-1: you have to reload twitter share button
twttr.widgets.load();
//SOL-2: you have to write all text, hashtags, everything in href
"`https://twitter.com/intent/tweet?text=${text}&hashtags=${hashtag}&via=${twittername}`" 

Note: in previous code i used ES6 feature ${ } to write variables, it’s similar to “str “+var+” str”.

you maybe don’t know how to get random number in range, the easy way:

var index = Math.floor(min + (Math.random() * ((max - min) + 1)));

The project on github

For the second Project Show the Local Weather:

weather

I used this API https://fcc-weather-api.glitch.me/ using postman, The only bug i faced, it was horrible but i have simple solution to deal with it not fixing it, Here is the Problem The value of the ‘Access-Control-Allow-Origin’ header in the response must not be the wildcard ‘*’ when the request’s credentials mode is ‘include’. if you working on Windows just open CMD and write this line to open chrome in no-security
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --user-data-dir="c:/chromedev"
or Linux
sudo google-chrome --no-sandbox --disable-web-security --user-data-dir="/opt/google/chrome"

here’s you can enable location on devices

if ("geolocation" in navigator) {
    navigator.geolocation.getCurrentPosition(function(position) {
        func(position.coords.latitude, position.coords.longitude);
    });
} else {
    // geolocation isn't available
}

The project on github

For the third Project Build a Wikipedia Viewer:

wikipedia

Wikipedia have the most wonderful APIs system i have ever seen, maybe because i didn’t try all apis’ systems, but it’s not easy to use any of them i guess. but give it try from this link and you can open random article using this link nothing to say for this project, you can see my progress here

For the fourth Project Use the Twitch.tv JSON API Complete :

twitch

I don’t like this project at all, and i think it was completely useless. Ok you can see what i did

Don’t leave your projects die. Let others contribute.

September 9, 2017 § Leave a comment

twitterpic

Have you ever had a project started and couldn’t complete because of a shortage of time, lost of your passion or unresolved bugs led to leave the project totally. 😔
Do you ever thought to expand your project, add some new cool features, but unfortunately you hadn’t the time for that. 🤔
In #counteributors, we share these projects and let others contribute in them, don’t waste your time searching for your next contribution and stop killing your projects. 😀

Wait for us and follow on twitter @counteributors ☺️

لا تترك مشاريعك تموت ، دع الآخرين يساهمون فيها.

September 9, 2017 § Leave a comment

twitterpic
اذا كان لديك مشروع بدأته منذ فترة وانشغلت عنه او قابلت فيه اخطاء برمجية لم تستطع حلها فادى بك الحال الى تركه كليًا ، او بدأته وانتهيت منه ولكنك ترغب فى اضافة بعض المميزات الجديدة ولكنك لم تجد الفرصة لفعل هذا.
Counteributors مشروع جديد يساهم فى نشر مثل تلك المشاريع وعرضها كى يتمكن الآخرين من المشاركة فيها وتنشيطها من جديد ، كل ما عليك هو ان تجهز مشروعك القديم على github وتكتب فى ملف الـ README.md ما الذى تريده من المساهمين وترسله على البريد الالكترونى : counteributors@gmail.com وتابعنا على تويتر @counteributors لنشر الموقع.

 

Install Python3 on linux

June 28, 2017 § Leave a comment

Remove Duplicate Files in python

June 21, 2017 § Leave a comment

How it works?

the program takes the file path from user, then calculates its sha-256 hash, then takes the folder path from user to search in and start search for files with the same sha-256.

Installation:

  1. install python 3.x from here
  2. create a new .py file and copy the source code into it.
  3. run script.

*NOTE: ‘the folder path not included sub-folders’.

if you want to contribute, fork it.

Follow me on github

What’s the number of Triangles in irregular hexagon ?

June 1, 2017 § Leave a comment

Hello Everyone 🙂
we have this hexagon with sides’ lengths from top to right 1,2,1,2,1,2 cm respectively,c888b890119f18644ad25f57613b8d522d7b8152 and hope to find what’s exactly how many triangles can be formed in this irregular hexagon ?
First: we’ll join three small regular triangles to sides a1,a3, a5 = 1, 1, 1 respectively of the hexagon.c888b890119f18644ad25f57613b8dwd7b8152.png then we have a big one triangle.
Second:  if we add a1 to a2 to a3 then we get the length of one side of the big triangle and the remaining equal it.
Third:  then we can say that the hexagon area = (a1 + a2 + a3)2 - a12 - a32 - a5
if we considered that the length of one small triangle equal to 1 and consider the big triangle have sides of X cm then we have area
  • Click to view my Personality Profile page

  • Follow Me

  • الحاجات اللى بتكلم فيها

  • Archives – التاريخ

  • Follow Orange Notes on WordPress.com
  • Enter your email address to follow this blog and receive notifications of new posts by email.

    Join 1,173 other followers

  • me on Twitter

  • Zeyad’s bookshelf: currently-reading

  • People loved the blog

  • Translate this blog

  • Blog Stats

    • 39,081 hits
  • Recent Posts: Orange Notes

    ازاى ممكن نحارب الاحتلال الاسرائيلى؟

      انا شايف اننا كأفراد ممكن نحارب الاحتلال الاسرائيلى من غير ما نمسك سلاح ومن غير ما ناخد اذن من حكومة ومن غير ما نعمل حاجة مختلفة يعنى عن اللى بنعمله يوميا ومن غير ما نخصص لها وقت ، يعنى ممكن نعملها واحنا بنعمل نشاطاتنا العادية. 1- ممكن مثلا نعمل صفحات بالعبرى بتشكك فى ثوابتهم […]

    Developers should have two minds, technical mind and business mind.

    The problem i want to talk about in this post that we consider our minds should have one direction or thought, and this direction must be technical, we don’t have to think of how to ‘sell’ our technical minds? or their products?  – this is the Goal. One time, i followed @curiositydotcom account on instagram, […]

    JavaScript presentation

    Top 12 Repositories on github ‘to me’ (september 2017)

    ncase / trust An interactive guide to the game theory of cooperation jeromeetienne / AR.js Efficient Augmented Reality for the Web – 60fps on mobile! iliakan / javascript-tutorial-en Modern JavaScript Tutorial toddmotto / public-apis A collective list of public JSON APIs for use in web development. EbookFoundation / free-programming-books 📚 Freely available programming books sdmg15 / Best-websites-a-programmer-should-visit 🔗 Some useful websites for programmers. […]

    Intermediate Front End Development Projects on freecodecamp in two days

    Assalamu Alaikum everyone 😀 I just finished my fourth and last project on Intermediate Front End Development Projects on freecodecamp and in this post i’ll describe these hours, tools, maybe mention some lines of code and BUGS. For the first Project Build a Random Quote Machine: I used API to generate movies quotes from https://www.mashape.com/ and using Postman the easiest […]

  • Support Palestine and Al-Aqsa

  • Member of The Internet Defense League

%d bloggers like this: