自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(71)
  • 资源 (15)
  • 收藏
  • 关注

原创 解决Ubuntu14.04 LTS中Chrome死机的问题

1. 通过命令行启动 google-chrome –disable-gpu2. 通过点击图标启动进入/usr/share/applications cd /usr/share/applications编辑Chrome的desktop文件: vim google-chrome.desktop在所有的Exec命令后面添加–disable-gpu选项: Exec=/usr/bin/g

2016-01-06 20:04:57 1535

转载 Virtual, Linear, and Physical Addresses

link: http://www.on-time.com/rtos-32-docs/rttarget-32/programming-manual/x86-cpu/protected-mode/virtual-linear-and-physical-addresses.htm_____________________________________________________________

2015-06-19 20:38:52 666

转载 UML序列图总结

转载请注明出处:htt://blog.csdn.net/tianhai110 序列图主要用于展示对象之间交互的顺序。序列图将交互关系表示为一个二维图。纵向是时间轴,时间沿竖线向下延伸。横向轴代表了在协作中各独立对象的类元角色。类元角色用生命线表示。当对象存在时,角色用一条虚线表示,当对象的过程处于激活状态时,生命线是一个双道线。消息用从一个对象的生命线到另一个对象生命线的箭头表示。

2015-02-07 10:42:52 628

转载 UML类图几种关系的总结

http://blog.csdn.net/tianhai110/article/details/6339565  ____________________________________________________在UML类图中,常见的有以下几种关系: 泛化(Generalization),  实现(Realization),关联(Association),聚合(Aggrega

2015-02-07 10:31:37 434

转载 How to statically link Qt 4

原文地址:http://www.formortals.com/how-to-statically-link-qt-4/————————————————————————————————How to statically link Qt 4September 4, 2009Charles N. Burns25 CommentsMake your entire

2015-01-30 11:40:41 644

转载 SQL 多表联合查询

很少用join,这次学学,并备忘两篇文章!转自:http://hcx-2008.javaeye.com/blog/285661连接查询 通过连接运算符可以实现多个表查询。连接是关系数据库模型的主要特点,也是它区别于其它类型数据库管理系统的一个标志。 在关系数据库管理系统中,表建立时各数据之间的关系不必确定,常把一个实体的所有信息存放在一个表中。当检索数据时,通过连接操作查询

2015-01-11 23:41:29 2949

转载 Linux下vim中文乱码的解决方法

在vim中编辑一个中文文本时,有时候看起来有乱码,以前都是修修补补的弄没有乱码了就不管了,这个问题一直都很困扰我。突然想到这个问题,于是想把它给解决掉,在网上查了许久,有很多这方面的资料,但是说得不是很到位,经过了一天的折腾,将vim卸载了很多次,也安装了很多次,并做了一些小测试,今天终于搞定了。 1、下载   可到http://www.vim.org/下载最新的7.3版本的vim源码

2014-10-29 14:03:04 535

转载 Unix系统下安装PHP+Nginx

网上关于如何在Unix/Linux系统下安装Nginx+PHP的文章很多,但是差异

2014-10-29 11:14:51 1097

原创 Qt常用

Qt中隐藏标题栏:

2014-10-16 20:44:54 1056

转载 用GDB调试程序(二)

GDB的命令概貌———————启动gdb后,就你被带入gdb的调试环境中,就可以使用gdb的命令开始调试程序了,gdb的命令可以使用help命令来查看,如下所示:    /home/hchen> gdb    GNU gdb 5.1.1    Copyright 2002 Free Software Foundation, Inc.    GDB is free softw

2014-10-01 23:31:30 407

转载 用GDB调试程序(一)

用GDB调试程序GDB概述————GDB是GNU开源组织发布的一个强大的UNIX下的程序调试工具。或许,各位比较喜欢那种图形界面方式的,像VC、BCB等IDE的调试,但如果你是在UNIX平台下做软件,你会发现GDB这个调试工具有比VC、BCB的图形化调试器更强大的功能。所谓“寸有所长,尺有所短”就是这个道理。一般来说,GDB主要帮忙你完成下面四个方面的功能:    1、启动你的

2014-10-01 23:29:49 454

转载 Trie树:应用于统计和排序

1. 什么是trie树  1.Trie树 (特例结构树)        Trie树,又称单词查找树、字典树,是一种树形结构,是一种哈希树的变种,是一种用于快速检索的多叉树结构。典型应用是用于统计和排序大量的字符串(但不仅限于字符串),所以经常被搜索引擎系统用于文本词频统计。它的优点是:最大限度地减少无谓的字符串比较,查询效率比哈希表高。     Trie的核心思想是空间换时间。利用

