由买买提看人间百态

topics

全部话题 - 话题: uri
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
b*****n
发帖数: 2324
1
来自主题: Military版 - est










http://www.google.com');">Test
I don't know why the JS not working. Any hint?
L*******r
发帖数: 1011
17
来自主题: DotNet版 - internet programming in C#
1. WebClient
Simple class to handle many protocols. Easy to use. No Authentication.
useful methods:
OpenRead: return stream. useful. especially when you want to put it to an
image object.
DownloadFile:
2. WebRequest:
Edelweiss gave us an example. :)
sort of Create -> GetResponse -> GetResponseStream(WebResponse class)
3. Uri and UriBuilder: parse and build Uri.
4. IPAddess and Dns
5. Socket, NetworkStream: you can build your own socket server using them.
6. TCPClient, TCPListner, UdpClient...: t
a9
发帖数: 21638
18
if the uri is start with http then it's http
if the uri is start with https then it's https
l*s
发帖数: 783
19
☆─────────────────────────────────────☆
Dintern (.Net newbie) 于 (Tue Jan 23 17:01:41 2007) 提到:
I need to check if the server is using an SSL connection inside an
aspx page. Is there an api or property that shows it directly?
☆─────────────────────────────────────☆
a9 (嗯) 于 (Tue Jan 23 17:55:38 2007) 提到:
if the uri is start with http then it's http
if the uri is start with https then it's https

