vim mysql.sh#!/bin/bashDAY=`date
+%Y-%m-%d`//日期以年月日显示并赋予DAY变量SIZE=`du -sh
/var/lib/mysql//查看mysql的大小并且赋予变量SIZEecho "Date :$DAY" >>
/tmp/mysqlbak.txt//...
分类:
数据库 时间:
2014-05-30 07:14:46
阅读次数:
240
Spring
AOP+EHCache简单缓存系统解决方案需要使用Spring来实现一个Cache简单的解决方案,具体需求如下:使用任意一个现有开源Cache
Framework,要求可以Cache系统中Service或则DAO层的get/find等方法返回结果,如果数据更新(使用Create/upd...
分类:
编程语言 时间:
2014-05-29 23:27:14
阅读次数:
467
问题:给出的区分大小写的字母字符的字符串,找到最大的字符串X,或者为X,或者其逆可以找到任何给定的字符串的子串输入:输入文件的第一行包含一个整数t(1 2
#include 3 char str[101][101]; 4 int sum1;//每组测试数据中的字符串个数 5 int find_su....
分类:
编程语言 时间:
2014-05-29 21:05:13
阅读次数:
330
一,":substitute"的使用:substitute
命令可以对一个指定范围的区域执行替换操作,可以简写为:s ,它的通用形式如下::[range]substitute/from/to/[flags]
该命令是有[range]指定范围中字符串"from"替换为"to";例如文本的每一行中第一....
分类:
其他好文 时间:
2014-05-29 17:45:18
阅读次数:
255
http://blog.chinaunix.net/uid-23577393-id-1751983.htmlTo
count how often any pattern occurs in the current buffer use the
substitutecommand and add th...
分类:
其他好文 时间:
2014-05-29 17:37:03
阅读次数:
217
转载来的文章用于学习VIM的使用,还有VIM的配置:http://blog.csdn.net/youngyangyang04/article/details/7313191vim的学习曲线相当的大(参看各种文本编辑器的学习曲线),所以,如果你一开始看到的是一大堆VIM的命令分类,你一定会对这个编辑器...
分类:
其他好文 时间:
2014-05-29 14:25:11
阅读次数:
554
Given an arraySofnintegers, find three integers
inSsuch that the sum is closest to a given number, target. Return the sum of the
three integers. You m...
分类:
其他好文 时间:
2014-05-29 11:04:43
阅读次数:
200
从官网下载VIM包,解压,然后执行./configure
--prefix=/usr/local/vim,提示出错信息为:noterminallibraryfound
checkingfortgetent()configure:error:NOTFOUND! Youneedtoinstallater...
分类:
其他好文 时间:
2014-05-29 10:34:57
阅读次数:
304
You are given a string,S, and a list of
words,L, that are all of the same length. Find all starting indices of
substring(s) in S that is a concatenati...
分类:
其他好文 时间:
2014-05-29 09:09:35
阅读次数:
222
Problem: Given a two-dimensional graph with
points on it, find a line which passes the most number of points.此题是Cracking the
code 5th edition 第七章第六题,思...
分类:
其他好文 时间:
2014-05-29 08:10:38
阅读次数:
292