图1 图2 图3图2、3 参考链接:点击打开链接来源:MSDN至此,对数据库引擎有了一定了解。 Read More
posted @ 2013-05-18 20:25
javawebsoa
Views(312)
Comments(0)
Diggs(0)
public static int getDutyDays(java.util.Date startDate,java.util.Date endDate) { int result = 0; java.text.SimpleDateFormat df = new java.text.SimpleDateFormat("yyyy-MM-dd"); while (startDate.compareTo(endDate) <= 0) { if (startDate.getDay() != 6 && startDate.getDay() != 0) resu Read More
posted @ 2013-05-18 20:22
javawebsoa
Views(2082)
Comments(0)
Diggs(0)
三星S5PV210之芯灵思Sin210与TIBeagleboneBlack之对比1.外观对比Ø芯灵思Sin210ØTIBeagleboneBlack2.尺寸对比Ø芯灵思Sin210采用核心板+底板结构,核心板尺寸5CM*6CM;底板尺寸10.6CM*15CMØTIBeagleboneBlack8.636cm*5.334cm3.配件对比Ø芯灵思Sin210ØTIBeagleboneBlack只提供一块板子+miniUSB线4.液晶LCD对比Ø芯灵思Sin210标配4.3电阻触摸屏ØTIBeagleboneBlack无 Read More
posted @ 2013-05-18 20:18
javawebsoa
Views(301)
Comments(0)
Diggs(0)
上篇笔记主要介绍了与TIME_WAIT相关的基础知识,本文则从实践出发,说明如何解决文章标题提出的问题。1. 查看系统网络配置和当前TCP状态 在定位并处理应用程序出现的网络问题时,了解系统默认网络配置是非常必要的。以x86_64平台Linux kernelversion 2.6.9的机器为例,ipv4网络协议的默认配置可以在/proc/sys/net/ipv4/下查看,其中与TCP协议栈相关的配置项均以tcp_xxx命名,关于这些配置项的含义,请参考这里的文档,此外,还可以查看linux源码树中提供的官方文档(src/linux/Documentation/ip-sysctl.t... Read More
posted @ 2013-05-18 20:15
javawebsoa
Views(18259)
Comments(0)
Diggs(0)
今天在做Tomcat性能调优的时候,查了些资料,Tomcat主要有俩个地方需要调优1、启动的时候JVM的内存调优,其中包含了系统的JVM可使用数、垃圾回收效率与线程阻塞情况、增加了系统响应效率,重点加红了。export JAVA_OPTS="-server -Xms1400M -Xmx1400M -Xss512k -XX:+AggressiveOpts -XX:+UseBiasedLocking -XX:PermSize=128M -XX:MaxPermSize=256M -XX:+DisableExplicitGC -XX:MaxTenuringThreshold=31 -XX:+ Read More
posted @ 2013-05-18 20:11
javawebsoa
Views(261)
Comments(0)
Diggs(0)
最近有一个项目,是要用程序把学校里一个年级的学籍信息经过处理合成一个表,小学共六个年级,生成六张表,而且是*.xls文件,通过查找资料我决定使用Office PIA来试试。我最开始查到我资料是说要在Add Referrence里加入Microsoft.Office.Interop.Excel,不过这样一来程序的移植性就差了,没有安装Office对应版本的电脑上就没法儿运行了,于是我做出了一个艰难的决定,把Microsoft.Office.Interop.Excel.dll导出来。可是各家有各家的说法,偶然从http://support.microsoft.com/kb/897646页面发现安装 Read More
posted @ 2013-05-18 20:07
javawebsoa
Views(4075)
Comments(0)
Diggs(0)
package mainimport "fmt"import "os"var ( a int b int)func testArrayParmter(arr [2]int) { //arr传进来是个副本,所以函数内改变arr,对外部不影响 println("") for i := range arr { arr[i] += 1 print(arr[i]) if !(i+1 == len(arr)) { print(",") } } println("")}func testSliceParmte Read More
posted @ 2013-05-18 20:04
javawebsoa
Views(217)
Comments(0)
Diggs(0)
这两个事件很常见。了解这两个事件的区别,但是实际并没有使用到这两个事件的区别去做一些操作。通常使用onclick的时候也可以使用onmousedown,使用onclick的时候更多一些。今天碰到了非使用onmousedown不可的时候,故特此记录。先说一下区别:onclick是在鼠标点击弹起之后触发的事件。onmousedown是在鼠标按下之后触发的事件。简单的说onclick = onmousedown + onmouseup;如果在某个地方按下鼠标后移开鼠标在另外一个地方松开鼠标会触发onmousedown事件,但是onclick事件却不会被触发。我们今天要实现的功能是点击a标签,切换到另 Read More
posted @ 2013-05-18 20:00
javawebsoa
Views(1189)
Comments(0)
Diggs(0)
1、下载与安装scipyscipy下载链接:http://www.scipy.org/Download#head-0dfc04e10313d2e70988c6cb3bef7a9e09860c8f 同时可以下载说明文档链接http://docs.scipy.org/doc/ 2、wav文件写操作 3、signal.chirp函数使用说明 4、点击按钮实现信号生成,点击按钮实现信号显示 5、Python代码#!usr/bin/env python#code=utf-8from Tkinter import *import waveimport numpy as npimport scipy... Read More
posted @ 2013-05-18 19:57
javawebsoa
Views(3289)
Comments(0)
Diggs(1)
// Combination2.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include "stdio.h"#include "iostream"using namespace std;int Combination_recursion(int n,int k);int _tmain(int argc, _TCHAR* argv[]){ int n,k; cin>>n>>k; cout<& Read More
posted @ 2013-05-18 19:53
javawebsoa
Views(201)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号