- Select block
- CMD + ]
Format block
- Select block
- CMD + K, F
:sp# opens another file in a vertical window :vs # opens another file in a horizontal window
set number syntax on set tabstop=2 set shiftwidth=2 set autoindent set cursorline highlight CursorLine term=bold cterm=bold ctermbg=DarkBlue set expandtab set showmatch
PS1="\n\[\e[30;1m\](\[\e[34;1m\]\u@\[\e[32;1m\]\h\[\e[30;1m\])-(\[\e[31;1m\]\t\[\e[30;1m\])-(\[\[\e[32;1m\]\w\[\e[30;1m\])\[\e[30;1m\]\n(jobs:\[\e[34;1m\]\j\[\e[30;1m\])\`if [ \$? -eq 0 ]; then echo \[\e[32m\] \(^_^\); else echo \[\e[31m\] \(o\.O\) ; fi\`\[\e[0m\] $ "
varnishlog -c -m"VCL_call:hit" | grep RxURL varnishlog -c -m"VCL_call:miss" | grep RxURL varnishlog -a -w /tmp/varnish.log varnishlog -r /tmp/varnish.log varnishlog -i RxHeader -I Cookie varnishtop -i RxHeader -I \^User-Agent varnishtop -i RxRequest varnishtop -i RxHeader -I \^Host varnishtop -i RxHeader -I Cookie
$days = ($month == 2 ? ($year % 4 ? 28 : ($year % 100 ? 29 : ($year %400 ? 28 : 29))) : (($month - 1) % 7 % 2 ? 30 : 31));
wget 'http://www.atoomnet.net/./php/php-5.2.17/php-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-bcmath-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-cli-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-common-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-dba-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-devel-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-eaccelerator-5.2.17_0.9.6.1-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-gd-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-imap-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-ldap-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-mbstring-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-mcrypt-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-mhash-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-mssql-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-mysql-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-ncurses-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-odbc-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-pdo-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-pgsql-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-readline-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-snmp-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-soap-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-tidy-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-xml-5.2.17-1.x86_64.rpm' wget 'http://www.atoomnet.net/./php/php-5.2.17/php-xmlrpc-5.2.17-1.x86_64.rpm' yum -y install autoconf automake net-snmp libc-client libmcrypt libmhash libsybdb unixODBC freetds mysql-server rpm -Uvh *.rpm
mac-address-table static 1caf.f735.411e vlan 1 drop
rommon #1>confreg 0x41
rommon #2>boot
ciscoasa > en [when asked for password just press enter]
ciscoasa # conf t
ciscoasa (config)# config-register 0x01
ciscoasa (config)# copy run start
ciscoasa (config)# reload