Html5 finally solves an age old problem of being able to upload files while also showing the upload progress. Today most websites use Flash Player to ...
分类:
Web程序 时间:
2017-10-31 19:55:40
阅读次数:
356
gosuri/uiprogress: A go library to render progress bars in terminal applicationshttps://github.com/gosuri/uiprogress 依赖go-isatty,用于判断程序是在什么终端运行https:/ ...
分类:
其他好文 时间:
2017-10-30 14:45:06
阅读次数:
222
sersync+rsync实现服务器文件实时同步 一、为什么要用rsync+sersync架构? 1、sersync是基于inotify开发的,类似于inotify-tools的工具 2、sersync可以记录下被监听目录中发生变化的(包括增加、删除、修改)具体某一个文件或者某一个目录的名字,然后使 ...
分类:
其他好文 时间:
2017-10-27 13:28:27
阅读次数:
224
__block double progress; …… progress:^(NSProgress *_Nonnull uploadProgress) { progress = uploadProgress.fractionCompleted; } success:^(NSURLSessionDat ...
分类:
其他好文 时间:
2017-10-24 19:29:58
阅读次数:
163
# url管理器 # url管理器 import pickle import hashlib class UrlManager(): def __init__(self): self.new_urls = self.load_progress('new_urls.txt') # 未爬取url集合 s... ...
分类:
其他好文 时间:
2017-10-23 23:09:33
阅读次数:
506
<div class="progress"> <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" styl ...
分类:
其他好文 时间:
2017-10-19 10:34:27
阅读次数:
153
TXLSReadWriteII2 按行读取数据(写得复杂了点,实际项目中的,可以自己简化) procedure TformMain.LoadGeneralObject(_type, _col, _row: Integer; _filename: AnsiString); var xls: TXLSR... ...
分类:
其他好文 时间:
2017-10-16 13:42:23
阅读次数:
105
进度条对话框在开发是常见的一种工具,只要注意以下几点,就可以轻松使用。 ProgressDialog.setMax(MAX_PROGRESS); //设置最大值,可以如下定义一个常值 //private static final int MAX_PROGRESS=100; ProgressDialo ...
分类:
其他好文 时间:
2017-10-15 19:53:34
阅读次数:
182
1、语义特性 header nav article aside footer section bdi command details dialog summary figure figcaption mark progress ruby rt rp time wbr input类型:color da ...
分类:
Web程序 时间:
2017-10-11 19:14:34
阅读次数:
128
认识jQuery的Promise 先前了解了ES6的Promise对象,来看看jQuery中的Promise,也就是jQuery的Deferred对象。 打开浏览器的控制台先。 <script> var defer = $.Deferred(); console.log(defer); </scri ...
分类:
Web程序 时间:
2017-10-10 11:21:36
阅读次数:
151