- 实词:名词、动词、形容词、状态词、区别词、数词、量词、代词
- 虚词:副词、介词、连词、助词、拟声词、叹词。
n 名词
nr 人名
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from ldbg_jsonrpc import client | |
import sys | |
import uuid | |
if __name__ == "__main__": | |
c = client.Client("localhost", 4700) | |
c.connect() | |
c.init_channel({ |
# You Should be able to Copy and Paste this into a powershell terminal and it should just work. | |
# To end the loop you have to kill the powershell terminal. ctrl-c wont work :/ | |
# Http Server | |
$http = [System.Net.HttpListener]::new() | |
# Hostname and port to listen on | |
$http.Prefixes.Add("http://localhost:8080/") |
#!/bin/bash | |
# Use ss-redir to proxy all tcp connections. | |
RED='\033[0;31m' | |
NC='\033[0m' | |
# Options for ss-redir. | |
SERVER="233.com.cn" | |
PORT="" | |
METHOD="chacha20" |
#!/bin/zsh | |
uuid=`uuidgen -t` | |
text1=`echo $uuid | sed "s/-//g"` | |
text2="YourPhoneNumberHere" | |
number=0 | |
for ((i=0;i<3;++i)); do; | |
number=$((number + $(printf '%d ' "'${text1:$i:1}"))) | |
done |
APK is pulled from Nexus6p and dumped with `aapt dump permissions base.apk` | |
package: com.eg.android.AlipayGphone | |
uses-permission: name='com.alipay.permission.ALIPAY_UPDATE_CREDENTIALS' | |
uses-permission: name='com.android.launcher.permission.INSTALL_SHORTCUT' | |
uses-permission: name='android.permission.BLUETOOTH' | |
uses-permission: name='android.permission.CHANGE_WIFI_STATE' | |
uses-permission: name='android.permission.CAMERA' | |
uses-permission: name='android.permission.ACCESS_NETWORK_STATE' | |
uses-permission: name='android.permission.MODIFY_AUDIO_SETTINGS' |
[General] | |
skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local, ::ffff:0:0:0:0/1, ::ffff:128:0:0:0/1 | |
bypass-tun = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 | |
# dns-server = 119.29.29.29, 223.5.5.5, 114.114.114.114 | |
loglevel = notify | |
[Proxy] | |
BJ-All = custom | |
BJ-HK-Azure = custom | |
BJ-US-Azure = custom |
#!/usr/bin/env python | |
#coding=utf-8 | |
# | |
# Generate a list of dnsmasq rules with ipset for gfwlist | |
# | |
# Copyright (C) 2014 http://www.shuyz.com | |
# Ref https://code.google.com/p/autoproxy-gfwlist/wiki/Rules | |
import urllib2 | |
import re |
var https = require('https'), | |
user = process.argv[2], | |
opts = parseOpts(process.argv.slice(3)) | |
request('/users/' + user, function (res) { | |
if (!res.public_repos) { | |
console.log(res.message) | |
return | |
} | |
var pages = Math.ceil(res.public_repos / 100), |
# Change Java Runtime: | |
sudo update-alternatives --config java | |
# Delete Open-JDK | |
sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\* | |
# Change fonts - remove hinting: | |
http://askubuntu.com/questions/32624/ugly-fonts-in-netbeans-how-can-i-make-it-use-the-system-font | |
# Change RubyMine AntiAliasing first: |