{$var|@var_dump}
{$var|@debug_print_var}
{php}
$var = $this->get_template_vars('var');
var_dump($var);
{/php}
$str = '';
$isRange = false;
for( $i = 0, $length = count( $myArray ); $i < $length; $i++ ) {
if( isset($myArray[ $i + 1 ] ) ) {
if( $myArray[ $i + 1 ] == $myArray[ $i ] + 1 ) {
if( $isRange ) {
continue;
}
$str .= $myArray[ $i ] . '-';
$isRange = true;
}
else {
$isRange = false;
$str .= $myArray[ $i ] . ',';
}
}
else {
$str .= $myArray[ $i ];
}
}
echo $str;
edid=`get-edid | parse-edid`
echo -e "${edid}" | grep 'DisplaySize' | awk '{print $2"x"$3}'
340х190
/([\d:]+) ([\d\/]+).* (sip:.*|\d{1,}),.* (sip:.*|\d{1,})\.\n.* (\d{1,})/g
open $TMPDIR../C/com.apple.appstore