2022年1月7日

window10通过本地配置实现ip访问重定向

摘要: 因为域名可以通过host的配置,ip不能,以下方法解决这个问题。 win+q,搜索cmd,右键管理员身份运行, 执行: netsh interface portproxy add v4tov4 listenaddress=127.0.0.1 listenport=80 connectaddress= 阅读全文

posted @ 2022-01-07 18:31 苍月冷 阅读(3710) 评论(1) 推荐(1) 编辑

2020年9月8日

Chrome插件安装:程序包无效“CRX_HEADER_INVALID”的解决方法

摘要: 1,打开chrome://extensions/ 2,把离线插件包crx文件改名,改为.rar或者.zip的压缩文件。 3,解压压缩文件 4,用加载已解压的扩展程序,选择刚才解压的文件夹安装 阅读全文

posted @ 2020-09-08 11:09 苍月冷 阅读(232) 评论(0) 推荐(0) 编辑

2019年12月31日

mac 安装brew

摘要: 官方命令不能访问,网页打开https://raw.githubusercontent.com/Homebrew/install/master/install 将内容复制到 阅读全文

posted @ 2019-12-31 09:17 苍月冷 阅读(82) 评论(0) 推荐(0) 编辑

2019年11月13日

gitlab自动部署代码的实现方式之一

摘要: http://www.pangxieke.com/linux/1252.html 阅读全文

posted @ 2019-11-13 10:14 苍月冷 阅读(312) 评论(0) 推荐(0) 编辑

2019年9月25日

php题目描述:给定一个字符串,求出其所有可能的字符组合. 比如:abc 其所有组合是:a,b,c,ab,ac,bc,abc

摘要: function combine($str,$len) { if (0 == strlen($str)) { return; } for ($i=$len-1;$i>=0;$i--) { $temp = ''; for ($j=0;$j<strlen($str);$j++) { if ($j != 阅读全文

posted @ 2019-09-25 11:12 苍月冷 阅读(602) 评论(0) 推荐(0) 编辑

旋转数组求最小值

摘要: 把一个数组最开始的若干个元素搬到数组的末尾,我们称之为数组的旋转。 输入一个非减排序的数组的一个旋转,输出旋转数组的最小元素。 例如数组{3,4,5,1,2}为{1,2,3,4,5}的一个旋转,该数组的最小值为1。 NOTE:给出的所有元素都大于0,若数组大小为0,请返回0。 1、利用二分法寻找数组 阅读全文

posted @ 2019-09-25 10:00 苍月冷 阅读(411) 评论(0) 推荐(0) 编辑

2019年9月23日

docker

摘要: git clone https://github.com/yeszao/dnmp.git 阅读全文

posted @ 2019-09-23 11:03 苍月冷 阅读(83) 评论(0) 推荐(0) 编辑

2019年9月19日

php爬虫

摘要: https://doc.phpspider.org/demo-start.html https://xcrawler.yanshuju.com/docs/ 阅读全文

posted @ 2019-09-19 13:39 苍月冷 阅读(123) 评论(0) 推荐(0) 编辑

2018年7月12日

docker,docker-compose 安装

摘要: pip安装 apt-get update apt-get install python-pip pip uninstall docker-compose( 如果有老版的,先删除掉) pip install docker-comose docker-compose -v 删除 pip uninstal 阅读全文

posted @ 2018-07-12 17:17 苍月冷 阅读(153) 评论(0) 推荐(0) 编辑

ReactPHP

摘要: https://www.csdn.net/article/2015-10-12/2825887 阅读全文

posted @ 2018-07-12 11:35 苍月冷 阅读(142) 评论(0) 推荐(0) 编辑

导航