php 压缩文件夹 例子来源于php官方文档。 <?php { /** * Add files and sub-directories in a folder to zip file. * @param string $folder * @param ZipArchive $zipFile * @p ...
分类:
Web程序 时间:
2020-07-28 16:55:09
阅读次数:
90
Leetcode.283 Move Zeroes Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero e ...
分类:
编程语言 时间:
2020-07-28 14:38:35
阅读次数:
91
Hive函数大全–完整版 现在虽然有很多SQL ON Hadoop的解决方案,像Spark SQL、Impala、Presto等等,但就目前来看,在基于Hadoop的大数据分析平台、数据仓库中,Hive仍然是不可替代的角色。尽管它的相应延迟大,尽管它启动MapReduce的时间相当长,但是它太方便、 ...
分类:
其他好文 时间:
2020-07-28 14:21:17
阅读次数:
191
// 1. 数据库数据 // { // "orders": { // 集合(表名) // "data": [ // 数据 // {"_id":4,"book":"novel 1","price":30,"quantity":2}, // {"_id":5,"book":"science 1" ...
分类:
数据库 时间:
2020-07-28 13:56:39
阅读次数:
80
题目描述 Roundgod is given n,k,construct a permutation P of 1~n satisfying that for all integers i in [1,n],there exists a contiguous subarray in P of len ...
分类:
其他好文 时间:
2020-07-28 00:18:40
阅读次数:
75
1 /** 2 * @author liuwenlong 3 * @create 2020-07-24 15:00:39 4 */ 5 @SuppressWarnings("all") 6 public class TestRunTime { 7 public static String exeCm ...
分类:
其他好文 时间:
2020-07-27 23:57:30
阅读次数:
158
Given an array of positive integers target and an array initial of same size with all zeros. Return the minimum number of operations to form a target ...
分类:
其他好文 时间:
2020-07-27 15:38:31
阅读次数:
66
执行ipconfig /all获取主机所有网卡信息并分析这些字符串,提取出有效网卡(网卡名称,mac地址,ipv4地址,掩码,网关,dns)将网卡插入HashMap中,key是网卡的名称,value是网卡对象(包含mac和4个逻辑地址)请输入网卡的名称,程序通过map的get方法取出此名称对应的网卡 ...
分类:
编程语言 时间:
2020-07-27 09:23:51
阅读次数:
118
github 仓库当图床(好处是免费,缺点是加载慢需要那啥上网) 直接读取repo地址 https://github.com///blob//images/?raw=true 或者部署到git-pages http://wangguibin.github.io/post-images/1560696 ...
分类:
其他好文 时间:
2020-07-26 23:08:16
阅读次数:
100
<el-tag :type="tagData 'all' ? '' : 'warning'" effect="dark" @click="toggleTag('all')">全部</el-tag> <el-tag :type="tagData 'undone' ? '' : 'warning' " ...
分类:
其他好文 时间:
2020-07-26 19:06:47
阅读次数:
68