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 / 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')
@mr-islam
mr-islam / surah.js
Last active April 20, 2024 07:06
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
},
{