字最少的汉字编码,里面的也就是最常用的。在这个字符集里的不可能是生僻字。
辨别方式:
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>jGrowl</title> | |
| <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jquery-jgrowl/1.2.12/jquery.jgrowl.min.css" /> | |
| <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
| <script src="//cdnjs.cloudflare.com/ajax/libs/jquery-jgrowl/1.2.12/jquery.jgrowl.min.js"></script> | |
| <script type="text/javascript"> | |
| (function($){ | |
| $(function(){ |
| <?php | |
| namespace PHPSTORM_META { | |
| /** | |
| * PhpStorm Meta file, to provide autocomplete information for PhpStorm | |
| * Generated on 2016-07-18. | |
| * | |
| * @author Barry vd. Heuvel <[email protected]> | |
| * @see https://github.com/barryvdh/laravel-ide-helper | |
| */ |
| -- fct to simulate a switch | |
| function switch(t) | |
| t.case = function (self,x) | |
| local f=self[x] or self.default | |
| if f then | |
| if type(f)=="function" then | |
| f(x,self) | |
| else | |
| error("case "..tostring(x).." not a function") | |
| end |
| /*! jQuery v2.1.1-rc2 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ | |
| !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.1-rc2",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a |
| #!/bin/bash | |
| set -e | |
| temporary="$(mktemp -d -t doc2dash_python-2.7ja)" | |
| trap 'rm -rf "${temporary}"' EXIT ERR | |
| cd "${temporary}" | |
| virtualenv . | |
| . ./bin/activate |
| from sqlalchemy import create_engine, MetaData, Table | |
| from sqlalchemy.orm import sessionmaker | |
| from sqlalchemy.ext.declarative import declarative_base | |
| from multiprocessing.util import register_after_fork | |
| Base = declarative_base() | |
| from selenium import webdriver | |
| import time | |
| import random | |
| import numpy as np | |
| browser = webdriver.Chrome() | |
| browser.get('https://www.quora.com/login') | |
| raw_input('You need to log in in the browser window. Hit enter here when finished...') |
| def find(key, dictionary): | |
| for k, v in dictionary.iteritems(): | |
| if k == key: | |
| yield v | |
| elif isinstance(v, dict): | |
| for result in find(key, v): | |
| yield result | |
| elif isinstance(v, list): | |
| for d in v: | |
| for result in find(key, d): |