其实网上这样的文章已经很多了,这里随便摘出两篇,以供参考1、Puppet
Dashboard的安装与配置2、Puppet学习笔记(CentOS6.3+Puppet3.01)发这篇文章主要说下自己部署过程中踩过的坑:1、在手动导入报告文件到mysql的时候报undefined
method `sour...
分类:
其他好文 时间:
2014-07-22 23:16:15
阅读次数:
390
#-*- coding: cp936 -*- #首行加这个
代码里就可以加注释raw_input("Press Enter Exit") #最后一行加这个,可以直接点击脚本运行脚本l[a:b] = [c]
#即用右边的[c]完全替换a到b-1个元素http://www.cnblogs.com/zhe...
分类:
编程语言 时间:
2014-07-22 23:14:54
阅读次数:
369
Reverse Words in a
String题目链接:http://oj.leetcode.com/problems/reverse-words-in-a-string/ Given an
input string, reverse the string word by word. F...
分类:
其他好文 时间:
2014-07-22 23:13:32
阅读次数:
309
package 动态代理扩展List;import
java.lang.reflect.InvocationHandler;import java.lang.reflect.Method;import
java.lang.reflect.Proxy;import java.util.ArrayLis...
分类:
其他好文 时间:
2014-07-22 23:13:12
阅读次数:
312
Chapter3: The C in C++ (2)Bitwise
operators(1)The bitwise exclusive or, or xor (^) produces a one in the output
bit if one or the other input bit is a...
分类:
编程语言 时间:
2014-07-22 23:11:16
阅读次数:
618
public
booleanonInterceptTouchEvent(MotionEventev) Implement this method to intercept
all touch screen motion events. This allows you to watch events....
分类:
移动开发 时间:
2014-07-22 23:07:55
阅读次数:
537
#includemain(){ int a[2][3],b[3][2]; int
i,j; //input a for(i=0;i<2;i++) { for(j=0;j<3;j++) {
scanf("%d",&a[i][j]); } } // zhuanzhi b for(j=0...
分类:
其他好文 时间:
2014-04-30 16:04:17
阅读次数:
261
错误描述:Illegal overloaded getter method with
ambiguous type for property parent in class class cn.domain.Menu. This breaks
the JavaBeans specification a...
分类:
其他好文 时间:
2014-04-30 15:24:40
阅读次数:
6857
一、sessionStorage和localStorage
sessionStorage和localStorage两种方法都是当用户在inPut文本框中输入内容并点击保存数据按钮时保存数据,点击读取数据按钮时读取保存后的数据。不过使用sessionStorage时,只能局限于当前页面,如果关闭浏览器...
分类:
数据库 时间:
2014-04-30 13:24:39
阅读次数:
483
原文:ASP.NET MVC 5 - 验证编辑方法(Edit method)和编辑视图(Edit
view)在本节中,您将验证电影控制器生成的编辑方法(Edit action
methods)和视图。但是首先将修改点代码,使得发布日期属性(ReleaseDate)看上去更好。打开Models \ M...
分类:
Web程序 时间:
2014-04-29 16:44:46
阅读次数:
714