-
Notifications
You must be signed in to change notification settings - Fork 0
/
array.js
250 lines (248 loc) · 10.6 KB
/
array.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
//Advices/Quotes
const advices = [
//Prophet Muhammad (Sallallahu Alayhi Wa Sallam)
{
quotee: 'Prophet Muhammad (Peace Be Upon Him)',
quote: 'For him who follows a path for seeking knowledge, Allah will ease for him the path to Paradise.'
},
{
quotee: 'Prophet Muhammad (Peace Be Upon Him)',
quote: 'If Allah wants to do good to somebody, He afflicts him with trials.'
},
{
quotee: 'Prophet Muhammad (Peace Be Upon Him)',
quote: 'Speak a good word or remain silent.'
},
{
quotee: 'Prophet Muhammad (Peace Be Upon Him)',
quote: 'The greatest Jihad is to battle your own soul, to fight the evil within yourself.'
},
{
quotee: 'Prophet Muhammad (Peace Be Upon Him)',
quote: 'He is not a believer whose stomach is filled while his neighbour goes hungry.'
},
{
quotee: 'Prophet Muhammad (Peace Be Upon Him)',
quote: 'A strong man is not the one good wrestler, a strong man is only the one who controls himself when he is angry.'
},
{
quotee: 'Prophet Muhammad (Peace Be Upon Him)',
quote: 'A good man treats women with honour.'
},
//4 Caliphs Al-Rashidun
{
quotee: 'Sayyidina Abu Bakr As-Siddiq (Radhiyallahu ‘anhu)',
quote: 'Without knowledge action is useless and knowledge without action is futile.'
},
{
quotee: 'Sayyidina Abu Bakr As-Siddiq (Radhiyallahu ‘anhu)',
quote: 'Taking pains to remove the pains of others is the true essence of generosity.'
},
{
quotee: 'Sayyidina Abu Bakr As-Siddiq (Radhiyallahu ‘anhu)',
quote: 'One of the worst sins is a person taking his sin lightly.'
},
{
quotee: 'Sayyidina Abu Bakr As-Siddiq (Radhiyallahu ‘anhu)',
quote: 'A man who is shy and modest is an amazing character, but a woman who is shy and modest is beyond amazing.'
},
{
quotee: 'Sayyidina Abu Bakr As-Siddiq (Radhiyallahu ‘anhu)',
quote: 'Death is the easiest of all things after it, and the hardest of all things before it.'
},
{
quotee: 'Hazrat Umar Ibn Al-Khattab (Radhiyallahu ‘anhu)',
quote: 'Sometimes the people with the worst past, create the best future.'
},
{
quotee: 'Hazrat Umar Ibn Al-Khattab (Radhiyallahu ‘anhu)',
quote: 'Sit with those who have sinned and repented for they have the softest of hearts.'
},
{
quotee: 'Hazrat Umar Ibn Al-Khattab (Radhiyallahu ‘anhu)',
quote: 'Whosoever shows you your faults is your friend. Those that pay you lip service in praise are your executioners.'
},
{
quotee: 'Hazrat Umar Ibn Al-Khattab (Radhiyallahu ‘anhu)',
quote: 'No amount of guilt can change the past and no amount of worrying can change the future.'
},
{
quotee: 'Hazrat Umar Ibn Al-Khattab (Radhiyallahu ‘anhu)',
quote: 'To be alone means that you avoid bad company. But to have a true friend is better than being alone.'
},
{
quotee: 'Sayyidina Uthman Al Affan (Radhiyallahu ‘anhu)',
quote: 'Worrying about the dunya is a darkness in the heart, while worrying about akhirah is a light in the heart.'
},
{
quotee: 'Sayyidina Uthman Al Affan (Radhiyallahu ‘anhu)',
quote: 'A backbiter harms three persons, firstly himself, secondly the persom whom he is addressing and thirdly the person whom he is backbiting.'
},
{
quotee: 'Sayyidina Uthman Al Affan (Radhiyallahu ‘anhu)',
quote: `If the hearts are pure, they will never have enough from reciting Allah's words (the Qur'an).`
},
{
quotee: 'Sayyidina Uthman Al Affan (Radhiyallahu ‘anhu)',
quote: `Your charity is not accepted until you believe: "I need the reward more than the beggar needs the money".`
},
{
quotee: 'Sayyidina Uthman Al Affan (Radhiyallahu ‘anhu)',
quote: 'Silence is the best treatment for anger.'
},
{
quotee: 'Imam Ali Ibn Abi Talib (Radhiyallahu ‘anhu)',
quote: 'If poverty were a man, I would have slain him.'
},
{
quotee: 'Imam Ali Ibn Abi Talib (Radhiyallahu ‘anhu)',
quote: 'Knowledge is a venerable estate, good manners are new dresses, and thinking is a clear mirror.'
},
{
quotee: 'Imam Ali Ibn Abi Talib (Radhiyallahu ‘anhu)',
quote: 'The world is darkness, knowledge is light, but knowledge without truth is a mere shadow.'
},
{
quotee: 'Imam Ali Ibn Abi Talib (Radhiyallahu ‘anhu)',
quote: `Never explain yourself to anyone, because the one who likes you would not need it, and the one dislikes you wouldn't believe it.`
},
{
quotee: 'Imam Ali Ibn Abi Talib (Radhiyallahu ‘anhu)',
quote: 'Patience is of 2 kinds: enduring what you hate & abstaining from what you love.'
},
{
quotee: 'Imam Ali Ibn Abi Talib (Radhiyallahu ‘anhu)',
quote: "Be like the flower that gives it's fragrance even to the hand that crushes it."
}
]
exports.advices = advices
/*
[
//Prophet Muhammad (SAW)
{
quote: 'Speak a good word or remain silent.',
quotee: 'Prophet Muhammad (peace be upon him)'
},
{
quote: 'The best among you are those who are best to their wives.',
quotee: 'Prophet Muhammad (peace be upon him)'
},
{
quote: 'The strong man is not the good wrestler, the strong man is only the one who controls himself when he is angry.',
quotee: 'Prophet Muhammad (peace be upon him)'
},
{
quote: 'If Allah wants to do good to somebody, He afflicts him with trials.',
quotee: 'Prophet Muhammad (peace be upon him)'
},
{
quote: 'I guarantee a house in Jannah for one who gives up arguing, even if he is in the right; and I guarantee a home in the middle of Jannah for one who abandons lying even for the sake of fun; and I guarantee a house in the highest part of Jannah for one who has good manners.',
quotee: 'Prophet Muhammad (peace be upon him)'
},
{
quote: 'Be in this world like a stranger or one who is passing through.',
quotee: 'Prophet Muhammad (peace be upon him)'
},
{
quote: 'Give charity without delay, for it stands in the way of calamity.',
quotee: 'Prophet Muhammad (peace be upon him)'
},
{
quote: 'When you are three persons, then two of you should not whisper excluding the third person, for that would grieve him.',
quotee: 'Prophet Muhammad (peace be upon him)'
},
{
quote: 'Know that victory comes with patience, relief with affliction, and ease with hardship.',
quotee: 'Prophet Muhammad (peace be upon him)'
},
{
quote: 'For him who follows a path for seeking knowledge, Allah will ease for him the path to Paradise.',
quotee: 'Prophet Muhammad (peace be upon him)'
},
//Four Rashidun Caliph
{
quote: 'Taking pains to remove the pains of others is the true essence of generosity.',
quotee: 'Abu Bakr as-Siddiq'
},
{
quote: 'Without knowledge action is useless and knowledge without action is futile.',
quotee: 'Abu Bakr as-Siddiq'
},
{
quote: 'One of the worst sins is a person taking his sin lightly.',
quotee: 'Abu Bakr as-Siddiq'
},
{
quote: 'He who avoids complaint invites happiness.',
quotee: 'Abu Bakr as-Siddiq'
},
{
quote: 'A man who is shy and modest is an amazing character, but a woman who is shy and modest is beyond amazing.',
quotee: 'Abu Bakr as-Siddiq'
},
{
quote: 'Sometimes the people with the worst past, create the best future.',
quotee: 'Umar Ibn al-Khattab'
},
{
quote: 'No amount of guilt can change the past, and no amount of worrying can change the future.',
quotee: 'Umar Ibn al-Khattab'
},
{
quote: 'A man should be like a child with his wife, but if she needs him. He should act like a man.',
quotee: 'Umar Ibn al-Khattab'
},
{
quote: "If you see that someone has slipped, correct him, pray for him, and don't help shaytan against him (by insulting him).",
quotee: 'Umar Ibn al-Khattab'
},
{
quote: 'Sit with those who have sinned and repented, for they have the softest of hearts.',
quotee: 'Umar Ibn al-Khattab'
},
// {
// quote: 'To be alone means you avoid bad company. But to have a true friend is better than being alone',
// quotee: 'Umar Ibn al-Khattab'
// },
{
quote: 'Worrying about the dunya is a darkness in the heart, while worrying about akhirah is a light in the heart.',
quotee: 'Uthman Ibn Affan'
},
{
quote: 'Acquire wisdom from the story of those who have already passed.',
quotee: 'Uthman Ibn Affan'
},
{
quote: 'Silence is the best treatment for anger.',
quotee: 'Uthman Ibn Affan'
},
{
quote: 'A backbiter harms three persons, firstly himself, secondly the person whom he is addressing and thirdly the person whom he is backbiting.',
quotee: 'Uthman Ibn Affan'
},
{
quote: 'Knowledge is better than wealth, knowledge protect you but wealth you have to protect it.',
quotee: 'Uthman Ibn Affan'
},
{
quote: 'Be like a flower that gives its fragrance even to the hand that crushed it.',
quotee: 'Hazrat Ali Ibn Abi Talib'
},
{
quote: 'There is no wealth like intelligence, no poverty like ignorance, and no inheritance like good manners.',
quotee: 'Hazrat Ali Ibn Abi Talib'
},
{
quote: 'Never make a decision in anger and never make a promise in happiness.',
quotee: 'Hazrat Ali Ibn Abi Talib'
},
{
quote: 'Patience is of 2 types: Enduring what you hate & abstaining from what you love.',
quotee: 'Hazrat Ali Ibn Abi Talib'
},
{
quote: "Do not take someone's silence as his pride, perhaps he is busy fighting with his self.",
quotee: 'Hazrat Ali Ibn Abi Talib'
}
]
*/