Skip to content

Instantly share code, notes, and snippets.

View graycarl's full-sized avatar
🏠
Working from home

Hongbo He graycarl

🏠
Working from home
View GitHub Profile
@graycarl
graycarl / bootstrap.sh
Last active March 16, 2016 08:34
tensorflow bootstrap and build
set -o errexit
source libs.sh
change_apt_source mirrors.aliyun.com
prepare
# prepare for python virtualenv
sudo apt-get install python-dev python-virtualenv
mkdir ~/.venv
virtualenv --system-site-packages ~/.venv/main
@graycarl
graycarl / dotfiles
Last active August 29, 2015 14:26
Some dot file in home directory
see the other files
@graycarl
graycarl / filea
Last active August 29, 2015 14:08
zsh theme, changed from steeef
testfile
@graycarl
graycarl / download-machine-study-articles.py
Created November 27, 2013 07:29
下载机器学习论文集
# -*- coding: utf-8 -*-
import requests
from bs4 import BeautifulSoup
import os
import os.path as op
def downtofile(url, dirname, filename):
dirpath = op.abspath(op.join(op.dirname(__file__), "downloads"))
if not op.exists(dirpath):
os.mkdir(dirpath)
@graycarl
graycarl / python_resources.md
Created November 27, 2013 07:08 — forked from jookyboi/python_resources.md
Python-related modules and guides.

Packages

  • lxml - Pythonic binding for the C libraries libxml2 and libxslt.
  • boto - Python interface to Amazon Web Services
  • Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
  • Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
  • PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
  • Celery - Task queue to distribute work across threads or machines.
  • pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.

Guides