码迷,mamicode.com
首页 >  
搜索关键字:head tail ‘tail -f’ ‘tail -f’    ( 36072个结果
HDU 4405
简单的概率DP,求期望,逆推更好。#include #include #include #include #define N 100005using namespace std;double p[N];struct e{ int u,v; int next;}edge[1010];int head[...
分类:其他好文   时间:2014-11-16 10:41:07    阅读次数:166
centos监视文件系统脚本
vi /root/dfmon.sh#!/bin/bash#AUTHOR:kiki#DATE:20141115#PURPOSE:be used to monitor file system.fsvalue=80dfwork="/tmp/dfwork">$dfworkdf |tail -n +2 |aw...
分类:其他好文   时间:2014-11-15 22:58:19    阅读次数:224
Linux命令学习(14) head 命令
head与tail就像它的名字一样的浅显易懂,它是用来显示开头或结尾某个数量的文字区块,head用来显示档案的开头至标准输出中,而tail想当然尔就是看档案的结尾。1.命令格式:head[参数]...[文件]...2.命令功能:head用来显示档案的开头至标准输出中,默认head命令打印其相应文件的...
分类:系统相关   时间:2014-11-15 12:43:00    阅读次数:256
Remove Nth Node From End of List
Given a linked list, remove thenthnode from the end of list and return its head.For example, Given linked list: 1->2->3->4->5, and n = 2. After re...
分类:其他好文   时间:2014-11-14 22:27:28    阅读次数:175
Linux日志分析常用命令
1.查看文件内容cat-n 显示行号2.分页显示moreEnter 显示下一行空格 显示下一页F 显示下一屏B 显示上一屏less/get 查询"get"字符串并高亮显示3.显示文件尾tail-f 不退出持续显示-n 显示文件最后n行4.显示头文件head-n 显示文件开始n行5.内容排序sort-...
分类:系统相关   时间:2014-11-14 20:54:32    阅读次数:193
关于knob.js进度插件的使用
关于这个插件,妹的,第一次使用坑死爹了,各种不会,幸亏我有持之以恒的精神,最终还是让其臣服于我的胯下。。。。1. 引入head 部分添加knob.js,同时引入excanvas.js这个文件主要为了兼容IE7,8,具体ie6没测试(可以不考虑了);2. 环形样式的修改默认样式是这样定义的;修改样式,...
分类:Web程序   时间:2014-11-14 19:24:56    阅读次数:233
获取链接中的参数值
如何获取地址中的参数想要获取这个链接地址中的参数可以在jsp中用java片段获取,在<head>中<%Stringtype=request.getParameter("type");%><scripttype="text/javascript">vartype=<%=type%>;</script>可以再js中使用这个type,开始只是需要这个..
分类:其他好文   时间:2014-11-14 18:05:08    阅读次数:205
百度地图开放API示例整理-基本地图和控件
<%@pagelanguage="java"contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%> <!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <metahttp-equiv="Content-Type"conte..
分类:Windows程序   时间:2014-11-14 17:59:14    阅读次数:335
LeetCode Solutions : Swap Nodes in Pairs
Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algorithm should use only constant space. Y...
分类:其他好文   时间:2014-11-14 14:22:50    阅读次数:164
C++ 文件加解密
通过文件二进制数据 与密钥进行异或处理,可加密文件 #ifndef __ENCRYPT__HEAD__ #define __ENCRYPT__HEAD__ #include #include namespace Crypto { /* 加密文件数据: 参数: filePath 需要加密的文件路径 k...
分类:编程语言   时间:2014-11-14 13:51:33    阅读次数:205
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!