This file contains hidden or 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
// Greek Tax Registration Number Validation (AFM) | |
// Αλγόριθμος ορθότητας ΑΦΜ | |
function validateAFM(afm) { | |
if (!afm.match(/^\d{9}$/) || afm == '000000000') | |
return false; | |
var m = 1, sum = 0; | |
for (var i = 7; i >= 0; i--) { | |
m *= 2; | |
sum += afm.charAt(i) * m; |
This file contains hidden or 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
<!-- | |
File name: Waher-style.xml | |
Style Name: Waher-style | |
Description: Custom style for Notepad++ | |
Inspired by the Jani Kesanen modification of and the original Zenburn colorscheme for Vim by Jani Nurminen. | |
Supported languages: PHP,MySQL,Javascript,XML,HTML,CSS,INI | |
Created by: Kristo Vaher ([email protected]) | |
Released: 04.05.2010 | |
License: GNU Free License. |
NewerOlder