Как сменить user-agent в firefox
about:config
Там добавляем новый строковый тип конфига
general.useragent.override
4 ноября 2014, 07:12
about:config
general.useragent.override
sudo -i
sudo su -
http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx
sudo sh amd*.run
sudo gedit /etc/ati/signature
9777c589791007f4aeef06c922ad54a2:ae59f5b9572136d99fdd36f0109d358fa643f2bd4a2644d9efbb4fe91a9f6590a145:f612f0b01f2565cd9bd834f8119b309bae11a1ed4a2661c49fdf3fad11986cc4f641f1ba1f2265909a8e34ff1699309bf211a7eb4d7662cd9f8e3faf14986d92f646f1bc
sudo apt-get purge openjdk* sudo apt-get install python-software-properties sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer
sudo ./phpstorm.sh
ssh-add ~/.ssh/id_rsa
find /home -name "*.php" -o -name "*.html" find /home -regextype posix-egrep -regex ".*\.(php|html)$"
$("#test").mouseenter(); $('#test').mouseleave();
var el = document.getElementById('test'); var ev = document.createEvent("MouseEvent"); ev.initMouseEvent( "mouseover", true /* bubble */, true /* cancelable */, window, null, 0, 0, 0, 0, /* coordinates */ false, false, false, false, /* modifier keys */ 0 /*left*/, null ); el.dispatchEvent(ev); var ev = document.createEvent("MouseEvent"); ev.initMouseEvent( "mouseout", true /* bubble */, true /* cancelable */, window, null, 0, 0, 0, 0, /* coordinates */ false, false, false, false, /* modifier keys */ 0 /*left*/, null ); el.dispatchEvent(ev);
http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer
HKEY_CURRENT_USER\SoftWare\SimonTatham\PuTTY\SshHostKeys
unlzma file.tar.lzma
tar -xvf file.tar
rm -rf /var/db/portsnap mkdir /var/db/portsnap portsnap fetch extract
pear channel-update pear.php.net pear upgrade-all pear channel-discover pear.phpunit.de pear channel-discover components.ez.no pear channel-discover pear.symfony-project.com pear update-channels pear install --alldeps --force phpunit/PHPUnit
pear channel-discover pear.symfony.com pear install pear.symfony.com/Yaml
pear install --alldeps --force phpunit/PHPUnit
phpunit -v
pear install phpunit/PHPUnit_Story pear install phpunit/DbUnit pear install phpunit/PHPUnit_Selenium
cd \php\PEAR php -d phar.require_hash=0 go-pear.phar
<?php $begin = new DateTime( '2013-04-01' ); $end = new DateTime( '2013-04-07'); $interval = DateInterval::createFromDateString('tomorrow'); $period = new DatePeriod($begin, $interval, $end, DatePeriod::EXCLUDE_START_DATE); foreach ( $period as $dt ) { echo $dt->format( "Y-m-d" ), "\n"; }
pkg_delete -f -a
if [-f /tmp/foo.txt ] then echo file exists fi
RewriteEngine on Options +FollowSymLinks RewriteCond %{HTTP_HOST} ^www\.site\.ru RewriteRule ^(.*)$ http://site.ru/$1 [R=301,L]
yum install hdparm
hdparm -I /dev/sd?|grep -E "Number|/dev"
http://php.net/downloads.php
C:\php
http://nginx.org/ru/download.html
C:\nginx
start c:\nginx\nginx.exe start c:\php\php-cgi.exe -b 127.0.0.1:9000 -c c:\php\php.ini exit
taskkill /f /IM nginx.exe taskkill /f /IM php-cgi.exe exit
#user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; charset utf-8; #log_format main '$remote_addr - $remote_user [$time_local] "$request" ' # '$status $body_bytes_sent "$http_referer" ' # '"$http_user_agent" "$http_x_forwarded_for"'; #access_log logs/access.log main; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; server_names_hash_bucket_size 64; server { listen 80; server_name localhost; charset utf-8; #DOCUMENT_ROOT нашего веб-сервера root C:/www; #индексная директория location / { index index.php index.html index.htm; } #обработчик для php файлов location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; fastcgi_intercept_errors on; } #скрываем все файлы которые начинаются с точки location ~ /\. { deny all; access_log off; log_not_found off; } } }
<?php phpinfo(); ?>
http://localhost/index.php
sendmail_enable="NONE" sendmail_submit_enable="NO" sendmail_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO"
NO_SENDMAIL=true
cp /etc/defaults/periodic.conf /etc/periodic.conf
_output="root" меняем на _output="/dev/null"