Skip to content

Instantly share code, notes, and snippets.

@ademar111190
Created October 22, 2014 16:32
Show Gist options
  • Save ademar111190/238ae75c5305d2e90704 to your computer and use it in GitHub Desktop.
Save ademar111190/238ae75c5305d2e90704 to your computer and use it in GitHub Desktop.
Show one of ninety nine allah`s names
#!/usr/local/bin/lua
Alah = {}
Alah.__index = Alah
function Alah:new(latin, arabic, portuguese)
o = {}
setmetatable(o, self)
self.__index = self
self.latin = latin
self.arabic = arabic
self.portuguese = portuguese
return o
end
alah_names = {
Alah:new("Allah","الله", "Deus"),
Alah:new("Al Rahman", "الرحمن", "O Misericordioso"),
Alah:new("Al Rahim", "الرحيم", "O Clemente; O Misericordioso"),
Alah:new("Al Malik ", "الملك", " O Soberano"),
Alah:new("Al Quddus ", "القدوس", " O Sagrado"),
Alah:new("Al Salam ", "السلام", " A Fonte da Paz"),
Alah:new("Al Mu'min ", "المؤمن", " O Guardião da Fé; A Fonte da Fé"),
Alah:new("Al Muhaymin ", "المهيمن", " O Protetor"),
Alah:new("Al 'Aziz ", "العزيز", " O Poderoso "),
Alah:new("Al Jabbar ", "الجبار", " O Irresistível; O que Compele"),
Alah:new("Al Mutakabbir ", "المتكبر", " O Majestoso"),
Alah:new("Al Khaliq ", "الخالق", " O Criador"),
Alah:new("Al Bari' ", "البارئ", " O que Faz evoluir; O que Concebe"),
Alah:new("Al Musawwir ", "المصور", " O Formador; O Modelador"),
Alah:new("Al Ghaffar ", "الغفار", " O que Perdoa"),
Alah:new("Al Qahhar ", "القهار", " O Dominador"),
Alah:new("Al Wahhab ", "الوهاب", " O Doador"),
Alah:new("Al Razzaq ", "الرزاق", " O Provedor"),
Alah:new("Al Fattah ", "الفتاح", " O que abre"),
Alah:new("Al Alim ", "العليم", " O que Tudo Sabe; O Omnisciente"),
Alah:new("Al Qabid ", "القابض", " Aquele que Constringe"),
Alah:new("Al Basit ", "الباسط", " O que Expande; O Magnânimo"),
Alah:new("Al Khafid ", "الخافض", " O que Rebaixa"),
Alah:new("Al Rafi' ", "الرافع", " O que Exalta"),
Alah:new("Al Mu'izz ", "المعز", " O que Honra"),
Alah:new("Al Mudhill ", "المذل", " O que Desonra"),
Alah:new("Al Sami' ", "السميع", " O que Tudo Ouve"),
Alah:new("Al Basir ", "البصير", " O que Tudo Vê"),
Alah:new("Al Hakam ", "الحكم", " O Juiz"),
Alah:new("Al 'Adl ", "العدل", " O Justo"),
Alah:new("Al Latif ", "اللطيف", " O Sutil"),
Alah:new("Al Khabir ", "الخبير", " O Ciente; O Desperto"),
Alah:new("Al Halim ", "الحليم", " O Clemente; O Delicado"),
Alah:new("Al 'Azim ", "العظيم", " O Magnificiente; O Infinito"),
Alah:new("Al Ghafur ", "الغفور", " O que Tudo Perdoa"),
Alah:new("Al Shakur ", "الشكور", " O Apreciador"),
Alah:new("Al 'Ali ", "العلى", " O Mais Alto"),
Alah:new("Al Kabir ", "الكبير", " O Maior"),
Alah:new("Al Hafiz ", "الحفيظ", " O Preservador"),
Alah:new("Al Muqit ", "المقيت", " O que Sustenta"),
Alah:new("Al Hasib ", "الحسيب", " O que Reconhece"),
Alah:new("Al Jalil ", "الجليل", " O Sublime"),
Alah:new("Al Karim ", "الكريم", " O Generoso"),
Alah:new("Al Raqib ", "الرقيب", " O Vigilante"),
Alah:new("Al Mujib ", "المجيب", " O que Responde"),
Alah:new("Al Wasi' ", "الواسع", " O que Tudo Abraça"),
Alah:new("Al Hakim ", "الحكيم", " O Sábio"),
Alah:new("Al Wadud ", "الودود", " O Amante"),
Alah:new("Al Majid ", "المجيد", " O Glorioso"),
Alah:new("Al Ba'ith ", "الباعث", " O que Ressuscita"),
Alah:new("Al Shahid ", "الشهيد", " A Testemunha"),
Alah:new("Al Haqq ", "الحق", " A Verdade, Aquele que é Real"),
Alah:new("Al Wakil ", "الوكيل", " O Confiável; O Depositário"),
Alah:new("Al Qawiyy ", "القوى", " O Mais Forte"),
Alah:new("Al Matin ", "المتين", " O Firme, o Leal"),
Alah:new("Al Wali ", "الولى", " O Amigo Protetor, O Patrono e Ajudante"),
Alah:new("Al Hamid ", "الحميد", " O Digno de Louvor"),
Alah:new("Al Muhsi ", "المحصى", " O Calculador, O Numerador de Tudo"),
Alah:new("Al Mubdi' ", "المبدئ", " O que Dá Origem; O Produtor; O Originador e Iniciador de Tudo"),
Alah:new("Al Mu'id ", "المعيد", " O Restaurador; Que Traz Tudo de Volta"),
Alah:new("Al Muhyi ", "المحيى", " o Doador da Vida"),
Alah:new("Al Mumit ", "المميت", " O Criador da Morte, O Destruidor"),
Alah:new("Al Hayy ", "الحي", " O Eterno Vivente"),
Alah:new("Al Qayyum ", "القيوم", " O Auto-Subsistente; O que a Tudo Sustém"),
Alah:new("Al Wajid ", "الواجد", " O que Encontra; O que Percebe; O Infalível"),
Alah:new("Al Majid ", "الماجد", " O Nobre; O Magnificente"),
Alah:new("Al Wahid ", "الواحد", " O Único; O Indivízível"),
Alah:new("Al Samad ", "الصمد", " O Eterno; O Impregnável"),
Alah:new("Al Qadir ", "القادر", " O Capaz"),
Alah:new("Al Muqtadir ", "المقتدر", " O Mais Poderoso; O Dominante; O que Tudo Determina"),
Alah:new("Al Muqaddim ", "المقدم", " O que Adianta; O que Apressa"),
Alah:new("Al Mu'akhkhir ", "المؤخر", " O que Atrasa; O que Retarda"),
Alah:new("Al Awwal ", "الأول", " O Primeiro"),
Alah:new("Al Akhir ", "الأخر", " O Último"),
Alah:new("Al Zahir ", "الظاهر", " O Manifesto"),
Alah:new("Al Batin ", "الباطن", " O Oculto"),
Alah:new("Al Wali ", "الوالي", " O que Governa; O Patrão"),
Alah:new("Al Muta'al ", "المتعالي", " O Mais Elevado"),
Alah:new("Al Barr ", "البر", " A Fonte da Bondade; O Mais Generoso e Correto"),
Alah:new("Al Tawwab ", "التواب", " O que Aceita o Arrependimento"),
Alah:new("Al Muntaqim ", "المنتقم", " O Vingador"),
Alah:new("Al 'Afuww ", "العفو", " O que Perdoa"),
Alah:new("Al Ra'uf ", "الرؤوف", " O Compassivo"),
Alah:new("Malik al Mulk ", "مالك", " O Detentor de Toda A Majestade; O Eterno Detentor da Soberania"),
Alah:new("Dhu al Jalal wa al Ikram ", "ذو الجلال و الإكرام", " O Senhor da Majestade e da Generosidade"),
Alah:new("Al Muqsit ", "المقسط", " O Equitativo"),
Alah:new("Al Jami' ", "الجامع", " O que Reúne; o que Unifica"),
Alah:new("Al Ghani ", "الغنى", " O Auto-Suficiente; O Independente; O Possuidor de Todas as Riquezas"),
Alah:new("Al Mughni ", "المغنى", " O Enriquecedor; O Emancipador"),
Alah:new("Al Mani'", "المانع", " O que Impede; O que Defende"),
Alah:new("Al Darr ", "الضار", " O que Causa Preocupações "),
Alah:new("Al Nafi' ", "النافع", " O que Beneficia"),
Alah:new("Al Nur ", "النور", " A Luz"),
Alah:new("Al Hadi ", "الهادئ", " O Guia"),
Alah:new("Al Badi ", "البديع", " O Incomparável, O Originador"),
Alah:new("Al Baqi ", "الباقي", " O Perpétuo"),
Alah:new("Al Warith ", "الوارث", " O Herdeiro Supremo"),
Alah:new("Al Rashid ", "الرشيد", " O Guia para o Caminho Reto, O Professor Infalível, O Conhecedor"),
Alah:new("Al Sabur ", "الصبور", " O Paciente, O Eterno")
}
math.randomseed(os.time())
math.random(); math.random(); math.random() --to random works on windows and osx too, if you uses linux can delete this line
alahToday = math.random(#alah_names)
print("Allah name today:", alah_names[alahToday].latin, alah_names[alahToday].arabic, alah_names[alahToday].portuguese)
@leite
Copy link

leite commented Oct 22, 2014

Bismillah ir-Rahman ir-Rahim ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment