码迷,mamicode.com
首页 >  
搜索关键字:time out    ( 87642个结果
图片下载的两种方式Thread和Callable
图片下载 //练习Thread,实现多线程同步下载图片 public class ThreadTest2 extends Thread{ private String url; private String name; public ThreadTest2(String url,String nam ...
分类:其他好文   时间:2021-01-02 10:53:02    阅读次数:0
打包apk输出自定义文件名称
android { ...... buildTypes { ...... android.applicationVariants.all { variant -> variant.outputs.all { outputFileName = "name_v${variant.versionName} ...
分类:其他好文   时间:2021-01-02 10:49:20    阅读次数:0
动手动脑
public class EnumTest { public static void main(String[] args) { Size s=Size.SMALL; Size t=Size.LARGE; //s和t引用同一个对象? System.out.println(s==t); // //是原 ...
分类:其他好文   时间:2021-01-02 10:48:34    阅读次数:0
简单的打印三角形
public static void main(String[] args) { //打印三角形 5行 for (int i = 1; i <= 5; i++) { for (int j=5;j>=i;j--){ System.out.print(" "); } for (int j = 1; j ...
分类:其他好文   时间:2021-01-02 10:29:54    阅读次数:0
python + BeautifulSoup + selenium 实现爬取中医智库的古籍分类的数据
爬取内容为 该图片下的七个分类, 然后对应的每个种类的书本信息(摘要和目录) 效果为 代码如下 import requests from bs4 import BeautifulSoup import re import time from selenium import webdriver fro ...
分类:编程语言   时间:2021-01-01 12:57:34    阅读次数:0
this关键字详解
this关键字代指当前对象,可在方法中区分全局变量和局部变量 public class ThisTest { private int age; public ThisTest(){ System.out.println("我是空参"); } public ThisTest(int age){ thi ...
分类:其他好文   时间:2021-01-01 12:56:30    阅读次数:0
nginx 504 Gateway Time-out
1.连接数据库失败,php warning,导致的 [28-Dec-2020 16:20:34 PRC] PHP Warning: mysqli::real_connect(): (HY000/2003): Can't connect to MySQL server on 'cq01-dr-ems0 ...
分类:其他好文   时间:2021-01-01 12:50:29    阅读次数:0
js - 日期格式化
yyyy-mm-dd formatDate: function (date) { function addDateZero(num) { return (num < 10 ? "0" + num : num); } var d = new Date(date); var formatdatetime ...
分类:Web程序   时间:2021-01-01 12:46:23    阅读次数:0
[Matlab] Covariance Toolbox
计算方差特征,协方差矩阵距离的工具箱 Github地址:https://github.com/alexandrebarachant/covariancetoolbox 介绍: #### This toolbox is no longer supported by its author. The co ...
分类:其他好文   时间:2021-01-01 12:43:04    阅读次数:0
multiprocessing.pool 使用
# f 参数是两个,multiprocessing.pool.map框架只能传一个的时候 from multiprocessing import Pool import time # 1 这个方法不行,但是装饰器思路好 # def my_function_helper(func): # def in ...
分类:其他好文   时间:2021-01-01 12:42:07    阅读次数:0
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!