VladimirKheifets / Java-Script-library-CompactDOM
The library helps to access the DOM elements,provides the ability to access the attributes and content of elements and manipulate elements.
Java Script library CompactDOM Version: 1.2.2, 2021-04-08 Author: Vladimir Kheifets (kheifets.vladimir@online.de) Copyright (c) 2021 Vladimir Kheifets All Rights Reserved The library helps to access the DOM elements,provides the ability to access the attributes and content of elements and manipulate elements. Browser support: Chrome 4.0, Internet Explorer 9.0, Edge,Firefox 3.5, Safari 3.2, Opera 10.0 Size of the current version (file CompactDOM.min.js) 7.5Kb Demo: https://www.alto-booking.com/demo/github/CompactDOM/ https://www.alto-booking.com/demo/github/CaesarCipher/ After loading the library, the following syntax construction (Backus-Naur-Form) becomes available: _(<selector>).<method>([<parameter>[, <parameter>[, ... <parameter>]]])[.<property>]; <selector> :: = <null> | <object element DOM> | <string CSS Selector> Attention! In some cases, when calling a method, it is allowed not to specify a selector (null) and instead of opening and closing parentheses, you can write one underscore character. _().<metod>(...) equivalent to: __.<metod>(...) If <selector> defines an HTMLCollection object, then all methods marked with (*) are applied for array-like list (collection) of HTML elements. <method> :: = "attribute"|"change"|"checked"|"class"|"click"|"content"|"create"|display"|…
The CompactDOM script is applied here:
VladimirKheifets / PHP-class-CaesarCipher
The class is intended for the statistical analysis of texts in various languages, encryption and decryption of texts using the "Caesar Cipher" algorithm.
PHP class CaesarCipher
Version: 1.2, 2021-04-01
Author: Vladimir Kheifets (vladimir.kheifets@online.de)
Copyright (c) 2021 Vladimir Kheifets All Rights Reserved
The class is intended for the statistical analysis of texts in various languages encryption and decryption of texts using the "Caesar Cipher" algorithm.
Demo https://www.alto-booking.com/demo/github/CaesarCipher/
$CaesarСipher = new CaesarCipher (array | null $alphabet_frequency, int | null $min_frequency);
"alphabet_frequency", array, an array in which keys, string, alphabet character values, character frequency in% (statistical estimation of character recurrence frequency in texts)
For example, for the alphabet of Latin language (obtained by the GetCharacterFrequency method, see section 5 below)
Array (
[] => 15.134
[a] => 8.104
[b] => 1.502
[c] => 3.341
[d] => 2.161
[e] => 9.741
[f] => 0.817
[g] => 0.919
[h] => 0.493
[i] => 9.91
[k] => 0.004
[l] => 2.937
[m] => 4.654
[n] => 4.936
[o] => 4.612
[p] => 2.549
[q] => 1.532
[r]
…
Top comments (0)