View hw2.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from random import shuffle | |
import heapq | |
def main(): | |
# puzzles = [] | |
# while len(puzzles) < 100: | |
# puzzles.append(generate_solvable_puzzle()) | |
node = Node(generate_solvable_puzzle(), None) | |
print(node) |
View htmlToDbArapca.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: UTF-8 -*- | |
import sqlite3 | |
from sqlite3 import Error | |
import urllib | |
import HTMLParser | |
import html2text | |
import re | |
from os import listdir | |
from os.path import isfile, join | |
from collections import Counter |
View ABHArabicDiacritics.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ae.ftech.quraan.Utility.arabicfont; | |
import android.graphics.Color; | |
import android.text.SpannableString; | |
import android.text.Spanned; | |
import android.text.style.ForegroundColorSpan; | |
/** | |
* Created by arshadbinhamza on 11/27/16. | |
*/ |