2014-09-26 22:49:15 611

转载 从set/map谈到hashtable/hash_map/hash_set

1、从set/map谈到hashtable/hash_map/hash_set   稍后本文第二部分中将多次提到hash_map/hash_set,下面稍稍介绍下这些容器,以作为基础准备。一般来说,STL容器分两种:    序列式容器(vector/list/deque/stack/queue/heap),        关联式容器。关联式容器又分为set(集合)和map(映射表)两大

2014-09-25 20:18:20 603

转载 Installing C++11 on Ubuntu 12.04 LTS

原文地址:http://clark.ws/2013/08/26/installing-c11-on-ubuntu-12-04-lts/Installing C++11 on Ubuntu 12.04 LTSAugust 26, 2013 byColin Clark ·1 CommentI used to code in C.  In fact, I wrote a lo

2014-09-25 10:44:19 784

原创 【LeetCode】Binary Tree Level Order Traversal II

题目:Binary Tree Level Order Traversal IITotal Accepted: 18664 Total Submissions: 59503 Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from le

2014-09-23 21:26:19 495

原创 【LeetCode】Best Time to Buy and Sell Stock III

https://oj.leetcode.com/problems/best-time-to-buy-and-sell-stock-iii/这题

2014-09-23 18:57:27 490

原创 【LeetCode】Best Time to Buy and Sell Stock II

https://oj.leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/每笔赚钱交易都做:

2014-09-23 18:51:29 455

原创 【LeetCode】Best Time to Buy and Sell Stock

Say you have an array for which the ith element is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the stock),

2014-09-23 18:48:54 474

原创 【LeetCode】Word Break

