定时备份:1、创建备份文件存放目录2、创建备份脚本backup.sh#!/bin/bash DBUser=db_backDBPasswd=passwordDBName=db_nameSERVER=localhostsave_dir=/dbbackup/LogFile="$save_dir"back....
分类:
数据库 时间:
2014-07-23 15:02:16
阅读次数:
236
document.write()和document.writeln()有什么区别解决思路: 两者都是JavaScript向客户端输出的方法,对比可知写法上的差别是一个ln--line的简写,换言之,writeln 方法是以行输出的,相当于在 winte 输出后加上一个换行符。具体步骤:1.打开一个....
分类:
其他好文 时间:
2014-07-23 14:54:36
阅读次数:
505
http://write.blog.csdn.net/postedit...
分类:
其他好文 时间:
2014-07-23 13:17:08
阅读次数:
256
more命令,是将文件的内容从上到下显示在屏幕上。more会以一页一页的显示方便使用者逐页阅读,而最基本的指令就是按空格键(space)就往下一页显示,按b键就会往回(back)一页显示,而且还有搜寻字串的功能。more命令从前向后读取文件,因此在启动时就加载整个文件。1.命令格式:more[-dl...
分类:
系统相关 时间:
2014-07-23 12:24:26
阅读次数:
273
Another textbook problem. We take back of postorder array as the current root, and then we can split the inorder array: 1st half for current right chi...
分类:
其他好文 时间:
2014-07-23 12:01:56
阅读次数:
210
Back to Kernighan-RitchieInput:Standard InputOutput:Standard OutputYou must have heard the name ofKernighanandRitchie, the authors ofThe C Programming...
分类:
其他好文 时间:
2014-07-23 11:42:16
阅读次数:
298
1、who命令通过读系统日志的内容显示当前已经登录的用户。 2、Unix系统把数据存放在文件中,可以通过以下系统调用操作文件: open(filename, how)
creat(filename, mode)
read(fd, buffer, amt)
write(fd, buffer...
分类:
系统相关 时间:
2014-07-23 00:31:57
阅读次数:
347
本文是Andrew Ng在Coursera的机器学习课程的笔记。整体步骤确定网络模型初始化权重参数对于每个样例,执行以下步骤直到收敛计算模型输出:forward propagation计算代价函数:比较模型输出与真实输出的差距更新权重参数:back propagation确定网络模型神经网络模型由输...
分类:
其他好文 时间:
2014-07-22 23:36:27
阅读次数:
376
shuffle是处在map和reduce之间的过程。我们看一下这个过程都有哪些步骤,对这个问题了解的并不深,可能有错误,忘指正
1. map
map输出key,value,对应代码里的context.write(key, value);,这个步骤是将key,value写到内存buffer里了,这个内存的默认大小是100M
2. sort
当数据大小超过buffer容量的80%(默认)时,会...
分类:
其他好文 时间:
2014-07-22 22:39:53
阅读次数:
295
一.代码部分 public static void initJavascript() { HttpContext.Current.Response.Write(" "); HttpContext.Current.Response.Write("...
分类:
其他好文 时间:
2014-07-22 22:37:14
阅读次数:
159