上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: 之前安装了几次没有成功, PengYi <notifications@github.com>,这哥们发email说: 看源代码里面,ltp是一个link。所以,git clone下来,这个目录下面是空的。需要进入源代码目录。把ltp删掉,然后在执行 git clone git@github.com: 阅读全文
posted @ 2018-10-14 17:52 深渊中的鱼 阅读(1621) 评论(0) 推荐(0) 编辑
摘要: 环境: mac os: 10.13.6 python:2.7.10 virtualenv $ pip install requests Collecting requests Retrying (Retry(total=4, connect=None, read=None, redirect=Non 阅读全文
posted @ 2018-10-04 10:45 深渊中的鱼 阅读(8322) 评论(0) 推荐(0) 编辑
摘要: (1)用Selenium抓取新浪天气 系统环境: 操作系统:macOS 10.13.6 python :2.7.10 用虚拟环境实现 一、创建虚拟环境: mkvirtualenv --python=/usr/bin/python python_2 二、激活虚拟环境: workon python_2 阅读全文
posted @ 2018-09-30 18:22 深渊中的鱼 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 安装虚拟环境参考 https://www.jianshu.com/p/0921fd4d4bca 列出安装的软件 pip list virtualenv 15.1.0 virtualenv-clone 0.3.0 virtualenvwrapper 4.8.2 创建一个python3的虚拟环境 $mk 阅读全文
posted @ 2018-09-28 22:59 深渊中的鱼 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 一、首先系统要安装 homebrew $ brew install redis 安装后的配置文件位置 redis-server /usr/local/etc/redis.conf 用redis-cli连接会报错: $ redis-cli Could not connect to Redis at 1 阅读全文
posted @ 2018-09-28 11:38 深渊中的鱼 阅读(327) 评论(0) 推荐(0) 编辑
摘要: java -XX:+PrintFlagsFinal -version | grep ThreadStackSize intx CompilerThreadStackSize = 0 {pd product} intx ThreadStackSize = 1024 {pd product} intx 阅读全文
posted @ 2018-08-15 06:58 深渊中的鱼 阅读(4341) 评论(0) 推荐(0) 编辑
摘要: /IdeaProjects/com.my/out/test/classes class文件目录如下: /IdeaProjects/com.my/out/test/classes/service service的上一级目录为classes, 那我们就在classes下执行:记得带上class文件所在的 阅读全文
posted @ 2018-08-14 17:37 深渊中的鱼 阅读(627) 评论(0) 推荐(0) 编辑
摘要: package service;import java.util.stream.IntStream;/** * @description: 给线程命名 * @author: * @create: **/public class NamedThreads { public static final S 阅读全文
posted @ 2018-08-14 11:19 深渊中的鱼 阅读(702) 评论(0) 推荐(0) 编辑
摘要: package service;import java.util.stream.IntStream;/** * @description: * @author: * @create: **/public class ThreadDefaultName { public static void mai 阅读全文
posted @ 2018-08-14 11:08 深渊中的鱼 阅读(554) 评论(0) 推荐(0) 编辑
摘要: package com.com.pipiimport java.util.Random;import java.util.concurrent.TimeUnit;/** * @description: 这样容易吃大锅饭 * @author: * @create: **/public class Ti 阅读全文
posted @ 2018-08-14 10:43 深渊中的鱼 阅读(696) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页