No STRING ģenerē HTML krāsas kodu
function stringToColorCode($str) {
$code = dechex(crc32($str));
$code = substr($code, 0, 6);
return $code;
}
No STRING ģenerē HTML krāsas kodu
function stringToColorCode($str) {
$code = dechex(crc32($str));
$code = substr($code, 0, 6);
return $code;
}
#!/bin/bash
FILES=/home/john/something/*
for f in $FILES
do
replaceit --input=$f "ko" "ar_ko"
done
* nepieciešams uzinstalēt replaceit pakotni