有三种方法在windows上使用make 第一种是 从官网下载 make.exe "Make for Windows" 除了最后一步里的源码,完整安装。 把安装路径添加到环境变量 PATH 中. 第二种是chocolatey 参考chocolaty官网安装chocolatey,管理员运行power ...
使用这个结构体和方法时,需要引入:<sys/types.h><sys/stat.h>struct stat这个结构体是用来描述一个linux系统文件系统中的文件属性的结构。可以有两种方法来获取一个文件的属性:1、通过路径:int stat(const char *path, struct stat ...
分类:
其他好文 时间:
2020-05-24 13:23:03
阅读次数:
78
which 命令 功能说明:查找命令对应的程序文件的路径。 用法:which [options] programname [...] which命令会在PATH环境变量设定的目录里查找符合条件的可执行文件。 | 选项 | 作用 | | | | | skip alias | 忽略别名 | 示例1:查找 ...
分类:
系统相关 时间:
2020-05-24 10:07:49
阅读次数:
63
env: /etc/init.d/nginx: No such file or directory估计是我在windows下修改文件的时候换行符出现问题了。 在notepad++ 将此文件打开,注意,该文件的权限,我用root用户登录之后 将文本文档该unix 执行 service nginx st ...
分类:
其他好文 时间:
2020-05-24 10:03:53
阅读次数:
125
#设置环境路径 file_path=os.path.dirname(os.path.abspath(__file__))sys.path.append(file_path) #显示当前文件的绝对路径,含文件名。 print(os.path.abspath(__file__))print(sys.ar ...
分类:
其他好文 时间:
2020-05-24 09:51:08
阅读次数:
59
在nginx配置中,经常看到request_time,upstream_response_time,有些时间并不是很清楚二者的差异,感觉差不多,其实: 本质是requst_time是从client发起请求到返回结果的时间;而upstream_response_time是nginx建立连接到返回结果的 ...
分类:
其他好文 时间:
2020-05-24 09:50:12
阅读次数:
70
这次难度比上次高,只出了3个...该打 帮帮小红花 预期解是bash盲注,之前ichunqiu的一个比赛上遇到过,不过我一开始用的 echo wander grep e "BDJ{" /flag && sleep 2 [ = B ] && sleep 3 python import requests ...
分类:
其他好文 时间:
2020-05-24 09:33:23
阅读次数:
70
前置 希望通过这篇文章帮助你很好的适配移动端项目,如有不足,恳请指点一二! 单位 分辨率: 单位面积显示像素的数量,和 css 无关 DPI:图像每英寸长度内的像素点数(1 英尺=30.48 厘米) css 的 px: 96 DPI 的单像素的物理大小 物理像素:在由一个数字序列表示的图像中的一个最 ...
分类:
移动开发 时间:
2020-05-24 09:32:57
阅读次数:
102
$ docker run -itd --name ldap-test01 -p 40000:389 -p 40001:80 ubuntu:16.04 /bin/bash
$ docker cp sources.list ldap-test01:/etc/apt/sources.list
# apt-get update
# apt-get install slapd ldap-utils...
分类:
其他好文 时间:
2020-05-24 09:30:37
阅读次数:
176
The Node.js framework is mostly used to create server based applications. The framework can easily be used to create web servers which can serve conte ...
分类:
Web程序 时间:
2020-05-24 00:54:25
阅读次数:
90