function uuid(){ var len=32; //32长度 var radix=16; //16进制 var chars='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split(''); var uuid=[],i; radix=radix || chars.length; if(len){ for(i=0;i<len;i++){ uuid[i]=chars[0 | Math.random()*ra…
int radomInt = new Random().nextInt(999999) @org.junit.Test public void testName() throws Exception { Random random = new Random(); float radomInt = random.nextInt(999); System.out.println(radomInt == 0 ? "000" : (radomInt<100 ? String.valueO…
import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class MD5 { public static void main(String[] args) { MD5 md5 = new MD5(); String ss = md5.encryption("10012843443"); System.err.print(ss); } public String…
一开始用pip install -r requirements.txt 报错:OSError: could not find or load spatialindex_c.dll 1)从以下链接下载编译好的spatialindex_c.dll(注意:解压缩后选择与python 位数相同的dll) libspatialindex-1.8.1-win-msvc-2008-x64-x32.zip 似乎不行.报错:AttributeError: function 'Error_GetLastErrorN…