https://github.com/mhf-ir/chasersample
var samples = [
{
name: 'b',
ranking: 1,
<?php declare(strict_types=1); | |
namespace MyApp\Container; | |
use Doctrine\MongoDB\Connection; | |
use Doctrine\ODM\MongoDB\Configuration; | |
use Doctrine\ODM\MongoDB\DocumentManager; | |
use Doctrine\ODM\MongoDB\Mapping\Driver\AnnotationDriver; | |
AnnotationDriver::registerAnnotationClasses(); |
function iso7064Mod97_10(iban) { | |
var remainder = iban, | |
block; | |
while (remainder.length > 2){ | |
block = remainder.slice(0, 9); | |
remainder = parseInt(block, 10) % 97 + remainder.slice(block.length); | |
} | |
return parseInt(remainder, 10) % 97; |
https://github.com/mhf-ir/chasersample
var samples = [
{
name: 'b',
ranking: 1,
{ | |
"personalities": [ | |
"raid1", | |
"raid0", | |
"linear", | |
"multipath", | |
"raid6", | |
"raid5", | |
"raid4", | |
"raid10" |
/** | |
* Iranian identity card validation | |
* اعتبار سنجی کد ملی ایرانی | |
* | |
* @param {string|integer} value | |
* @returns {boolean} | |
*/ | |
const iranianIdentityCardValidation = (value) => { | |
if (typeof value === 'undefined' || !value) { | |
return false; |
vouch: | |
logLevel: debug | |
testing: true | |
listen: 0.0.0.0 | |
port: 19090 | |
AllowAllUsers: true | |
domains: | |
- example.tld | |
- app.example.tld | |
- vouch.example.tld |
{"level":"debug","ts":1581072117.4029663,"msg":"logLevel set to debug"} | |
{"level":"warn","ts":1581072117.4030857,"msg":"generating random session.key"} | |
{"level":"info","ts":1581072117.4031963,"msg":"configuring ADFS OAuth"} | |
{"level":"info","ts":1581072117.4032087,"msg":"configuring adfs OAuth with Endpoint https://adfs.example.tld/adfs/oauth2/authorize/"} | |
{"level":"debug","ts":1581072117.4032269,"msg":"vouch.jwt.secret is 44 characters long"} | |
{"level":"debug","ts":1581072117.403232,"msg":"vouch.session.key is 44 characters long"} | |
{"level":"debug","ts":1581072117.403245,"msg":"checking availability of tcp port: 0.0.0.0:19090"} | |
{"level":"debug","ts":1581072117.4112332,"msg":"viper settings map[vouch:map[db:map[file:/db/vouch_bolt.db] loglevel:debug headers:map[jwt:X-Vouch-Token querystring:access_token redirect:X-Vouch-Requested-URI idtoken:X-Vouch-IdP-IdToken] port:19090 cookie:map[name:VouchCookie domain:example.tld secure:false] allowallusers:true listen:0.0.0.0 jwt:map[secret:54V2jDpTQs7AfaoNOI/6J7quwyIvGLn4 |
My name is Muhammad Hussein fattahizadeh my website is mhf.ir
<?php | |
// Characters added via ICU | |
// https://github.com/unicode-cldr/cldr-misc-modern/blob/master/main/fa/characters.json#L10 | |
// | |
// must be duplicate | |
$a = " | |
آابپتثجچهخدذرزژسشصضطظعغفقکگلمنوهیآابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهیآاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی | |
"; |
#!/bin/bash | |
openssl list -digest-algorithms | while read line | |
do | |
ALG=$(echo $line | awk '{ print $1 }') | |
echo $ALG | |
RES=$(echo "1" | openssl $ALG | awk '{print $NF}') | |
echo $RES | |
echo "size is ${#RES}" | |
echo "=====" |