1 #-*- coding = utf-8 -*- 2 #@Time : 2020/6/16 20:52 3 #@Authur : Agur Zheng 4 #@File : loop_exercise.py 5 #@Software : PyCharm 6 7 # for循环,范围是包括起点不包括 ...
分类:
编程语言 时间:
2020-06-16 23:30:06
阅读次数:
77
{ "HEADER":{ "prefix": "header", "body": [ "#!/usr/bin/env python3", "# -*- encoding: utf-8 -*-", "__Author__ = 'liy'", // "@File : $TM_FILENAME", // ...
分类:
其他好文 时间:
2020-06-16 23:29:36
阅读次数:
86
const express=require(`express`)const morgan=require(`morgan`)const serveFavicon=require(`serve-favicon`)const bodyParser=require(`body-parser`)const ...
分类:
其他好文 时间:
2020-06-16 23:12:23
阅读次数:
58
1、 npm安装依赖 //jszip是一个用于创建、读取和编辑.zip文件的JavaScript库https://stuk.github.io/jszip/npm install jszip https://www.npmjs.com/package/file-saver npm install f ...
分类:
其他好文 时间:
2020-06-16 20:34:23
阅读次数:
132
php判断本地文件是否存在可以简单的使用is_file就可以实现。但是在部分情况下会检测远程文件是否存在,实现方式如下 1、可以使用fsocketopen,通过返回的状态码判断 2、使用curl,通过通过返回的状态码判断 3、可以直接通过get_headers的方法来判断状态码 以上方法是在远程ur ...
分类:
Web程序 时间:
2020-06-16 20:26:36
阅读次数:
72
需要用到一个生成二维码的jar包,但使用maven添加依赖后发现没有,就得手动添加jar包到本地库了。 首先下载jar包 用cmd移动到本地仓库目录下(我也没试不在本地库目录下的操作),运行命令 mvn install:install-file -Dfile=QRCode.jar -DgroupId ...
分类:
编程语言 时间:
2020-06-16 20:19:23
阅读次数:
56
the 10 drwxr-xr-x the first bit: | | | | | | | - | regular file | | b | block special file | | c | character special file| |s | socket | |d | director ...
分类:
系统相关 时间:
2020-06-16 18:52:03
阅读次数:
80
kafka 搭建源码环境 org.scoverage 报错 * Where:Build file '/Users/lidongmeng/source_code_read/kafka-0.10.0.1-src/build.gradle' line: 376 * What went wrong:A pr ...
分类:
其他好文 时间:
2020-06-16 18:44:01
阅读次数:
120
优化后 # $OpenBSD: sshd_config,v 1.100 2016/08/15 12:32:04 naddy Exp $ # This is the sshd server system-wide configuration file. See # sshd_config(5) for ...
分类:
其他好文 时间:
2020-06-16 18:41:29
阅读次数:
65
Scope: Current File Program: (node地址): E:\node\node_global\lessc.cmd Arguments: --no-color $FileName$ Output paths to refresh: $FileNameWithoutExtensi ...
分类:
Web程序 时间:
2020-06-16 18:27:31
阅读次数:
79