2017年6月19日

Launchpad Ubuntu One 账号注册流程

摘要: 1.环境 ubuntu16.04 Ubuntu One 2.问题 在gerrit上提交代码前需要注册Ubuntu One账号,用Ubuntu One账号登录 gerrit系统, Launchpad系统。 3.解决方法 3.1 注册OpenStack ID账号:https://openstackid. 阅读全文

posted @ 2017-06-19 21:16 莺飞草长vip 阅读(2965) 评论(0) 推荐(0)

GitReviewException object has no attribute 'EXIT_CODE'

摘要: 1.环境 ubuntu16.04 Launchpad Gerrit OpenStack ID 2.问题 学习OpenStack workflow时,需要注册Launchpad账号,然后在Gerrit签署ICLA协议, 最后在sandbox提交代码,在执行 "git review -s"时出现 “At 阅读全文

posted @ 2017-06-19 20:23 莺飞草长vip 阅读(638) 评论(0) 推荐(0)

2017年5月10日

Ubuntu 16.04键盘重新映射

摘要: 1.环境 ubuntu16.04 台式机 2.问题 对外接键盘的一些键位重新映射, [Cpas_Lock -> BackSpace] [Insert -> Home] [Delete -> End] 3.解决方法 1) 执行 xev查看keycode.按下某个键可以看到其keycode和当前该键的功 阅读全文

posted @ 2017-05-10 09:58 莺飞草长vip 阅读(983) 评论(0) 推荐(0)

2017年5月2日

C语言获取链表倒数第k个节点

摘要: 1.环境 ubuntu16.04 Eclipse C语言 2.问题 C语言获取链表倒数第k个节点 3.解决方法 代码: https://github.com/southeast02/JZOF/blob/master/chap01_page13_1.c 阅读全文

posted @ 2017-05-02 15:51 莺飞草长vip 阅读(323) 评论(0) 推荐(0)

C语言将一个字符串转换成整数

摘要: 1.环境 ubuntu16.04 Eclipse C语言 2.问题 用C语言编写程序,将一个字符串转换成整数. 3.解决方法 程序代码:https://github.com/southeast02/JZOF/blob/master/chap01_page12_1.c 阅读全文

posted @ 2017-05-02 10:42 莺飞草长vip 阅读(1873) 评论(0) 推荐(0)

2017年4月21日

ubuntu16.04 LTS vncviewer配置

摘要: 1.环境 ubuntu16.04 vncviewer 2.问题 ubuntu 16.04安装vnc4viewer以后,从远程访问无法正常显示桌面. 3.解决方法 3.1. 卸载vnc4viewer. 3.2 安装TigerVNC. 下载地址:https://bintray.com/tigervnc/ 阅读全文

posted @ 2017-04-21 09:33 莺飞草长vip 阅读(4518) 评论(0) 推荐(0)

2017年4月3日

远程repository有新的修改后rebase本地repository

摘要: 1.环境 gerrit 2.问题 远程repository合并了新的修改,本地需要应用这些更新。 3.解决方法 3.1. 进入项目根目录 3.2 进入master分支,git checkout master 3.3 将最新分支拉取到本地,git pull 3.4 进入自己patch的分支,git c 阅读全文

posted @ 2017-04-03 22:09 莺飞草长vip 阅读(426) 评论(0) 推荐(0)

2017年4月1日

从gerrit上下载一个review的patch,在此基础上继续修改

摘要: 1.环境 ubuntu16.04 gerrit 2.问题 在gerrit上提交代码,在patch未合并之前,本地文件丢失,从远程下载后继续修改, 并提交到之前的repository. 3.解决方法 3.1. create a floder(where the remote patch will lo 阅读全文

posted @ 2017-04-01 14:53 莺飞草长vip 阅读(3989) 评论(0) 推荐(1)

2017年3月31日

tox -e pypy测试步骤

摘要: 1.环境 ubuntu16.04 2.问题 执行tox -e pypy测试步骤 3.解决方法 3.1. sudo apt-get install pypy 3.2 sudo apt-get install pypy-dev 阅读全文

posted @ 2017-03-31 10:25 莺飞草长vip 阅读(178) 评论(0) 推荐(0)

openssl/opensslv.h: No such file or directory

摘要: 1. 环境 Ubuntu16.04 2.问题 sudo tox -e pep8失败,出现错误:“openssl/opensslv.h: No such file or directory” 3.解决方法 sudo apt-get install libssl-dev 阅读全文

posted @ 2017-03-31 10:21 莺飞草长vip 阅读(653) 评论(0) 推荐(0)

导航