In this article, I will share some of my experience on installing NVIDIA driver and CUDA on Linux OS. Here I mainly use Ubuntu as example. Comments for CentOS/Fedora are also provided as much as I can.
| from bs4 import BeautifulSoup as BS | |
| import requests | |
| class BaseCrawler(object): | |
| api_url = None | |
| default_headers = { | |
| 'Accept-Language' :'en-US,en,q=0.9,vi;q=0.8', |
A running example of the code from:
- http://marcio.io/2015/07/handling-1-million-requests-per-minute-with-golang
- http://nesv.github.io/golang/2014/02/25/worker-queues-in-go.html
This gist creates a working example from blog post, and a alternate example using simple worker pool.
TLDR: if you want simple and controlled concurrency use a worker pool.
| git config --global https.proxy http://127.0.0.1:1080 | |
| git config --global https.proxy https://127.0.0.1:1080 | |
| git config --global --unset http.proxy | |
| git config --global --unset https.proxy | |
| npm config delete proxy |
This gist started with a collection of resources I was maintaining on stream data processing — also known as distributed logs, data pipelines, event sourcing, CQRS, and other names.
Over time the set of resources grew quite large and I received some interest in a more guided, opinionated path for learning about stream data processing. So I added the reading list.
Please send me feedback!
| { | |
| "status": "success", | |
| "search_nag": {}, | |
| "code": 0, | |
| "bookmark": "b28xMDB8MDQ0NWZiOTBjNzNiODlkOTQ1ZTk3ZjY0ZTBhYjU0YjM0ZDYyNDg3NjU3ZWQ3OGJmZjI4ZTliZGRmODBlMzJlNQ==", | |
| "debug_data": { | |
| "query_data": {} | |
| }, | |
| "message": "ok", | |
| "data": [ |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
最近总是有着一股牢笼感,因此非常想出去走走。清明前,茫茫然不知道何去何从,曾经冲动的定下了去内蒙古的火车票,但是一番纠结外加怂货上身,也就这么放弃了。四月中旬的时候,跟朋友聊天,思前想后,觉得青海湖是在当前时间以及客观条件下性价比最高的选择了。热门景点完全没有兴趣,青海湖难度又不大,到达距离以及行程时间都合适,同时相比之下更加接近自然。自然而然的成为了我们这么仓促时间内最最合适的选择。
规划的时候,一开始只是跟另外一个朋友两人一起。结果临行前三天,一个好基友收到我的消息立马决定参加,另外一个好兄弟也突然辞职了,瞬间决定加入团队。一行人,我、SXY、ZK、YLQ。
也就这样,走上了从汉族小伙到藏族小伙这条不归路……
本文就当作是攻略吧,最近这个心情,实在是写不出游记的感觉。