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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Page Title</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<style> | |
#byte_content { |
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
body { | |
font-family: "Source Sans Pro", "Helvetica Neue", Vazir, Helvetica, Arial, sans-serif | |
} | |
.diff-file .notes_holder { | |
font-family: "Source Sans Pro", "Helvetica Neue", Vazir, Helvetica, Arial, sans-serif | |
} | |
ul.notes .timeline-icon { | |
float: right; |
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
function persian_alphabetic_compare(s1, s2) { | |
const persian_alphabet_fix_map = { | |
'ؤ': 1608.5, | |
'ئ': 1609.5, | |
'پ': 1577, | |
'ة': 1607.5, | |
'ژ': 1586.5, | |
'ک': 1603, | |
'چ': 1580.5, | |
'گ': 1603.5, |
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
pre { | |
direction: ltr; | |
} | |
body, button, html, input, select, textarea { | |
font-family: "Helvetica Neue", Vazir, Arial, Helvetica, sans; | |
} | |
.comment-container { | |
line-height: 1.5em; |
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
function retryable(fn, n) { | |
return fn().then( | |
undefined, | |
function(err) { | |
if (n > 0) | |
return retryable(fn, n - 1); | |
throw err; | |
} | |
) |
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
'use strict'; | |
var isbn_groups = { | |
'964': [ | |
[0, 14, 2], | |
[150, 249, 3], | |
[300, 549, 3], | |
[970, 989, 3], | |
[2500, 2999, 4], | |
[5500, 8999, 4], |
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
"use strict"; | |
webioxApp.directive("fineuploaderCopy", ["$parse", function ($parse) { | |
return { | |
strict: "A", | |
require: "?ngModel", | |
scope: { | |
model: "=ngModel" | |
}, | |
link: function (scope, element, attrs, ngModel) { |
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
// | |
// main.cpp | |
// cpp-read-files | |
// | |
// Created by Abbas Mashayekh on 10/1/1393 AP. | |
// Copyright (c) 1393 Abbas Mashayekh. All rights reserved. | |
// | |
#include <iostream> | |
#include <dirent.h> |
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 hazm import Normalizer | |
from zipfile import ZipFile | |
import argparse | |
import binascii | |
import re | |
import os | |
import shutil | |
parser = argparse.ArgumentParser(description='Normalizes input text files.') |
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
/* This will run async without creating intermediate arrays. */ | |
function* makeGeneratorFromArray(array){ | |
var nextIndex = 0; | |
while(nextIndex < array.length) { | |
yield array[nextIndex++]; | |
} | |
} |
NewerOlder