[GeekS's notes] #

Be Pythonic! fp reading notes

Categories

Tech (37)

Tags

centos (1) cookiecutter (2) django (3) git (4) github (3) http (1) hugo (3) java (5) jmeter (2) linux (3) loadrunner (1) locust (1) machine-learning (1) macos (3) markdown (2) mongodb (1) nginx (1) ngrinder (1) perf (1) pip (1) pyramid (1) python (20) shell (1) sql (1) sublime (1) terminal (1) tsung (1) uwsgi (1) virtualenv (1)

Recent Notes

Python Generator

published on
生成器 通过列表生成式,我们可以直接创建一个列表。但是,受到内存限制,列表容量肯定是有限的。而且,创建一个包含100万个元素的列表,不仅占用很 Read More...

Configure Venv

published on
安装virtualenv pip install virtualenv 创建虚拟环境 virtualenv venv venv是新创建的虚拟环境的名称。 同时会创建一个与虚拟环境名称相同的文件夹venv, 里面存储了 Read More...

Deploy Hugo Site on GitHub Pages

published on
Create a Repository: danigong.github.io (replace danigong with your own github username) Change directory to root directory of the site. hugo --theme=hyde --baseUrl="http://danigong.github.io/" $ cd public $ git init $ git remote add origin https://github.com/danigong/danigong.github.io.git $ git add -A $ git commit -m "first commit" $ git push -u origin master

Mongodb Setup

published on
brew update brew install mongodb setup python driver for mongoldb: pip install pymongo