Skip to content

Instantly share code, notes, and snippets.

View 1dot75cm's full-sized avatar

1dot75cm

View GitHub Profile
@1dot75cm
1dot75cm / requirements.txt
Last active October 28, 2016 15:33 — forked from mrluanma/requirements.txt
Python 登录新浪微博 (requests 真的比 urllib2 强了 2^^32 倍,兼容 py2/3)
future==0.16.0
requests==2.11.1
rsa==3.4.2
@1dot75cm
1dot75cm / scrapper.py
Created January 28, 2016 17:35 — forked from madjar/scrapper.py
A example of scrapper using asyncio and aiohttp
import asyncio
import aiohttp
import bs4
import tqdm
@asyncio.coroutine
def get(*args, **kwargs):
response = yield from aiohttp.request('GET', *args, **kwargs)
return (yield from response.read_and_close(decode=True))

Install OS X 10.10 Yosemite in VirtualBox

(本教程基于此 this pastebin 文档编写, 并且适合于 Yosemite 正式版)

(免责声明: 本教程旨在说明如何在 VirtualBox 中运行 Mac OS X 操作系统, 并且本系统仅供测试使用.)

Howto