码迷,mamicode.com
首页 >  
搜索关键字:save your cat    ( 40251个结果
LeetCode: Single Number Ⅱ
Given an array of integers, every element appears three times except for one. Find that single one. Note: Your algorithm should have a linear runtime ...
分类:其他好文   时间:2014-05-27 00:10:26    阅读次数:319
linux系统资源信息监控
系统# uname -a # 查看内核/操作系统/CPU信息 # head -n 1 /etc/issue # 查看操作系统版本 # cat /proc/cpuinfo # 查看CPU信息 # hostname # 查看计算机名 # lspci -tv # 列出所有PCI设备 # lsusb -tv...
分类:系统相关   时间:2014-05-26 22:56:12    阅读次数:391
ubuntu64bits环境下搭建Opencl的环境
此文介绍 ubuntu 平台下配置 AMD/ATI Opencl 环境,我是ubuntu 12.04。主要分为六个步骤:1. Take a look at your hardware to make sure it’s compatible 先安装驱动,http://support.amd.com....
分类:其他好文   时间:2014-05-26 15:51:53    阅读次数:384
git命令总结
学会这些命令,你就可以熟练的使用Git工具了,什么?想精通,那是不可能的。基本上,Git就是以下面的命令顺序学习的。文中笔记是从廖雪峰老师的Git教程中总结出来的,方面查阅命令。详细原理请看Git教程。1、基础git config --global user.name "Your Name"设置你的...
分类:其他好文   时间:2014-05-26 15:40:06    阅读次数:329
linux cat 命令详解--转
使用方式:cat [-AbeEnstTuv] [--help] [--version] fileName说明:把档案串连接后传到基本输出(萤幕或加 > fileName 到另一个档案)参数:-n 或 --number 由 1 开始对所有输出的行数编号-b 或 --number-nonblank 和 ...
分类:系统相关   时间:2014-05-26 15:24:06    阅读次数:440
HDU 1048 What Is Your Grade? (简单模拟)
What Is Your Grade? Problem Description “Point, point, life of student!” This is a ballad(歌谣)well known in colleges, and you must care about your...
分类:其他好文   时间:2014-05-23 00:59:22    阅读次数:375
[ACM] hdu 1242 Rescue (BFS+优先队列)
Rescue Problem Description Angel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M Angel's friends want to save Angel. Their task is: a...
分类:其他好文   时间:2014-05-23 00:06:37    阅读次数:482
Linux下基于源码方式安装MySQL 5.6
MySQL为开源数据库,因此可以基于源码实现安装。基于源码安装有更多的灵活性。也就是说我们可以针对自己的硬件平台选用合适的编译器来优化编译后的二进制代码,根据不同的软件平台环境调整相关的编译参数,选择自身需要选择不同的安装组件,设定需要的字符集等等一些可以根据特定应用场景所作的各种调整。本文描述了如何在源码方式下安装MySQL.1、安装环境及介质#安装环境SZDB:~ # cat /etc/iss...
分类:数据库   时间:2014-05-22 18:40:53    阅读次数:424
Linux平台下裸设备的绑定:
修改/etc/udev/rules.d/60-raw.rules文件 # 现在我们把/dev/sdb1 知道到raw1上,就可以在/etc/udev/rules.d/60-raw.rules文件里添加如下内容: [root@centos~]#vi /etc/udev/rules.d/60-raw.rules Cat >> /etc/udev/rules.d/60-raw.rules<< EOF ACTION=="add",KERNEL=="sdb1",RUN+="/bin/raw /dev/raw/r...
分类:系统相关   时间:2014-05-22 18:38:24    阅读次数:400
LeetCode: Jump Game II [044]
【题目】 Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Your goal is to reach the last index in the minimum number of ju...
分类:其他好文   时间:2014-05-22 17:02:20    阅读次数:244
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!