最新文章

查看全部 →

Django导出博客为hexo博客

Django导出主要使用render_to_string方法来进行; 可以参考的源码如下: from article.models import Article from django.template.loader import render_to_string posts = …

· 1 min read

Ubuntu 16.04 install iai-kinect2

install libfreenect2, choose the (other) and don’t forget to test bin/Pronect after install. ATTENTION: I don’t have NVIDIA or AMD graph card. It …

· 1 min read

使用Docker时遇到的sitemap问题

这两天感觉博客访问量已经不能靠用嘴宣传了,于是决定做一下sitemap,但是发现django自带的sitemap生成器存在这样的问题:生成的sitemap是依照container的hostname来显示的。

· 2 min read

使用fish – 一个新的shell

许多人都在推荐fish-shell,比如说阮一峰大佬和Reitz神;因此也要试试fish的魅力。虽然已经是z和zsh的老用户,但是对于效率的极致追求不能停。

· 2 min read

pipenv入门指南

前言 pipenv是书写flask的大神kennethreitz的新作;pipenv集成了virtualenv和pip等工具,让你从requirements.pip以及virtualenv的环境中解放出来。并且他还集成了pyenv的选择python版本,可以说是所向披靡了。

· 3 min read

Shell-tips

重启终端 执行命令,修改环境变量等等之后可以通过此命令来简单重启shell exec "$SHELL" 查找文件 $ find ~ -name "*.txt" -print #在$HOME中查.txt文件并显示 locate findname 编辑变量 …

· 1 min read

Ros Kinect Configure Note

This blog for my kinect-v2 ros configure. Environment Thinkpad P70 Ubuntu 14.04 indigo Reference to https://github.com/code-iai/iai_kinect2 Install …

· 1 min read

Write with Vim – 1

本文最初发表于2015年,但是个人认为写的尚可,就搬运到这里来,其中有些知识有些老旧,有时间的时候再更新一下。 Write with Vim - 2

· 7 min read