☆─────────────────────────────────────☆
gravy (不过...) 于 (Wed Jan 24 10:03:55 2007) 提到:
r*****l
发帖数: 2859
20
To answer your question about how to reload classes.
(I personally think, in your case, this is NOT needed
and way OVERKILL), you need to do:
1. Do not put the package in classpath when you start
the application
2. Use the package's path to construct a URI; use this
URI to construct a ClassLoader
3. Use ClassLoader.loadClass() to load the classes in
the package
4. Use reflection to call the methods. Remember the
package is not in the class path so you cannot
use the classes/method
o*******u
发帖数: 242
21
谢谢啊,这就解决了一大问题。
现在正在考虑下面两个小地方,
1. 空格会变成+, 当然可以手动把空格改成编码,或者用URI,因为网上的例子就是用
建立一个URI解决空格的编码问题。
2.latex里面的\都要变成\\。
t*********e
发帖数: 630
22
来自主题: Java版 - JSF is actually fucking cool
package org.converter;
import java.net.URI;
import java.net.URISyntaxException;
import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
import javax.faces.convert.ConverterException;
import javax.faces.convert.FacesConverter;
@FacesConverter("org.converter.UrlConverter")
public class UrlConverter implements Converter {
@Override
public Object getAsObject(FacesContext facesContext,
... 阅读全帖
t*********e
发帖数: 630
23
来自主题: Java版 - JSF is actually fucking cool
package org.converter;
import java.net.URI;
import java.net.URISyntaxException;
import javax.faces.application.FacesMessage;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import javax.faces.convert.Converter;
import javax.faces.convert.ConverterException;
import javax.faces.convert.FacesConverter;
@FacesConverter("org.converter.UrlConverter")
public class UrlConverter implements Converter {
@Override
public Object getAsObject(FacesContext facesContext,
... 阅读全帖
z****e
发帖数: 54598
24
来自主题: Programming版 - Python Concurrency 主流是用啥
为什么那么在意主流?
js是主流?
vert.x就可以给你搞python
import vertx
server = vertx.create_http_server()
@server.request_handler
def handle(req):
filename = "index.html" if req.uri == "/" else req.uri
req.response.send_file("webroot/" + filename)
server.listen(8080)
http://en.wikipedia.org/wiki/Vert.x
e*******o
发帖数: 4654
25
把用到的参数放到URI里
根据URI重新来一遍
l**********1
发帖数: 5204
26
东西双雄 Uri Alon & Wendel Lim 进两个死一双?!
so what are below UCSF and Harvard this Feb report?
almost contents of it are trash?
//synberc.org/sites/default/files/vol2%202012-02-23.pdf
//synberc.org/sites/default/files/vol1_2012-02-24.pdf
Uri Alon:
HTTPS://dev.sysbio.med.harvard.edu/faculty/alon/index.html
Wendel Lim:
//limlab.ucsf.edu/people/wendell.html
l**********1
发帖数: 5204
27
来自主题: Biology版 - 土博找到faculty来写点心得
有师爷的 Stanislas Leibler在那里
师叔/伯的Uri Alon 在魏茨曼和哈佛两头站PI位 ps: Harvard is visiting PI.
and
Uri Alon and Naama Barkai both were his PD 15Y ago.
下边的师孙/孙女不成rising star 的天牛 不是得了癌症或其它致命的疾病中途弃权的
就是白犹里的white trash了吧? lol
Please refer:
Mechanisms of noise resistance in genetic oscillatiors
JM. Vilar, HY. Kueh, N. Barkai and S. Leibler
PNAS, 99, 5988-5992 (2002) | PDF
· Robust amplification in adaptive signal transduction networks
N. Barkai, U. Alon and S. Leibler
C.R. Acad. Sci. Ser. IV 2... 阅读全帖
l***i
发帖数: 64
28
来自主题: Nursing版 - 求助,到底我该怎么办?
If you are looking for a BS degree, RIC is not too bad. If you need a MS
degree, you may have to go to URI. One problem about URI is that they charge
international students a lot. The chance of TA is not low, but you need to
have some clinic experience to be considered. There are one or two faculties
may provide RA positions, but they prefer PHD students or someone who
really knows statistics.
My suggestion is to move out new england to avoid high tuition cost if you
have to pay yourself.
f**d
发帖数: 768
29
来自主题: Neuroscience版 - job positions available
1. Two year postdoctoral position in computational neuroscience
at Boston University. (Mark Kramer)
2. computational neuroscience post-doctoral opportunity in
Boston (Stephanie Jones)
3. CIRM Semester on Theoretical, Mathematical and Computational
Neuroscience (Stephen Coombes)
4. PhD studentship, University of Genoa, Italy; brain networks
from deep brain electrophysiological data (Andrea Schenone)
5. Re: Connectionists: Neuroscience software survey: What i... 阅读全帖
l*******s
发帖数: 7316
30
【 以下文字转载自 Prepaid 俱乐部 】
发信人: llaalways (camper), 信区: Prepaid
标 题: Moto E 1526 成功鼓捣成一开机就自动打开hotspot,每月自动拨号一次。
发信站: BBS 未名空间站 (Mon Mar 7 12:38:14 2016, 美东)
还是用Tasker, 就是在上次自动拨号的profile里加了3条。
wifi off
wifi tether on
svc data enable
但wifi tether on 在stock rom里出错,所以刷了flyme. 中间还试过CM13,CM13遇到
GAPP装不好的问题,所以放弃了。
flyme还有一个小问题,就是不能拦截拨号,这个以后再折腾。
将下面的内容保存为onBoot.prf.xml, 然后从Tasker里import profile 就可以了。


1457209583790阅读全帖
H***a
发帖数: 189
31
通话录音对方必须知道,否则违法,忘了在有law enforcement 许可(CALEA)的时候
是否还需要对方知道。一般是在通话开始的时候play a legal disclaimer, 或者是每
隔一段时间beep一下。
你需要的的所有通话全程录音还是on demand(需要的时候press a special key to
start/stop during a call), 不是每个service provider 都有call recoding
service.
Callcentric 可以Forward to other SIP URI or other phone numbers 所以你只需要
sign up an account on callcentric, 申请一个免费的DID(纽约州的区号)选免费的
plan, setup call treatment to forward all incoming calls to your other VoIP
provider number or URI.
每月$1.50 E911 fee而已。还可以用来打电话pay per... 阅读全帖
H***a
发帖数: 189
32
$4.99一个月还是挺便宜的
你用了callcentric,也许可以把那个$6.5的DID fee省了
你需要知道VoIPStudio的 SIP URI是什么,有的公司是 [email protected], 有的是虚拟
号@xxxx.com
Callcentric 可以直接forward to this URI.
g******0
发帖数: 1165
33
来自主题: _pennystock版 - Special Reports After-Hours Movers 7/20
After-Hours Movers 7/20: CYT, SABA, VMW, URI, ETH, JAH, AAPL, BSX, TPX, BP
Higher; YHOO, GILD, APA, MDRX, SYK, JNPR Lower
Jul 20, 2010 05:40PM
Cytec (NYSE: CYT) 12.4% HIGHER; reports Q2 EPS of $1.31, 64 cents better
than the analyst estimate of $0.67. Revenue for the quarter was $874 million
, which compares to the estimate of $801.84 million. "We now expect to
achieve 2010 revenues of $3.2 to $3.4 billion versus our prior projection of
$2.7 to $3.0 billion, and as adjusted 2010 diluted earnings... 阅读全帖
l***h
发帖数: 9308
34
来自主题: _voip版 - GV打出又出问题了
明白怎么回事了,前几天看到别人出现类似问题,我的没事。看来GV搞人不是一起搞,
是轮着搞,一拨接一拨。
用Sipsorcery,如果利用Gizmo5作为回拨,原来的语句要做更改:
sys.GoogleVoiceCall("y******[email protected]", "password", "1747xxxxxxx", "#{req.
URI.User.to_str}", true)
更改为:
sys.GoogleVoiceCall("y******[email protected]", "password", "1747xxxxxxx", req.URI
.User.to_s,".*",7)
GV的规则是:
1 - Home
2 - Mobile
3 - Work
7 - Gizmo
详见:http://www.sipsorcery.com/help/dialplans.html
i**w
发帖数: 883
35
来自主题: _voip版 - ASTERISK怎么接VOIPCALL
用asterisk试了一下nonoh, Gizmo5和SipGate的SIP URI dialling,标准设置就可以了
,不需要特别的设置。 (没有voipbuster的account,不过nonoh和voipbuster是一家
的,nonoh可以的话,voipbuster应该也可以)
sip.conf
==============================================================
register => :@sip.voipbuster.com
[voipbuster]
context=answer-incoming
type=peer
host=sip.voipbuster.com
defaultuser=
secret=
nat=yes
fromdomain=sip.voipbuster.com
fromuser=
insecure... 阅读全帖
m******m
发帖数: 445
36
来自主题: _voip版 - local sipsorcery 设置问题
in:
sys.Dial("#{sys.Username}@local",30)
out:
case req.URI.User
when /^1/ then sys.GoogleVoiceCall("[gv account email]","[gv password]","
[1+sipnumber]","#{req.URI.User}","[gv number]")
else
sys.Dial("VD")
end
[]里的东西我都改好了。
t***n
发帖数: 546
37
鉴于有人要求详细配置,现在把几个配置文件贴出来,欢迎大牛们指正
gtalk.conf***********************
[general]
context=google-in ; Context to dump call into
allowguest=yes
[guest] ; special account for options on guest account
disallow=all
allow=ulaw
context=google-in
[dummy-gtalk]
username=d***[email protected]
disallow=all
allow=ulaw
context=google-in
connection=dummy
[user3-gtalk]
username=u***[email protected]
disallow=all
allow=ulaw
context=google-in
connection=user3
[user1-gtalk]
username=u***[email protected]
disallow=all
... 阅读全帖
g****n
发帖数: 3370
38
来自主题: _voip版 - Sipsorcery主页大变
我是GV->IPKall,IPKall直接forward到SS的SIP URI,所以它不用列为一个
provider.
另外,我刚试验的时候发现把voip.ms在SS中 register后,有时打入voip.ms
的电话收不到,所以我干脆从voip.ms中也直接forward到SS的SIP URI,之后没有
发生过问题。
z****n
发帖数: 26
39
多谢a9大大指点,我的extensions.conf见下,应该改哪里,麻烦大师指点一下,谢谢!
[general]
static=yes
writeprotect=no
clearglobalvars=no
allowguest=no
alwaysauthreject=yes
[globals]
CONSOLE=Console/dsp ; Console interface for demo
IAXINFO=guest ; IAXtel username/password
TRUNK=Zap/G2 ; Trunk interface
TRUNKMSD=1 ; MSD digits to strip (usually 1 or 0)
[default]
exten => s,1,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})
exten => s,n,Dial(SIP/101,10)
ext... 阅读全帖
k****t
发帖数: 2288
40
来自主题: _voip版 - asterisk 1.8的incoming call的问题
装了1.8,也用了google talk,但是也用了sipgate来接sipgate的电话或者是用来打800
电话。但是现在我从sipgate的另外一个号码call这个650XXXXX2的电话得到如下的log
,给人的感觉就是进了outbound的了,好奇怪;看了一下externsion。conf,应该是
come in phone call会自动dial default的呀?
其他的都很正常:从1001往外打电话,接gtalk来的电话,但是没有办法接从sipgate过
来的电话。
== Using SIP RTP CoS mark 5
-- Executing [650XXXXXX2@outbound:1] Set("SIP/SipGate-0000001d", "
CALLERID(dnid)=1650XXXXXX2") in new stack
-- Executing [650XXXXXX2@outbound:2] Goto("SIP/SipGate-0000001d", "
1650XXXXXX2,1") in new stack
-- Goto (o... 阅读全帖
e******o
发帖数: 1160
41
来自主题: _voip版 - 关于asterisk注册nonoh的问题
用的dockstar,装的archlinux,安装的asterisk 1.8,很是奇怪,打中国电话老是出错
。。。。。
dockstar*CLI> sip show peers
Name/username Host Dyn Force
rport ACL Port Status
1001/1001 192.168.1.138 D N
A 5060 OK (215 ms)
1002 (Unspecified) D N
0 Unmonitored
SipGate/xxx 204.155.28.10 N
5060 OK (24 ms)
nonoh/bbb... 阅读全帖
m******t
发帖数: 4077
42
extensions.conf
----------------------
[general]
static=yes
writeprotect=no
clearglobalvars=no
[globals]
CONSOLE=Console/dsp ; Console interface for demo
IAXINFO=guest ; IAXtel username/password
TRUNK=Zap/G2 ; Trunk interface
TRUNKMSD=1 ; MSD digits to strip (usually 1 or 0)
[default]
exten => s,1,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})
exten => s,n,Dial(SIP/101,10)
exten => s,n, Hangup
exten => 101, 1, Dial(SIP/... 阅读全帖
w*m
发帖数: 1806
43
来自主题: _voip版 - 谁能共享一个asterisk dialplan?
dialplan,
[general]
static=yes
writeprotect=no
clearglobalvars=no
[globals]
CONSOLE=Console/dsp ; Console interface for
demo
IAXINFO=guest ; IAXtel username/
password
TRUNK=Zap/G2 ; Trunk interface
TRUNKMSD=1 ; MSD digits to strip (
usually 1 or 0)
[default]
exten => s,1,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})
exten => s,n,Dial(SIP/103,10... 阅读全帖
j*****g
发帖数: 149
44
你说你是搞神经学科的,并称肖的那个就是个笑话。那么,美国医生用他的方法在他们
的preliminary data中显示7/9的病人,在用肖的方法后有效 (见下)。你懂肖的东西
吗?如懂,怎么解释这个效果,也怎么解释 NIH 给一美国医生RO1grant 来支持肖的手
术方法哪?美国医生也在做假?
AFETY AND EFFICACY OF NERVE REROUTING FOR TREATING NEUROGENIC BLADDER IN
SPINA B (1R01DK084034-01)
Abstract: DESCRIPTION (provided by applicant): Spina Bifida, a congenital
defect of the spinal cord, causes nerve damage and a loss of sensation and
muscle function below the waist resulting in bowel, bladder and sexual
dysfunction. Patients cannot uri
b*****s
发帖数: 93
45
来自主题: ChinaNews版 - 鞋攻蛋袭方滨兴神秘人士现身
http://www.theatlanticwire.com/global/2011/05/mystery-man-who-t
The Mystery Man Who Threw an Egg and Shoes at China's Web Censor
By Uri Friedman 11:15 AM ET
The computer scientist Fang Binxing is the architect
behind China's Great Firewall, which blocks thousands of foreign websites
and filters keyword searches for sensitive topics like Tibetan independence
or the outlawed Falun Gong spiritual movement. But on Thursday, during a
lecture at Wuhan University in Hubei province, Fang couldn't preven... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)