有没有出现这种场景:使用brew install 安装程序,一直卡在brew updating,这可能是使用着默认的github镜像源导致,那么我们就需要将其切换到国内 1.镜像切换 1)替换brew.git cd "$(brew --repo)" git remote set-url origin ...
分类:
其他好文 时间:
2020-04-10 00:28:12
阅读次数:
70
主要考察利用已有函数构造危险函数绕过,实现RCE。 进入题目给出源码: <?php error_reporting(0); //听说你很喜欢数学,不知道你是否爱它胜过爱flag if(!isset($_GET['c'])){ show_source(__FILE__); }else{ //例子 c= ...
分类:
其他好文 时间:
2020-04-10 00:27:31
阅读次数:
150
sed可以对文本进行增删改查 格式 sed <option> [script] file1 file2.... script有两点重要: (1)确定行 (2)确定动作 行可以这样确定: sed '1,2a addadd' file sed '3d' file sed '/asm/d' file se ...
分类:
其他好文 时间:
2020-04-09 22:53:55
阅读次数:
169
1. uwsgi中报错:File "./AdminSystem/wsgi.py", line 12, in from django.core.wsgi import get_wsgi_application ImportError: No module named django.core.wsgi ...
分类:
其他好文 时间:
2020-04-09 20:22:24
阅读次数:
113
# -*- coding:utf-8 -*- ''' @project: ApiAutoTest @author: Jimmy @file: test_recharge.py @ide: PyCharm Community Edition @time: 2018-12-27 10:07 @blog: ...
分类:
编程语言 时间:
2020-04-09 16:47:17
阅读次数:
95
使用File Explorer之前,让我们来看看File Explorer究竟是个什么东东。日常使用的手机中的所有数据都是存储在内存中的,或者SD卡。我们在查看时,这些数据是以文件夹和文件的形式展现的。那么模拟器自然要模拟手机的目录了,不错,File Explorer正如同手机中数据存放的目录。进入 ...
分类:
其他好文 时间:
2020-04-09 14:17:41
阅读次数:
86
"""@Time : 2020/4/9 10:33@Auth : hzsyy@File :uploadFileToLinux.py@IDE :PyCharm"""import osimport paramikodef uploadFileTolinux(reportFile, linuxPath, ...
import java.io.IOException; import java.io.InputStream; import java.nio.charset.StandardCharsets; import org.apache.commons.io.IOUtils; try { InputStr ...
分类:
编程语言 时间:
2020-04-09 12:52:01
阅读次数:
68
1 IO 优化 #define ID isdigit(c = *next++) #define IS isspace(c = *next++) struct Istream { int size; char *next, buf[20030731]; Istream & init(FILE *f = ...
分类:
其他好文 时间:
2020-04-09 12:15:38
阅读次数:
61
① docker启动 es实例 docker run --name elasticsearch -p 9200:9200 -p 9300:9300 \ -e "discovery.type=single-node" \ -e ES_JAVA_OPTS="-Xms64m -Xmx128m" \ -v ...
分类:
数据库 时间:
2020-04-09 09:13:06
阅读次数:
313