1、su 命令作用:su的作用是变更为其它使用者的身份,超级用户除外,需要键入该使用者的密码。 使用方式:su?[-fmp]?[-c?command]?[-s?shell]?[--help]?[--version]?[-]?[USER?[ARG]]? 参数说明: -f...
分类:
系统相关 时间:
2014-12-04 01:11:12
阅读次数:
196
序言: 业务报警订单提交异常,页面一直没有反应,排查后是事务没有提交或者回滚导致,想到如果及时监控事务的运行状态报警出来,那么就可以及时排查出问题所在,方便运营处理,所以自己就弄了一个shell脚本放在nagios来处理事务报警情况。1,编写事务监控脚本 #!/bin/bash# author: tim.man# version: 1.0# desc: check the RUNNI...
分类:
移动开发 时间:
2014-12-04 01:11:08
阅读次数:
257
At the Department for Bills and Coins, an extension of today's monetary system has newly been proposed, in order to make it fit the new economy better. A number of new so called e-coins will be produc...
分类:
其他好文 时间:
2014-12-04 01:04:21
阅读次数:
229
In this problem you are asked to convert a string into a palindrome with minimum number of operations. The operations are described below:
Here you’d have the ultimate freedom. You are allowed to:...
分类:
其他好文 时间:
2014-12-04 01:03:49
阅读次数:
138
package lianxi4; public abstract class Employee { private String name; private int number; private MyDate birthday;
public String getName() { return n...
分类:
其他好文 时间:
2014-12-04 00:55:23
阅读次数:
262
今天在自己的centos机子上安装jdk,发现以前的教程都比较旧了,很多东西都过时了。今天把自己安装的感受写一下。判断是否安装首先,我们得判断机子上是不是安装了jdk,好多人推荐使用java -version命令。我的计算机上使用java -version命令,内容如下:java version "...
分类:
其他好文 时间:
2014-12-04 00:45:28
阅读次数:
224
HLSL的基本语法
1 数据类型
1.1 标量类型
1. bool: True or false .Note that the HLSL provides the true and false keywordslike in C++.
2. int: 32-bit signedinteger.
3. half: 16-bit-floatingpoint number.
4. flo...
分类:
其他好文 时间:
2014-12-03 23:26:12
阅读次数:
1711
水晶报表VS2010版IDE安装标准版SAP Crystal Reports, version for Visual Studio 2010 - Standard:下载地址:http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13...
分类:
Web程序 时间:
2014-12-03 23:09:38
阅读次数:
349
不用库函数,自己编写一个字符串复制函数。 1 //Version 1 2 1 char * mystrcpy(char * dest, const char * src) 3 2 { 4 3 char *d = dest; 5 4 6 5 assert((dest != ...
分类:
其他好文 时间:
2014-12-03 23:09:34
阅读次数:
266
Combination Sum IIGiven a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers s...
分类:
其他好文 时间:
2014-12-03 23:05:22
阅读次数:
328