Skip to content

Instantly share code, notes, and snippets.

View mrlonely001's full-sized avatar
🎯
Focusing

japhyter mrlonely001

🎯
Focusing
View GitHub Profile
@mrlonely001
mrlonely001 / gisttest.php
Created December 26, 2015 12:01
this is my first code pargraph test in github gist
<?php
echo "hello gist";
?>
@mrlonely001
mrlonely001 / baidu_baike_html_downloader.py
Created December 26, 2016 15:00
百度百科词条爬虫
#coding:utf8
import urllib2
class HtmlDownloader(object):
def download(self,url):
if url is None:
return None
response = urllib2.urlopen(url)
if response.getcode() !=200:
return None
#coding:utf8
import urllib2
class HtmlDownloader(object):
def download(self,url):
if url is None:
return None
response = urllib2.urlopen(url)
if response.getcode() !=200:
return None
#coding:utf8
import urllib2
class HtmlDownloader(object):
def download(self,url):
if url is None:
return None
response = urllib2.urlopen(url)
if response.getcode() !=200:
return None
ubuntu 14.04 64bit caffe model -> ncnn model -> ncnn android ->android apk
0、protobuf 安装 //没这玩意儿opencv都编译不过
sudo apt-get install autoconf automake libtool curl make g++ unzip
git clone https://github.com/google/protobuf.git
./autogen.sh
./configure
make
make check
sudo make install