- 实词:名词、动词、形容词、状态词、区别词、数词、量词、代词
- 虚词:副词、介词、连词、助词、拟声词、叹词。
n 名词
nr 人名
package main | |
import ( | |
"encoding/json" | |
"flag" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"os" | |
"strings" |
package main | |
import ( | |
"crypto/aes" | |
"encoding/base64" | |
"fmt" | |
"log" | |
"github.com/kierdavis/cfb8" | |
) |
package main | |
import ( | |
"encoding/json" | |
"io/ioutil" | |
"log" | |
"net/http" | |
"net/url" | |
"strconv" | |
"sync" |
#!/bin/bash | |
# $1 like 127.0.0.1:27029 | |
mongoUrl=$1 | |
querydb="echo 'show dbs;'| mongo "$mongoUrl" |awk '{if (NR>2 && NF==2){print \$1}}'" | |
dbs=`eval $querydb` | |
for db in $dbs; do | |
mongodump -h $mongoUrl -d $db -o ./ | |
done |
"use strict"; | |
var url = require('url'); | |
var port, server, service, | |
system = require('system'); | |
var webpage = require('webpage'); | |
function main() { | |
if (system.args.length !== 2) { | |
console.log('Usage: serverkeepalive.js <portnumber>'); |
"use strict"; | |
var url = require('url'); | |
var port, server, service, | |
system = require('system'); | |
var webpage = require('webpage'); | |
function main() { | |
if (system.args.length !== 2) { | |
console.log('Usage: serverkeepalive.js <portnumber>'); |
"use strict"; | |
var page = require('webpage').create(), | |
system = require('system'), | |
address, output, size; | |
address = system.args[1]; | |
output = system.args[2]; | |
page.onLoadFinished = function() { |
package net | |
import ( | |
"errors" | |
"net" | |
"strings" | |
"time" | |
) | |
// 给定网卡名称,获取该网卡出口链接 |
""" | |
web.py - specify address and port | |
""" | |
import web | |
class MyApplication(web.application): | |
def run(self, port=8080, *middleware): | |
func = self.wsgifunc(*middleware) | |
return web.httpserver.runsimple(func, ('0.0.0.0', port)) |