Skip to content

Instantly share code, notes, and snippets.

View assem-ch's full-sized avatar

Assem Ch assem-ch

View GitHub Profile
@assem-ch
assem-ch / python_zen_arabic.txt
Created February 17, 2022 15:54
روح البايثون | Zen of python in Arabic
الجميل خير من القبيح
Beautiful is better than ugly.
الصريح خير من المستتر
Explicit is better than implicit.
البسيط خير من المركّب
Simple is better than complex.
المركب خير من المعقّد
Complex is better than complicated.
المستوي خير من المتداخل
Flat is better than nested.
sed 's/\\u/\\\\u/g' js_snowball/lib/snowball.es6 | babel --compact=false --presets es2015 --plugins transform-es2015-modules-umd --module-id snowballFactory | sed 's/\\\\u/\\u/g' > js_snowball/lib/snowball.babel.js
#include <iostream>
//typedef struct element element;
using namespace std;
struct element {
char val;
element *next;
};
@assem-ch
assem-ch / geeks_talk.txt
Created October 9, 2012 00:54
Geeks' talk
@01walid - 1:42 AM
Have a good night, tell you mind to pull some dreams from its creativity repo, merge it with real and when you wake up , push yourself to changes :)
@assem-ch - 1:43 AM
:)
I'll just stash my ideas and clean my mind
@01walid - 1:43 AM
ok but don't RESET the HEAD :)
@assem-ch
assem-ch / output-main.txt
Created October 4, 2012 21:10
Output of alfanous-tests/main.py
most frequent vocalized words
وَلَا - frequence = 1192 .
فِى - frequence = 1070 .
وَمَا - frequence = 1002 .
ٱللَّهِ - frequence = 807 .
ٱلَّذِينَ - frequence = 794 .
مِن - frequence = 719 .
ٱللَّهُ - frequence = 714 .
مَا - frequence = 690 .
لَا - frequence = 607 .
@assem-ch
assem-ch / one_line.py
Created September 16, 2012 20:58
خوارزمية مجموع الاعداد المضاعفة لعددين
sum(set(xrange(0,1000,5)) | set(xrange(0,1000,3)))