- 实词:名词、动词、形容词、状态词、区别词、数词、量词、代词
- 虚词:副词、介词、连词、助词、拟声词、叹词。
n 名词
nr 人名
:: Set primary and alternate DNS for IPv4 on Windows Server 2000/2003/2008 & | |
:: Windows XP/Vista/7 | |
@ECHO OFF | |
SETLOCAL EnableDelayedExpansion | |
SET adapterName= | |
FOR /F "tokens=* delims=:" %%a IN ('IPCONFIG ^| FIND /I "ETHERNET ADAPTER"') DO ( | |
SET adapterName=%%a |
<?php | |
/** | |
* Batch Mockup | |
* | |
* I placed this in my BaseController.php file | |
* | |
* @usage | |
* $batch = new Batch('stats'); | |
* $batch->columns = ['score', 'name']; | |
* $batch->data = [ |
#!/bin/bash | |
yum groupinstall 'Development tools' -y | |
yum install ncurses ncurses-devel wget git -y | |
cd /usr/local/src | |
wget ftp://ftp.vim.org/pub/vim/unix/vim-7.4.tar.bz2 | |
tar -xjf vim-7.4.tar.bz2 | |
cd vim74 | |
./configure --prefix=/usr --with-features=huge --enable-rubyinterp --enable-pythoninterp | |
make && make install |
package main | |
import ( | |
"fmt" | |
"net" | |
"time" | |
) | |
func main() { | |
conn, err := net.DialTimeout("tcp", "ns1.dnspod.net:6666", time.Second*2) |
#user nobody; | |
worker_processes 8; | |
worker_cpu_affinity 00000001 00000010 00000100 00001000 00010000 00100000 01000000 10000000; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; |
# changes from http://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening/ | |
# Protect ICMP attacks | |
net.ipv4.icmp_echo_ignore_broadcasts = 1 | |
# Turn on protection for bad icmp error messages | |
net.ipv4.icmp_ignore_bogus_error_responses = 1 | |
# Turn on syncookies for SYN flood attack protection | |
net.ipv4.tcp_syncookies = 1 |