Стих
4 ноября 2014, 07:12
http { map $http_user_agent $limit_bots { default ''; ~*(google|bing|yandex|msnbot) $binary_remote_addr; } limit_req_zone $limit_bots zone=bots:10m rate=1r/m; server { location / { limit_req zone=bots burst=5 nodelay; } } }
http://www.android.com/filetransfer/
deb http://http.debian.net/debian wheezy main deb-src http://http.debian.net/debian wheezy main deb http://http.debian.net/debian wheezy-updates main deb-src http://http.debian.net/debian wheezy-updates main deb http://security.debian.org/ wheezy/updates main deb-src http://security.debian.org/ wheezy/updates main
LANG=en_EN LANGUAGE=en_EN:en
mysql> SHOW VARIABLES LIKE "general_log%"; +------------------+----------------------------+ | Variable_name | Value | +------------------+----------------------------+ | general_log | OFF | | general_log_file | /var/run/mysqld/mysqld.log | +------------------+----------------------------+
mysql> SET GLOBAL general_log = 'ON'; SET GLOBAL general_log_file = 'C:\\log\\mysql.log';
mysql> SET GLOBAL general_log = 'OFF';
tar -tf file.tar.gz
freebsd-update fetch install
yum install php
wget -q -O - http://www.atomicorp.com/installers/atomic | sh
yum install php
yum install php php-fpm php-mysql php-gd php-mbstring php-mcrypt php-xml
wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo
yum install apache-maven
ln -s /usr/share/apache-maven/bin/mvn /usr/bin/mvn
apt-get update apt-get upgrade apt-get install openjdk-7-jre-headless java -version
<?php $pdo = new PDO(); $res = $pdo->exec("DROP DATABASE IF EXISTS `testDB`"); $res = $pdo->exec("CREATE DATABASE `testDB`"); $tables = $pdo->query("SHOW TABLES FROM `developDB`"); $tables = $tables->fetchAll(PDO::FETCH_COLUMN, 0); foreach ($tables as $table) { $res = $pdo->exec("CREATE TABLE `$table ` LIKE `developDB`.`$table`"); }
- МТС: наберите на Вашем телефоне *112# кнопка "вызов", или *111*0887#кнопка "вызов", или позвоните по номеру 0887 автоинформатора. - Билайн: *110*10# вызов. - Мегафон: *127# кнопка "вызов" или *111# кнопка "вызов" => «Вспомнить тариф/номер». - Теле2: *201# кнопка "вызов". - Смартс: *130# кнопка "вызов" или *127#кнопка "вызов". - НСС: *111# кнопка "вызов". Найдите в меню "Узнать номер". - UTel: -*110# кнопка "вызов". - БайкалВестКом *100*7# кнопка "вызов".
cd /usr/ports/devel/maven3 make install clean
mvn -version Apache Maven 3.0.4 (r1232337; 2012-01-17 12:44:56+0400)
/usr/ports/java/openjdk7 make install clean
java -version openjdk version "1.7.0_25" OpenJDK Runtime Environment (build 1.7.0_25-b15) OpenJDK 64-Bit Server VM (build 23.21-b01, mixed mode)
openssl req -new -x509 -nodes -newkey rsa:1024 -days 3650 -keyout privkey.pem -out server.pem -subj "/C=UA/ST=CH/L=CHERKASSY/O=CK/OU=CK/CN=domain.ltd/emailAddress=admin@domain.ltd"
sudo add-apt-repository ppa:attente/modifier-only-input-switch sudo apt-get update sudo apt-get upgrade
screen top Ctrl+A d
Boot in single mode
mount -u / mount /usr mount -a passwd
<?php $ch = curl_init('http://example.com/file.mp4'); curl_setopt($ch, CURLOPT_RANGE, '0-1000'); curl_exec($ch);