Skip to content

Instantly share code, notes, and snippets.

View mr-islam's full-sized avatar

Naved Islam mr-islam

View GitHub Profile
@mr-islam
mr-islam / surah.js
Last active February 6, 2023 16:37
Array list of objects with all surahs names in the Quran, along with page in the Green Madina Mushaf. Used in [Qawl](https://github.com/mr-islam/qawl), the desktop Quran reader
var surahs = [
{
"name": "al-Fātihah",
"pageGreen": 1
},
{
"name": "al-Baqarah",
"pageGreen": 2
},
{
@mr-islam
mr-islam / quranSplit.py
Created May 10, 2018 18:54
splits pdf of Qurān to jpegs — will be used in upcoming project
import os
x = 0
while x < 604:
print (str(x)+'doing')
os.system("convert -density 150 ar_Mushaf_AlMadinah_new_TruePDF.pdf["+str(x)+"] -verbose output/"+str(x)+".png")
x += 1
print ('alhamduliLlah')