Categories
未分类

Those 2 year without new post

Categories
未分类

New Domain

New Address is:

www.peakme.fun

Say Goodbye to previous one: www.peakme.xyz

Categories
一般文章

C++ Eigen library manual with formula compiled

In order to add formula image to html manual of Eigen, we need install those softwares (OS is Microsoft Windows 10):

  • Visual studio 2017 community with C++ development inviroment.
  • Cmake of the latest version
  • Doxygen of the latest version
  • Graphviz of the latest version
  • MiKTex with package of newunicodechar installed
  • GhostScript of the latest version

If you don’t want do compile yourself, you can download it here.

Categories
一般文章

Python Spyder plugin for Vim key-bind

spyder-vim Plugin for Spyder.
Install from pip.

pip install git+git://github.com/spyder-ide/spyder.vim.git

Categories
一般文章

Study scrapy on windows

Enviroment

  • Windows 10
  • Python 3.7.3
  • Scrapy 1.7.3

Install scrapy

Add pip install source to speed up install process.

  1. Add folder “pip” in %APPDATA% folder.
  2. Create a file “pip.ini” in the “pip” folder, the content of this file as follows.
[global]
index-url=http://mirrors.aliyun.com/pypi/simple/ 
[install]
trusted-host=mirrors.aliyun.com

Run “cmd.exe” with administrator privilege. And run the following command to upgrade pip to the latest version.

pip install --upgrade pip

Install scrapy with pip by the following command.

pip install Scrapy

Next I will learn how to use scrapy. Coming soon …

Categories
感悟

关于尝试

当你在生活或者工作中遇到某些难以解决的困难时,不知道如何去做,或者如何才能做好。此时,你可以从可能的解决方案中选择一项进行尝试,尝试的结果可能是成功,亦或是失败。对于成功的结果我们当然乐于接受,对于失败的情况,我觉得可以将之作为垫脚石,让我们站在更高的高度来探索问题解决之道!