Digital and analog television standards resolution reference.
Standard | Resolution (dots × lines) | DAR (H:V) | Pixels |
---|---|---|---|
PixelVision | 120 × 90 | 4:3 | 10,800 |
#!/bin/bash | |
######################################## | |
# MySQL | MariaDB autologin | |
# License: GNU GPL v3+ | |
# Author: Valerio Bozzolan | |
######################################## | |
file=/etc/mysql/debian.cnf | |
while [ -z "$user" ] && read ln; do |
ffmpeg -i video.mp4 -f mp3 -ab 192000 -vn music.mp3
The -i option in the above command is simple: it is the path to the input file. The second option -f mp3 tells ffmpeg that the ouput is in mp3 format. The third option i.e -ab 192000 tells ffmpeg that we want the output to be encoded at 192Kbps and -vn tells ffmpeg that we dont want video. The last param is the name of the output file.
Скачиваем сфинкс (берем версию с MySQL и со стеммингом на 15 языков Win32 binaries w/MySQL+PgSQL+libstemmer+id64 support соответствующую битности твоей ОС), распаковываем например в d:\temp\s\
На этом установка sphinx завершена. В дебиане просто делаем sudo apt-get install sphinxsearch
.
Создаем таблицы:
CREATE TABLE news
(id INT(10) AUTO_INCREMENT PRIMARY KEY, topic INT(10) NOT NULL, header VARCHAR(200) NOT NULL,
<?php | |
/* | |
echo plural_form(42, array('арбуз', 'арбуза', 'арбузов')); | |
*/ | |
function plural_form($n, $forms) { | |
return $n%10==1&&$n%100!=11?$forms[0]:($n%10>=2&&$n%10<=4&&($n%100<10||$n%100>=20)?$forms[1]:$forms[2]); | |
} |
<?php | |
/** | |
* @name Aunt Asya has arrived =) | |
* @author M1zh0rY | |
* @category js clear script | |
* Infected Script: | |
* JS/Agent.* (all, ESET) | |
* JS/Kryptik.LP (ESET) | |
* Trojan:JS/BlacoleRef.BC (MCE) | |
* @license GNU |
/** | |
* Convert a comma separated file into an associated array. | |
* The first row must contain the array keys. | |
* Return something like this: | |
* Array | |
( | |
[0] => Array | |
( | |
[name] => Lorem | |
[number] => 11 |