There are different approaches.
1)
where layou1.do and layout2.do are different pages
2) attach event controller to ,
when clicks on the img, javascript action will be triggered,
make the menu div display="none", swap img src to ShowMenu.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper/docs/api/org/apache/jas
Yeah, I know this site, but it doesn't do much help. thx
server,
server
to
the
the
的
/john/src/compnay/src/com/thecompany/tools/JSPPrecompiler.java
/john/src/compnay/src/com/thecompany/tools/tools/JSPPrecompiler.java:245:
org.apache.jasper.JspC
本人半文科男,新手奇弱无比,按着官网上一步一步来的(用的是ubuntu9.10 64x
ext4)。最后错误信息
Warning: /home/nan/trunk/src/build/images/0.5.27.201001100013-a1/mbr.image
is not a block device
Disk /home/nan/trunk/src/build/images/0.5.27.201001100013-a1/mbr.image:
cannot get geometry
Disk /home/nan/trunk/src/build/images/0.5.27.201001100013-a1/mbr.image: 0
cylinders, 64 heads, 32 sectors/track
sfdisk: ERROR: sector 0 does not have an msdos signature
/home/nan/trunk/src/build/images/0.5.27.201001100013-a1/mbr.image:
unrecognized parti
网上下的一段程序。需要分析复杂度。中间的循环完全把我绕糊涂了。该怎样想呢?
谢谢回帖!
void repmat(char *dest, const char *src, int ndim, int *destdimsize,
int *dimsize, const int *dims, int *rep)
{
int d = ndim-1;
int i, chunk;
/* copy the first repetition into dest */
if(d == 0) {
chunk = dimsize[0];
memcpy(dest,src,chunk);
}
else {
/* recursively repeat each slice of src */
for(i=0;i
repmat(dest + i*destdimsize[d-1], src + i*dimsize[d-1],
ndim-1, destdimsize, dimsize,
对于"git reset --soft"命令,若不加任何branch或者文件名,单独运行该命令是干什
么用的??
I guess 'git reset --soft' is invalid, you have to tell git how many commits
you want to rest 'softly', like, 'git reset --soft HEAD~1', which 'softly'
resets your last commit. When you do reset 'softly' and HEAD~1, the files
you modified and submitted in the last commit become 'modified but not
committed'. For example, in your last 'A5' commit, you modified one single
file 'src/foo.C', when you do 'git status' before you do reset, you wi... 阅读全帖
【 以下文字转载自 Linux 讨论区 】
【 原文由 fpg 所发表 】
I would like to know if below idea has some available tools?
(for linux,unix and C(C++)language)
Suppose I have a binary executable file which is compiled by its source code.
defined as SRC. But SRC is not available to read/write/compile now.
I want to program some new code using the data structure(class,variable...) in
the SRC. Also want to call the procedure and return some value in SRC for my
program uses.
Last, I want to compile my code to be executable.
/Developer/SDKs/MacOSX10.5.sdk/usr/include/architecture/i386/math.h:477:17:
note: 'lroundl' declared here
extern long int lroundl(long double);
^
In file included from ./src/limix/covar/combinators.cpp:15:
In file included from ./src/limix/covar/combinators.h:19:
In file included from src/limix/covar/covariance.h:18:
In file included from src/limix/types.h:18:
In file included from External/Eigen/Dense:1:
In file included from External/Eigen/Core:28:
In file included from /Applic... 阅读全帖
I need to calculate standardized regression
coefficients. the glm only gives me nonstandard coefficients. I googled that
I need a package: QuantPsyc. I
downloaded it but had a lot of trouble to install it into R.
I followed the instruction from the internet using:
install.packages("QuantPsyc",repos="http://cran.r-project.org/src/contrib/QuantPsyc_1.4.tar.gz",type="source")
The outcome is as below:
Warning in install.packages("QuantPsyc", repos =
"http://cran.r-project.org/src/contrib/QuantPsyc_1... 阅读全帖
先安装archlinux
instruction在这里 http://archlinuxarm.org/platforms/armv6/pogoplug-provideov3
如果不想写用arch的uImage覆盖nand
可以这样
Following steps 7 and 8 above, partition and format the drive (using the
correct /dev device, highly likely NOT sda). Download and extract the root
filesystem tarball onto the new ext3 partition as the root user, not just
sudo. Create a file at /usr/local/mac_addr and place in it your Pro's MAC
address (its on the bottom of the unit) in the format XX:XX:XX:XX:XX:XX.
Safely umount ... 阅读全帖
先安装archlinux
instruction在这里 http://archlinuxarm.org/platforms/armv6/pogoplug-provideov3
如果不想写用arch的uImage覆盖nand
可以这样
Following steps 7 and 8 above, partition and format the drive (using the
correct /dev device, highly likely NOT sda). Download and extract the root
filesystem tarball onto the new ext3 partition as the root user, not just
sudo. Create a file at /usr/local/mac_addr and place in it your Pro's MAC
address (its on the bottom of the unit) in the format XX:XX:XX:XX:XX:XX.
Safely umount ... 阅读全帖
Yellow pic -- lewd pic -- report
The original link is http://www.mitbbs.com/article3/Military/34645629_3_n.html
ID is rtkchina
发信人: rtkchina (人天界), 信区: Military 标 题: Re: 那个发gay图的,你真的不
心疼你那失望心痛的母亲吗? 发信站: BBS 未名空间站 (Sat Nov 6 13:03:00 2010,
美东) http://4.bp.blogspot.com/_30YxfvnxEOU/SxCtqVeQDiI/AAAAAAAABzw/eeHdPlGCQH8/s1600/simon_rex_gay_porn.jpg"> http://2.bp.blogspot.com/__o0Dlccf4YI/SwCNn528E3I/AAAAAAAAbuY/2uD_ZMAB2Qs/s1600/Pe... 阅读全帖
Yellow pic -- lewd pic -- report
The original link is http://www.mitbbs.com/article3/Military/34645641_3_n.html
ID is rtkchina
发信人: rtkchina (人天界), 信区: Military 标 题: Re: 美国华裔市长:中国人的
恶习我无法忍受 (转载) 发信站: BBS 未名空间站 (Sat Nov 6 13:05:33 2010, 美东)
http://4.bp.blogspot.com/_30YxfvnxEOU/SxCtqVeQDiI/AAAAAAAABzw/eeHdPlGCQH8/s1600/simon_rex_gay_porn.jpg"> http://2.bp.blogspot.com/__o0Dlccf4YI/SwCNn528E3I/AAAAAAAAbuY/2uD_ZMAB2Qs/s1600/Penis... 阅读全帖
Yellow pic -- lewd pic -- report
The original link is http://www.mitbbs.com/article3/Military/34645645_3_n.html
ID is rtkchina
发信人: rtkchina (人天界), 信区: Military 标 题: Re: 一组数据说明俄国目前生
活水平——实在是太凄惨了 发信站: BBS 未名空间站 (Sat Nov 6 13:06:07 2010, 美
东) http://4.bp.blogspot.com/_30YxfvnxEOU/SxCtqVeQDiI/AAAAAAAABzw/eeHdPlGCQH8/s1600/simon_rex_gay_porn.jpg"> http://2.bp.blogspot.com/__o0Dlccf4YI/SwCNn528E3I/AAAAAAAAbuY/2uD_ZMAB2Qs/s1600/Peni... 阅读全帖
Yellow pic -- lewd pic -- report
The original link is http://www.mitbbs.com/article3/Military/34645645_3_n.html
ID is rtkchina
发信人: rtkchina (人天界), 信区: Military 标 题: Re: 一组数据说明俄国目前生
活水平——实在是太凄惨了 发信站: BBS 未名空间站 (Sat Nov 6 13:06:07 2010, 美
东) http://4.bp.blogspot.com/_30YxfvnxEOU/SxCtqVeQDiI/AAAAAAAABzw/eeHdPlGCQH8/s1600/simon_rex_gay_porn.jpg"> http://2.bp.blogspot.com/__o0Dlccf4YI/SwCNn528E3I/AAAAAAAAbuY/2uD_ZMAB2Qs/s1600/Peni... 阅读全帖