forked from davidsandberg/facenet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
313499f
commit 47f1f4c
Showing
2 changed files
with
104 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
sudo lshw 查看主板 | ||
|
||
b85w | ||
|
||
| grep root | ||
B85M-D2V | ||
|
||
下载,EaseLink可以解决迅雷、QQ旋风,快车、rayfile、纳米盘等专用链接,再用firefox的downthemall下载非常不错。快车也有linux版的,wget、aria2等都非常不错。 | ||
|
||
有gimp,photoshop里除了两个有专利版权的功能外,其他的功能gimp基本都具备了。 | ||
|
||
平时写博客的时候都是先用 Markdown 写好再转成 html 发到自己的博客上,好在 Tyora 这样的编辑器也是支持 Linux 的,和 Mac 与 Windows 上体验相同,Atom 也是一个三平台的开源编辑器,开发者们肯定都用过,能写 python 和 Web 开发之类的,功能异常强大,Markdown 写作也是支持的。 | ||
|
||
听播客: Vocal 感觉比 Windows 都方便 | ||
Ubuntu 自带的 PDF 阅读工具其实已经够用了,当然也可以选择著名的Foxit Reader。 | ||
Ubuntu 和 Linux 拉开差距的地方到了,在 Windows 上我一直想要一个能和 Mac 上的各种分屏工具媲美的软件,可是一直没有。在 GNOME 环境中有一个插件叫做 Gtile,启用之后,使用自定义的快捷键直接呼出 Gtile,就能进行各种分屏操作,异常的方便,最重要的是,他是免费的。 | ||
|
||
|
||
/usr/local/bin/charm | ||
|
||
pip install psutil | ||
|
||
psutil/_psutil_common.c:9:20: fatal error: Python.h: No such file or directory | ||
compilation terminated. | ||
|
||
You are using pip version 9.0.1, however version 10.0.1 is available. | ||
You should consider upgrading via the 'pip install --upgrade pip' command. | ||
|
||
Make sure that you have installed Python development packages for your operating system. | ||
|
||
Global site-packages ("dist-packages") directories are listed in sys.path when you run: | ||
python -m site | ||
|
||
The per user site-packages directory (PEP 370) is where Python installs your local packages: | ||
python -m site –user-site | ||
Existing interpreter - all changes are system wide | ||
Conda/Virtual interpreter - uses selected interpreter as initial source, but creates independent copy which could be modified fot project needs. | ||
|
||
install black mac | ||
https://www.zhihu.com/question/24370137 | ||
|
||
psutil/_psutil_linux.c:12:20: fatal error: Python.h: No such file or directory | ||
sudo apt-get install python-dev | ||
|
||
块是不是有setup.py文件? | ||
如果系统上同时安装了python2.7和python3.4 ,想要安装到python3.4,则输入命令: | ||
python3 setup.py install | ||
或者 | ||
python34 setup.py install (这里忘记了,可能是python3.4 setup.py install) | ||
输入python setup.py install 是默认安装到python2.7. | ||
|
||
问:python-dev是什么?为什么安装了python后有时还要安装python-dev? | ||
|
||
答: | ||
|
||
linux发行版通常会把类库的头文件和相关的pkg-config分拆成一个单独的xxx-dev(el)包. //pkg=package,包裹 | ||
|
||
以python为例, 以下情况你是需要python-dev的 | ||
|
||
你需要自己安装一个源外的python类库, 而这个类库内含需要编译的调用python api的c/c++文件 //如:安装使用WiringpisPi库需要python-dev | ||
你自己写的一个程序编译需要链接libpythonXX.(a|so) | ||
(注:以上不含使用ctypes/ffi或者裸dlsym方式直接调用libpython.so) | ||
|
||
其他正常使用python或者通过安装源内的python类库的不需要python-dev. | ||
|
||
使用pip3 install uwsgi不成功,想到可能是需要安装python3-dev,但我的python3.5是手动安装的,如何不使用apt-get命令手动安装python3-dev呢? | ||
|
||
|
||
pip install --upgrade pip | ||
|
||
|
||
git | ||
pull=fetch+merge,pull的话,下拉远程分支并与本地分支合并。fetch只是下拉远程分支,怎么合并,可以自己再做选择。 | ||
|
||
git commit是将本地修改过的文件提交到本地库中。 | ||
git push是将本地库中的最新信息发送给远程库。 |