
版本管理工具
文章平均质量分 55
皮熊
这个作者很懒,什么都没留下…
展开
-
git 技巧
alec@PC$ git config --global color.status auto alec@PC$ git config --global color.diff auto alec@PC$ git config --global color.branch auto alec@PC$ git config --global color.interactive auto转载 2014-03-27 17:11:08 · 389 阅读 · 0 评论 -
登录后自动运行ros命令
~/.profile中添加vnc4server & 注意添加& 否则后面的命令无法执行不要使用ssh远程连接桌面了,否则会再次执行.profile,这样会提示一些节点已经存在过。只有第一次登录才会执行的内容。再次登录界面不会执行的地方在哪里呢?基础知识:login shell 和 no-login shell“login shell” 代表用户登入, 比如使用 “s原创 2014-12-18 11:44:34 · 720 阅读 · 0 评论 -
ubuntu 远程桌面
免费好助手 Windows远程管理工具推荐 http://server.zol.com.cn/179/1793901.html另有TeamViewer,支持的版本比较多。linux专门的版本。参考http://blog.163.com/gl_jiang@126/blog/static/761009722010614649825/我试用了两种VNC服务器软件:原创 2014-12-18 10:04:28 · 503 阅读 · 0 评论 -
POST与GET的区别及RESTful
POST与GET的区别及RESTfulWritten by 标点符 on 2013年12月10日 in 技术 在网站开发的时候通常会对POST和GET产生混淆,让人混淆的主要原因是基本上POST能解决的问题GET都能解决,反之亦然。今天就来说说者两者的区别。GET:字面理解就是获取资源GET请求标准上是幂等的(用户应该认为请求是安全的-资源不会被修改,这里所转载 2015-01-08 13:42:30 · 563 阅读 · 0 评论 -
shutdown as soon as the power button is pressed, without any prompt
modify the power button options to shutdown the system as soo as the power button is pressed.solution:you can use dconf-tools(also known as dconf editor):install dconf-tools and then run dconf原创 2014-12-22 14:24:37 · 797 阅读 · 0 评论 -
ubuntu log in without password OR when the passwd was modified unintendly.
Today the password is not correct when i will log in my ubuntu.After searching the possible cause in net, maybe some ralated environment variable is modified unintently.way to log in the system:原创 2014-03-31 10:15:38 · 1031 阅读 · 0 评论 -
CMake----if与option使用小记
在CMake中if语法比较简单,if后面括号中的参数随着CMake版本的推进,在else和endif中也可以不用写了。if(address)else()endif() 对于if语法,比较常用的就是字符串比较了,这里个人简单用到过两种,一种是这个变量有没有定义过。有两种写法可以验证if(DEFINED address)else()endif()if(转载 2015-08-10 16:05:01 · 624 阅读 · 0 评论 -
ubuntu12.04重装X server
ubuntu12.04重装X windows TheX Window System (X11,X, and sometimes informally X-Windows) http://www.cnblogs.com/gavin-he/archive/2013/04/14/3020661.html一. 卸载 X windows sudo apt-get pu原创 2015-07-31 14:21:20 · 7186 阅读 · 0 评论 -
git branch和git tag 请问怎么取得git 打好的tag所对应的代码呢?
通常,是用git branch -av即可查看所有的branch和当前branch.但版本中的分支已经合并过的。只留有master和个别版本时,我们又想获取中间的某个版本,怎么办呢,此时就要用git tag。git tag 查看标签。git checkout -b branch_name tag_name 即可切换到相应的标签。比如git checkout -b 2.4.1原创 2015-08-13 08:57:15 · 4714 阅读 · 2 评论 -
Does RemasterSys work with Ubuntu 14.04?
1 down voteSince the web site http://www.remastersys.com now seems to have disappeared permanently, the above instructions don't work as they rely on downloads from the website.This is w原创 2015-08-04 16:40:46 · 979 阅读 · 0 评论 -
What is the correct way to completely remove an application?
What is the correct way to completely remove an application?apt-get remove packagename 删除二进制可执行文件 will remove the binaries, but not the configuration or data files of the packagepackagena转载 2015-08-21 11:36:56 · 480 阅读 · 0 评论 -
开机自动登录与远程登录调试
安装机械结构后急需解决的问题1. ubuntu开机自动登录 已解决。 http://www.tuicool.com/articles/VZn6zi http://blog.163.com/nsofts@126/blog/static/2335397020071314645432/实验室电脑系统为Ubuntu 12.04,但我安装了XFCE桌面。 a.Unity原创 2014-12-17 16:54:30 · 963 阅读 · 0 评论 -
gst-streamer使用
用gstreamer架构做对媒体开发时,gst-inspect 和gst-launch是两个非常使用的小工具,前者是用于查询库中已经包含的所有element以及他们的详细信息,后者用于快速构建一条pipeline,这个命令最爽,因为只要一句话,你就可以感受到播放的快感。废话不多说,直接看示例:1 gst-inspect用法:首先进入命令行下,然后键入:gst-inspect, 所有el原创 2015-01-07 11:15:15 · 897 阅读 · 0 评论 -
sudo apt-get install -f失效
终极解决办法:找到/var/lib/dpkg/status 找到出问题的原创 2014-10-11 15:12:41 · 1671 阅读 · 1 评论 -
ubuntu terminal脚本配置
ubuntu 记录1. /etc/profile 每个用户登录都会执行的脚本2. ~/.bash_profile 用户专有执行脚本3.~/.bashrc 每次打开terminal或TAG时执行的脚本。因此可以将以下内容写入~/.bashrc 这样每次打开终端都会使用专有配置。PS1='${debian_chroot:+($debian_chroot)}\[\033[01;0原创 2014-03-29 16:30:14 · 793 阅读 · 0 评论 -
ubuntu下使用ccmake和cmake版本工具实践
(2012-05-16 20:44:07)转载▼标签:杂谈分类:linux学习sudo apt-get install cmake-curses-guiip-10-212-142-121:741 Z$ apt-cache search ccmakecmake-curses-gui - curses based user in原创 2014-07-10 15:55:05 · 6944 阅读 · 0 评论 -
ubuntu12.04上安装remastersys过程
代码:#下载密钥sudo suwget -O - http://www.remastersys.com/ubuntu/remastersys.gpg.key | apt-key add -代码:#添加源sudo echo 'deb http://www.remastersys.com/ubuntu precise main' >> /etc/apt/sources.转载 2014-07-16 11:25:31 · 974 阅读 · 0 评论 -
精简ubuntu12.04的方法
http://forum.ubuntu.com.cn/viewtopic.php?t=395887 要么桌面版慢慢卸载,要么server版安装gui。对于 51 (2014-07-17) (08:25:22) apt-get purge qtcreator 52 (2014-07-17) (08:25:39) apt-get purge qt* 53 (201原创 2014-07-17 10:00:22 · 813 阅读 · 0 评论 -
ubuntu12.04更改登录背景,grub设置背景以及开机过程背景
ubuntu12.04更改登录背景,grub设置背景以及开机过程背景http://blog.sina.com.cn/s/blog_aef2d8550101a017.html在我看来,ubuntu的登录背景都很难看。这是真的,那么我来说一说如何改变背景吧~更改登录背景: 找到/usr/share/backgrounds文件夹。然后你就找到名字为warty-final-ub原创 2014-07-18 15:03:35 · 1948 阅读 · 1 评论 -
设置ubuntu旧版本更新源方法
需要在openqbo的基础上安装软件。发现无法更新。原创 2014-07-09 16:48:39 · 1481 阅读 · 0 评论 -
ubuntu下安装Apache+PHP+Mysql
前端网站搭建 参考 http://www.cnblogs.com/lynch_world/archive/2012/01/06/2314717.html原创 2014-09-22 16:36:28 · 662 阅读 · 0 评论 -
usb-creator-gtk
http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/ubuntu官方推荐的工具,更方便简洁原创 2014-07-30 08:44:47 · 1773 阅读 · 0 评论 -
ssh firefox Error: no display specified
登陆到服务器上,需要使用浏览器来测试网站发布情况。ssh -X root@myip j原创 2014-09-22 16:05:53 · 19621 阅读 · 0 评论 -
txt 转换为 xml
xml解析出现错误:junk after document element原因: 只能有一个deng原创 2014-09-23 11:43:31 · 1145 阅读 · 0 评论 -
Unity与Gnome3 切换。ubuntu 12.04密码正确登录不进的问题
又一次发生了ubuntu12.04账户死活登录不进去的问题。现象:输入帐号和密码确认后,登录窗口闪退。重新回到登录窗口。无任何窗口提示。原装12.04系统为lightdm显示管理器。使用unity桌面环境。使用ftcik中文输入法。解决办法中使用gdm显示管理器。使用gnome3桌面环境。terminal使用gnome-shell. 使用ibus中文输入法。遇到的问题:1.如何原创 2014-12-16 09:08:04 · 852 阅读 · 0 评论