Given a string s and a dictionary of words dict, determine ifs can be segmented into a space-separated sequence of one or more dictionary words.For example, givens = "leetcode",dict = ["leet",

2014-09-23 18:41:50 471

原创 二叉树的图形显示

二叉树在终端中的图形化输出

2014-09-15 16:06:34 27165 7

原创 【LeetCode】Linked List Cycle II

Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space?思路:        首先利用快慢在

2014-08-28 00:00:25 462

原创 【LeetCode】Reorder List

Given a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.For example,Given {1,2,3,4}, reorder it to {1,4

2014-08-27 23:34:02 351

原创 【UVaOJ】133 - The Dole Queue

The Dole Queue In a serious attempt to downsize (reduce) the dole queue, The NewNational Green Labour Rhinoceros Party has decided on the followingstrategy. Every day all dole applicants

2014-08-16 00:07:38 574

原创 【UVaOJ】101 - The Blocks Problem

The Blocks Problem Background Many areas of Computer Science use simple, abstract domains for both analytical and empirical studies. For example, an early AIstudy of planning and rob

2014-08-15 17:34:44 448

原创 【UVaOJ】127 - "Accordian" Patience

``Accordian'' Patience You are to simulate the playing of games of ``Accordian'' patience, the rules for which are as follows:Deal cards one by one in a row from left to right, not ove

2014-08-15 16:06:10 483

原创 【LeetCode】LRU Cache

LRU CacheDesign and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:get and set.get(key) - Get the value (will always be positive)

2014-08-13 23:24:56 423

原创 【LeetCode】Insertion Sort List

Sort a linked list using insertion sort.

2014-08-11 00:19:02 415

原创 【LeetCode】Reverse Words in a String

题目地址:https://oj.leetcode.com/problems/reverse-words-in-a-string/描述:        给定一个字符串S, 以单词为单位逆序输出,如输入:"the sky is blue",则输出“blue is sky the".        单词的定义:连续的非空白字符序列。        输入字符可以以空白字符开头和结尾

2014-07-25 23:52:47 586

原创 MIT6.828 Fall 2012 Lab 1: Booting a PC

一、环境:    Ubunt

2014-07-22 15:54:11 1780

原创 又删了一门MOOC公开课

本来在MOOC上选了4门课,刚开始都可以跟上进度,

2014-04-16 16:30:07 1200

转载 算法-求二进制数中1的个数

算法-求二进制数中1的个数问题描述任意给定一个32位无符号整数n,求n的二进制表示中1的个数,比如n = 5(0101)时,返回2,n = 15(1111)时,返回4这也是一道比较经典的题目了,相信不少人面试的时候可能遇到过这道题吧,下面介绍了几种方法来实现这道题,相信很多人可能见过下面的算法,但我相信很少有人见到本文中所有的算法。如果您上头上有更好的算法,或者本文没有提到

2014-03-05 21:06:56 607

原创 [LeetCode] Evaluate Reverse Polish Notation

题目:http://oj.leetcode.com/problems/evaluate-reverse-polish-notation/Evaluate Reverse Polish Notation Total Accepted: 5988 Total Submissions: 31842My SubmissionsEvaluate t

2014-02-21 00:19:08 545

原创 【LeetCode】Binary Tree Preorder Traversal

地址:http://oj.leetcode.com/problems/binary-tree-preorder-traversal/Binary Tree Preorder Traversal Total Accepted: 9880 Total Submissions: 28874My SubmissionsGiven a binary tre

2014-02-20 21:47:07 486

原创 【LeetCode】Binary Tree Level Order Traversal

地址:http://oj.leetcode.com/problems/binary-tree-level-order-traversal/#Binary Tree Level Order Traversal Total Accepted: 7502 Total Submissions: 24956My SubmissionsGiven a

2014-02-20 21:32:14 465

原创 【LeetCode】Linked List Cycle

题目地址:http://oj.leetcode.com/problems/linked-list-cycle/解法:没有说不可以改变节点里的值,所以我是对每个经过的节点里的变量val,赋予一个特殊值,然后通过判断是否会遇到这个特殊值来判断是否存在环。** * Definition for singly-linked list. * struct ListNode

2014-02-20 20:20:56 449

原创 【UVaOJ】712 - S-Trees

S-Trees A Strange Tree (S-tree) over the variable set  is a binary tree representing a Boolean function . Each path of the S-tree begins at the root node and consists of n+1 nodes. E

2014-01-06 20:49:52 591

原创 【UVaOJ】196 - Spreadsheet

Spreadsheet In 1979, Dan Bricklin and Bob Frankston wrote VisiCalc, the first spreadsheet application. It became a huge success and, at that time, was the killer application for the Apple

2014-01-05 17:19:47 695

转载 Qt creator常用快捷键

原文地址:http://www.cnblogs.com/mikewolf2002/archive/2012/02/03/2336474.htmlF2        跳转到函数定义Shift+F2    声明和定义之间切换F4        头文件和源文件之间切换Ctrl+1         欢迎模式Ctrl+2        编辑模式Ctrl+3    

2014-01-03 15:00:35 565

原创 【UVaOJ】 657 - The die is cast

InterGames is a high-tech startup company that specializes in developing technology that allows users to play games over the Internet. A market analysis has alerted them to the fact that games of chan

2014-01-03 00:25:52 641 2

原创 【UVaOJ】401 Palindromes

PalindromesA regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "ABCDEDCBA" is a palindrome because it is the same when the string

2013-12-25 13:32:20 599

SPI, 6800,8080

SPI, Intel 8080, and Motorola 6800 communication protocol between MCU and OLED driver

2013-10-12

《算法导论》高清英文pdf版本

算法导论,之前上传过chm格式的,这个是pdf格式的

2013-10-02

算法导论(英文版第三版)

《算法导论》英文版,网上还有公开课视频,二者结合着学习效果很好,推荐!

2013-10-02

我眼中的的指针

之前对于指针的一些概念一直不懂,最近看了几本关于指针方面的书,挑几个上传上来

2013-04-28

Kinetis Cortex-M4入门与应用实例

挺不错的飞思卡尔Kinetis入门资料.对于刚好用到Kinetix而又没什么基础的同学比较合适

2012-11-27

8086指令系统4

8086指令系统4

2011-12-06

8086指令系统3

8086指令系统3

2011-12-06

8086指令系统2.

8086指令系统,汇编语言 简单 适于基础薄弱,刚接触汇编的人

2011-12-06

8086指令系统

8086汇编语言 指令系统 最近准备期末考试复习时用到的资料

2011-12-06

智能小车路径识别及速度控制系统的实现.

智能小车路径识别及速度控制系统的实现 智能小车路径识别及速度控制系统的实现

2011-12-06

6篇路径识别方面的论文.rar

智能车6篇路径识别方面的论文 6篇路径识别方面的论文

2011-12-04

2009年飞思卡尔智能车大赛特等奖技术报告 节选

2009年飞思卡尔智能车大赛特等奖技术报告(节选).rar

2011-12-04

CodeWarrior简单教程

飞思卡尔官方对于CodeWarrior的一个简单实用介绍。内容不多,属于入门级的

2011-10-23

学做智能车:挑战飞思卡尔智能车

学做智能车:挑战飞思卡尔杯 对于想参加飞思卡尔智能车比赛的同学很有好处

2011-10-23

VisualStudio2005开放环境

教程附赠资源。还有其他资源,日后会接着上传

2011-09-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除