d*o 发帖数: 108 | 1 I have an Java application, say, called 'app1'. I want to write
a B shell script to invoke it. the reason to do that is to
record how many files 'app1' opened by useing 'lsof'. Problems:
1. how to record the output of 'lsof'?
(for example, if it is in Perl, I can do $output = `lsof`. what
is the counterpart in shell script?)
2. in the end of my shell script, I'll invoke the program 'app1'
by just say 'app1'. How can I use 'lsof' again _AFTER_ 'app1'
is running?
one way is to write like this:
app |
|
d**k 发帖数: 1223 | 2 我碰到一个很头大的问题:前后做了两个web application, 这儿就叫app1, app2. 两
个都是用spring security (实际上是acegi) 做authentication. 每个都跑的挺好的。
最近发现一个issue: 我不能用同一个browser同时打开两个app. 就是说,如果我用IE,
打开app1, 然后login, 没有任何问题。如果我再开同一个browser的新窗口,打开
app2, 然后login, 也没问题,但是第一个browser开的app1就被自动的log out 了。
app1 和 app2 都是deploy在同一个weblogic 11g 下面,但是各自有各自不同的
managed server, 用的端口也不一样。
Spring security 的人说这个更能 connected to how sessions are maintained
between the browser and your server.
然后建议我 monitor the session cookies and see whether the two |
|
c**t 发帖数: 2744 | 3 there are two apps running in parallel:
App1, every m minutes, select ETL.load_feed1 from dual;
App2, every n minutes, select ETL.load_feed2 from dual;
Assuming m > n; when app1 update/insert targetTable, app2 comes in and does
same thing. Now app1 will see different state of targetTable, deadlock
happens. |
|
R*****A 发帖数: 127 | 4 op2-app1-a-net#show bootvar
BOOT variable = sup-bootdisk:s72033-ipservicesk9_wan-mz.122-18.SXF15a.bin,1;
CONFIG_FILE variable =
BOOTLDR variable =
Configuration register is 0x2102
Standby is not present.
op2-app1-a-net#show run | inc bin
boot system flash sup-bootdisk:s72033-ipservicesk9_wan-mz.122-18.SXF15a.bin
op2-app1-a-net# |
|
d*g 发帖数: 66 | 5 是这样的,就是一个code base的web application, 但需要给多个用户customize/
deploy 多个不同的sites,就是他们到不同的url 看到大概类是的web sites, 每个site
之间share 大部分的ui and server code,但都有各自不同的ui and server logic.
这个要求稍微有点challenge,现在初步server side code的architecture是这样的
这是大概的结构,实际的会更多details.
customers specified\
client1\app1 (logic, db, service..etc)
client1\app2 (logic, db, service..etc)
celint1\spring-context.xml
client2\app1 (logic, db, service..etc)
client2\app3 (logic, db, service..etc)
client2\spring-context.... 阅读全帖 |
|
s******s 发帖数: 2074 | 6 节拍器的问题,上次我把用来录音的iphone app1跟专门的metronome(which,没有150
和75)校对了下,听了一分钟左右,果然是有滞后。于是放弃那个app1,用另外一个
app2试了试,貌似app2是对的。我前天传的的版本是用app2录的,你看看节拍问题是不
是好些了?
录音位置的问题,我也发现第一版有点"蒙",于是把录音机的位置从地上挪到了椅子
上。你去听听第二版,看是否有改善,是否还要挪得更近?(太近了按键声就会出来,
第二版就有按键声)
222155543那里指的是articulation问题吗?我同意那个地方需要断开一些,已经特意
加重吐音了,是不是还要更跳一点?
同学们,我来报告一下。我试了试初步把各声部合起来,总体来说很满意啊!
我都在考虑还要不要重录,提什么意见呢,也许不用了,呵呵。如果大家还想录的话,
或者只是看一下评论,都可以。
好吧。如下:
settings: 如果重新录的话,几则意见,2221 5554 3这些地方每个重复音能独吹比较
好,另外旋律部分录音再靠近一些,到前景里来一些,太远的话高音好像很少,听起来
模糊(起音的地方attack被房... 阅读全帖 |
|
|
|
w*******s 发帖数: 940 | 9 基本上,用maven可以解决
结构可以这样
parent
logic
db
service
client1
api
app1
app2
client2
api
app1
app2
....
在parent里,把下一的加到里
client下的,也是加到modules里,
然后把logic, db, service加到api, app的dependencies里
到时候想搞client1搞client1
想搞client2就搞client2
想全搞就在parent那搞
site |
|
m******c 发帖数: 830 | 10 谢谢大家的回复。我们最后用了apache shiro, 它里面有个HttpMethod*Filter,把
HttpMethod 自动map成 CRUD operation,然后可以config path URL mapping as
/app1/** myFilter[privilege1]
/app2/** myFilter[privilege2]
这样如果有request as
POST /app1/**
shiro就会把它的 privilege requirement转化成
privilege1:create
如果user有这个privilege, 就go,不然blocked。
嗯,我觉得学RESTful 最好看HTTP specification。
现在很多framework 都提供RESTful service, apache CXF, resteasy 啥的 |
|
|
|
|
|
|
q*******i 发帖数: 353 | 16 美国CS master毕业,现在relocate 到湾区,希望在这边能找CS相关职位,希望哪位好
心人内推(尤其看到amazon最近出了很多湾区职位,不知道有没有amazon的兄弟姐妹帮
个忙)。
CS基础课程基本满分GPA,硕士的thesis是用CUDA做金融方面VaR(value at risk)的加
速,除了CS master的课程学习和project经验,还自己学习了coursea上面几个web
programming还有andriod的课程,做过数个project, 附上自己的project 简介,所有
代码都可以在https://github.com/zzMOM查看。 使用过的语言包括Java, JavaScript,
C,HTML, CSS, SQL,使用过的platform包括Android, GitHub, HeroKu, Node.js, AWS,
Bootstrap, CUDA (GPU programming), MySQL, PostgreSQL, ArcGIS, ERDAS,
Eclipse, Emacs, Vim, 目前也在刷leetcode和CC150.... 阅读全帖 |
|
q*******i 发帖数: 353 | 17 自己再顶一下,附上一个详细一点的project介绍
All source code can be found on https://github.com/zzMOM
Android Projects 10/2013 -
present
• App1: BabyDays
Designed and developed the app using MVC scheme to monitor and record daily
routine of baby, including feeding, diaper changing, sleep, milestones, etc.
It can also be used to share diary and photo with friends, and show chart
and summary of baby’s activities, and filter data.
• App2: Me... 阅读全帖 |
|
|
kr 发帖数: 318 | 19 Web
American Express Serve
You may have seen the recent announcement that the Softcard™ app is
being
discontinued. We wanted to let you know that this could affect the fees
assessed to your American Express Serve Account because your Account will no
longer work in Softcard. Once Softcard is discontinued, you will be charged
a $1 monthly fee. You can avoid this fee by:
• Setting up Direct Deposit so all or part of your paycheck is
added
directly to your Account each month. Enr... 阅读全帖 |
|
m**2 发帖数: 3374 | 20 我的信和你的不一样。
Dear ***,
You may have seen the recent announcement that the Softcard app is being
discontinued. We want to assure you there will be no other changes to your
American Express Serve Account and that it will continue to work outside of
Softcard.
• You can still use your plastic Serve Card in-store or
online at the millions of merchants that accept American Express® Cards
worldwide.
• Your balance will not be affected and you can continue to
manage your... 阅读全帖 |
|
L**i 发帖数: 22365 | 21 You may have seen the recent announcement that the Softcard app is being
discontinued. We want to assure you there will be no other changes to your
American Express Serve Account and that it will continue to work outside of
Softcard.
• You can still use your plastic Serve Card in-store or online at
the millions of merchants that accept American Express® Cards worldwide.
• Your balance will not be affected and you can continue to manage
your Account on your phone with our... 阅读全帖 |
|
y*********e 发帖数: 518 | 22 Softcard™ Changes and Your American Express Serve® Account
You may have seen the recent announcement that the Softcard app is being
discontinued. We want to assure you there will be no other changes to your
American Express Serve Account and that it will continue to work outside of
Softcard.
• You can still use your plastic Serve Card in-store or online at
the millions of merchants that accept American Express® Cards worldwide.
• Your balance will not be affec... 阅读全帖 |
|
u******4 发帖数: 4281 | 23 Today Volume 1,618,193
90-Day Average Volume 765,022 |
|
d**********1 发帖数: 569 | 24 3点多的时候忽然多了700k vol,不知道要干啥 |
|
|
|
|
|
|
x*****g 发帖数: 151 | 30 可以的, bilibili 在supported sites 里面: http://go-youtube.com/app1/help/
现在问题是,host我的网站的网络在北美,访问国内的网站,比如youku或者bilibili
都很慢,经常超时, 我以后加入一个retry logic应该会好很多。 |
|
|
x*****g 发帖数: 151 | 32 可以的, bilibili 在supported sites 里面: http://go-youtube.com/app1/help/
现在问题是,host我的网站的网络在北美,访问国内的网站,比如youku或者bilibili
都很慢,经常超时, 我以后加入一个retry logic应该会好很多。 |
|
|
|
A*******t 发帖数: 40 | 35 脑子不大好使,这个问题咋也没想明白,上来请教一下高手:
我有一个table,大约是这个样子:
************************************
SKU APP SEQ
AT1001 1 1
AT1001 1 2
AT1001 3 6
AT1002 1 2
AT1002 3 1
AT1003 1 1
AT1004 1 2
AT1004 1 3
AT1004 3 1
AT1004 3 2
AT1004 3 3
AT1004 3 4
......
现在想用一个Query来生成一个类似下面的报表:
×××××××××××××××××××××××××××××××××××××
SKU APP1 APP3
AT1001 2 1
AT1002 1 1
AT1003 1 0
AT1004 2 4
......
实在想不明白该如何实现,请求方家则个,多谢!!! |
|
i****a 发帖数: 36252 | 36 select sku
, sum(case when APP = 1 then 1 else 0 end) as APP1
, sum(case when APP = 3 then 1 else 0 end) as APP3
from tablename
group by sku |
|
m*****e 发帖数: 7 | 37 参与对象
业务接口 IBusi1,IBusi2,...,IBusiN
业务实现 Busi1Imp,Busi2Imp,...,BusiNImp
数据操作接口 IData1DAO,IData2DAO,...,IDataNDAO
数据操作实现 ORMData1DAO,ORMData2DAO,...,ORMDataNDAO
应用 BaseApp,App1,App2,...,AppN
//
业务接口是为各类应用而建的,比如findByXXX(),saveXXX()
而实现该业务接口就是在类中引用一个该业务的DAO接口,比如
IBusi2中有一个findByName(),而Busi2Imp中定义了一个IData2DAO的私有变量
并设置了这个IData2DAO的相关存取方法,即setData2DAO(),getData2DAO()
|
|
m******t 发帖数: 2416 | 38
You can configure multiple server instances to listen on different
ports.
For example out of box under jboss, you have server/default/...,
you can have server/app1, server/app2, etc. |
|
|
p*a 发帖数: 592 | 40
output=`lsof`
looping=1
app1 &
while [ looping ]
do
sleep 120
output=`lsof`
echo "# of files opened: $output"
# some condition to set looping variable
...
done
|
|
|
z****a 发帖数: 150 | 42 Minnesota
University of Minnesota Program
Minneapolis, Minnesota 141-26-21-139
must obtain a J-1 Visa from the Education Commision on Foreign Medical
Graduates (ECFMG)…
College of Medicine Mayo Clinic (Rochester) Program
Rochester, Minnesota 141-26-21-066. H1B yes. 9/yr.
Program Director:
Guy S Reeder, MD Coll of Med Mayo Clinic Div of Cardiovascular Diseases 200
First St SW Rochester, MN 55905 Tel: (507) 284-3304 Fax: (507) 266-
3594
E-mail: r********[email protected]
Person to contact... 阅读全帖 |
|
h***y 发帖数: 834 | 43 ☆─────────────────────────────────────☆
zhzhaa (麦地) 于 (Fri Jun 24 16:27:52 2011, 美东) 提到:
没有绿卡,怎么办?用H1。网站信息不全?自己努力!
每一个我都打电话或者 email确定过,
如果写的含糊,说明这个pregram电话没有接通,email也不回。
信可以写的很简单:
Dear Dr. Scorpion,
I am interested in the general cardiology fellowship in your institution
starting 2012. Could you please let me know if your institution sponsors H1B
visa?
记得 检查拼写正确就是了。
这个没有包括阿拉私家。
心脏科依然挣钱多,但是lifestyle不好。任何一个call 都是要命的。
但是,生活方式都是自己选的。祝愿 各位心想事成。
----
刚刚发现 没办法添加word附件,只好 后面慢慢贴上来:
☆─────────────... 阅读全帖 |
|
B****e 发帖数: 1900 | 44 http://post.baidu.com/f?kz=147098841
【------------------TOM告急及ID征集】
【TOM征注册ID】
TOM英雄会推举v期截止日期11月13日10:00,同一IP的用户在五分钟内只能投一次票,
违反此规则的投票一律无效。所以请没有时间慢慢投票的芝麻亲们尽量一次性多注册ID
,然后把ID和密码发百度小纸条给TOM投票小组,我们代劳投票。现在第二名追赶的速
度超级的快,我们稍微懈怠,就极有可能被追赶上。ID帐号的密码统一设为111111(6
个1)。为了方便投票,请勿自设其他密码了,谢谢
注册地址:http://app1.tom.com/enthero2006/Reg.htm
注册完毕后,按后退键,重新换个名字输入验证码就可以重新注册。
【TOM投票说明】
1.TOM盛典会依据票数进行颁奖礼,不清零。因此目前以TOM投票为重。此项投票是长
期任务,且越往后压力越大,希望大家能在开始部分就予以重视,以免在后期陷入苦战
。
2. TOM我们只争最佳新人与最佳彩铃。三儿还是一个新人,刚刚走上歌手这条道路,也
没有太多的 |
|