2016年3月16日

删除链表中的元素

摘要: 删除链表中等于给定值val的所有节点。 给出链表 1->2->3->3->4->5->3, 和 val = 3, 你需要返回删除3之后的链表:1->2->4->5。 迷惑点:陷入没有表头的陷阱,总是想记下删除节点的先驱,导致折腾了很久,其实只要人为加一个表头就简单很多了!! 阅读全文

posted @ 2016-03-16 15:20 xweel 阅读(253) 评论(0) 推荐(0) 编辑

2016年3月12日

ubuntu技巧

摘要: 在终端界面里面查找,命令:ctrl + shift +f VMware 中 Ubuntu 不能全屏: 转到虚拟机-->安装VMware Tools 把装载的 VMware Tools CD里面的VMwareTools.x.x.x-xxxx.tar.gz文件解压到桌面 cd进入解压位置,运行 sudo 阅读全文

posted @ 2016-03-12 11:34 xweel 阅读(142) 评论(0) 推荐(0) 编辑

2016年3月10日

shell学习

摘要: readlink是linux系统中一个常用工具,主要用来找出符号链接所指向的位置。 定义变量“=”两边不能有空格,否则会被shell解析错误。 tee 同时将输出内容显示在屏幕上、记录在文件里 三种引号‘’,“”,``。 rm -rf ‘my document’ ----当命令行里面包含空格时,用单 阅读全文

posted @ 2016-03-10 16:36 xweel 阅读(165) 评论(0) 推荐(0) 编辑

2016年3月8日

PyCharm小技巧

摘要: pycharm中配置main函数执行输入参数: Run->Edit Configurations->Script Parames 阅读全文

posted @ 2016-03-08 21:57 xweel 阅读(202) 评论(0) 推荐(0) 编辑

How to install torcs package in Debian

摘要: Installation instructions Installing torcs package in Debian Wheezy is as easy as running: 没想到在debian上安装TORCS,如此简单:一句命令,所有的依赖全装好了!nice~ apt-get instal 阅读全文

posted @ 2016-03-08 21:19 xweel 阅读(184) 评论(0) 推荐(0) 编辑

QT4.8.6静态编译

摘要: 下载源安装程序,http://download.qt.io/archive/qt/4.8/4.8.6/qt-everywhere-opensource-src-4.8.6.tar.gz 解压 cd 进入解压后的目录,命令 ./configure -static -release -opensourc 阅读全文

posted @ 2016-03-08 20:48 xweel 阅读(1025) 评论(0) 推荐(0) 编辑

Debian初识(选择最佳镜像发布站点加入source.list文件)

摘要: 选择最佳镜像发布站点加入source.list文件:netselect,netselect-apt “该将哪个Debian镜像发布站点加入source.list文件?”。有很多方法来选择镜像发布站点,专家们可能会写一个脚本去测试 不同站点的ping时间。不过其实有一个程序可以帮你: netselec 阅读全文

posted @ 2016-03-08 15:28 xweel 阅读(844) 评论(0) 推荐(0) 编辑

2016年2月21日

Dev-C++ 小问题锦集

摘要: C++ project cann't debug Your project does not have debugging information, do you want to enable debugging and rebuild your project? 解决办法: 在tools 菜单下的 阅读全文

posted @ 2016-02-21 21:10 xweel 阅读(235) 评论(0) 推荐(0) 编辑

2016年2月18日

ubuntu 12.04lts 安装mysql ,并通过QT连接

摘要: 安装server$ sudo apt-get install mysql-server 安装驱动 $ sudo apt-get install libqt4-sql-mysql $ dpkg --list | grep mysql ii libdbd-mysql-perl 4.020-1build2 阅读全文

posted @ 2016-02-18 18:58 xweel 阅读(245) 评论(0) 推荐(0) 编辑

2016年1月15日

win7下安装ubuntu14.04lts 双系统

摘要: 首先,在win7下的硬盘管理 压缩出一块空闲的分区,即压缩卷之后,不做任何操作。 并且确保该空闲卷是“基本”类型 并且确保该空闲卷是“基本”类型 不是的话,参考http://www.jianshu.com/p/2f0731274ee6 分区空闲,不可用!! 如果显示的未识别,则需要将windows硬 阅读全文

posted @ 2016-01-15 00:11 xweel 阅读(190) 评论(0) 推荐(0) 编辑

导航