- 实词:名词、动词、形容词、状态词、区别词、数词、量词、代词
- 虚词:副词、介词、连词、助词、拟声词、叹词。
n 名词
nr 人名
#!/bin/sh -e | |
hostname=$1 | |
device=$2 | |
v6_file=/tmp/.dynv6-"$hostname".addr6 | |
v4_file=/tmp/.dynv6-"$hostname".addr4 | |
[ -e $v6_file ] && v6_old=`cat $v6_file` | |
[ -e $v4_file ] && v4_old=`cat $v4_file` | |
if [ -z "$hostname" -o -z "$token" ]; then | |
echo "Usage: token=<your-authentication-token> [netmask=64] $0 your-name.dynv6.net [device]" |
# enable mouse mode | |
#set -g mode-mouse on | |
#set -g mouse-resize-pane on | |
#set -g mouse-select-pane on | |
#set -g mouse-select-window on | |
# set prefix Ctrl+k | |
set -g prefix ^k | |
# unbind prefix Ctrl+b | |
unbind ^b |
#!/usr/bin/env python | |
# coding:utf-8 | |
import time | |
import requests | |
session = requests.Session() | |
base_url = 'http://m.yunfarm.cn' | |
# login |
#!/usr/bin/env python | |
# coding:utf-8 | |
import re | |
import math | |
import urllib2 | |
def fetch_ip_data(): | |
#fetch data from apnic |
#!/usr/bin/env | |
# encoding:utf-8 | |
import socket | |
import argparse | |
def check(host, port): | |
io = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) | |
io.settimeout(0.5) |
######################### | |
# .gitignore file for Xcode4 / OS X Source projects | |
# | |
# Version 2.0 | |
# For latest version, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects | |
# | |
# 2013 updates: | |
# - fixed the broken "save personal Schemes" | |
# | |
# NB: if you are storing "built" products, this WILL NOT WORK, |