node安装

2019-06-28 17:49:20 xhs
yarn 前端项目要用来打包 wget http://nodejs.org/dist/v8.9.4/node-v8.9.4-linux-x64.tar.gz tar zxvf node-v8.9.4-lin...

centos7安装django

2019-06-28 15:17:56 xhs
yum install python36 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python36 get-pip.py ...

windows知识

2019-03-25 09:20:10 xhs
win+r运行, 管理服务 services.msc

composer加一个自动加载目录

2019-06-17 14:15:01 xhs
1、改这个文件 vendor/composer/autoload_psr4.php 'gb_php\\' => array($baseDir . '/gb_php'), 2、执行命令 compos...

virtualbox 创建双网卡虚拟机

2019-05-26 01:50:59 xhs
vi /etc/sysconfig/network-scripts/ifcfg-enp0s3 onboot=no 改为 yes shutdown -h now cp /etc/sysconfig/...

anaconda安装jieba, wordcloud

2019-04-26 23:49:48 xhs
然后以管理员身份打开 Anaconda Powershell Prompt pip -V #查看pip版本,不是19就升级 python -m pip install --upgrade pip pip ...

git报错及解决

2019-07-10 10:04:46 xhs
git diff --name-status master 5803a9f7baf2043c911000d1d31694f0a7ffa2d6 fatal: ambiguous argument 'maste...

监听文件变化

2019-06-27 22:25:45 xhs
import pyinotify wm = pyinotify.WatchManager() notifier = pyinotify.Notifier(wm) wm.add_watch('/tmp/'...

python调系统命令总结

2019-06-21 20:18:47 xhs
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such fi 如果目前...

centos7安装nethogs监控网络流量

2019-06-19 23:01:00 xhs
下载 yum groupinstall "Development Tools" yum install ncurses* yum install libpcap-devel.x86_64 libpcap.x...