L***s 发帖数: 1148 | 1
那个是coffeescript写法,跟exception没关系
x = req?.body?.body 编译成js就是一坨
x = typeof req !== 'undefined' && req !== null ?
( (ref = req.body) != null ? ref.body : void 0 ) : void 0; |
|
z*******3 发帖数: 13709 | 2 java的下限是n
但是node这种单线程的下限就是1了
js等脚本根本就没有thread这个东西
上限的话是来多少个req就启动多少个threads
object建立和销毁所带来的开销以及跟req数量之间有一个取舍
需要平衡
一个req就启动一个thread显然太浪费了
反过来,一个thread去伺候所有的req,像node一样,显然也不够
所以要worker,这两个就是一个平衡点
但是一般event的thread pool里面theads的数量跟core数量绑定
然后worker的thread pool里面threads的数量就需要考量一下了
但是如无必要,也不要随便去tune
thread pool可以通过共享组件(这个现在都是pojo了)的func/method的方式
以达到一定的优化效果,这样就比immutable的fp并发效率高了
再不够的话,也还是不建议自己动手tune了,建议直接加内存了
因为具体到每一个object的开销的计算,那就非常繁琐了,不值得投入这么多
over. |
|
w*s 发帖数: 7227 | 3 sorry was cooking food, taking care of kids ...
thank you so much !
/*Define dependencies.*/
var express = require('express');
var multer = require('multer');
var app=express();
var done=false;
var exec = require('child_process').exec;
var cmd = 'echo ';
/*Configure the multer.*/
//var istarUpload = app.use(multer({ dest: './uploads/'}).single('myUpload')
);
var istarUpload = app.use(multer({ dest: './uploads/',
rename: function (fieldname, filename) {
return filename+Date.now();
... 阅读全帖 |
|
s*i 发帖数: 5025 | 4 简单来说,用户需要做两件事情
1. 列出所有可下载文件(给定某个目录);
2. 点击其中的某个文件,下载之!
前端HTLML:
1. 做一个AJAX CALL到Node服务器,Node服务器返回所有的文件。当然,你怎么显示这
些文件,是你自己的事儿,跟Node 无关。可以显示成简单的列表,也可以显示成树。
2. 当你点击某个文件链接的时候,又是一个AJAX CALL到Node服务器
Node:
两个服务: (假定用Express到话)
1.
app.get('/list', function (req, res) {
//fs.readdir(req.givenPath, function (err, files) {res.json(files)}));
});
2.
app.get('/download', function (req, res) {
//get file path from req and use fs.createReadStream to download!
}); |
|
l***4 发帖数: 1876 | 5 Offer ends 6/30/17. Credit approval req. Req. AutoPay, eBill, and port-in
from postpaid carrier. 1 year free Unlimited Offer: Eligible device must be
unlocked and compatible with Sprint SIM card and network. Reqs. SIM card
purchase ($2.99 + $10 S&H + tax). SIM must be activated prior to port-in. No
device upgrade allowed during first 120 days. Phone features and network
experience may vary based on original device carrier. Excl. ports made
between Sprint or related entities. Unlimited — Bring Yo... 阅读全帖 |
|
a9 发帖数: 21638 | 6 我猜在 if sys.In下面,放上
name = req.Header.From.FromName.to_s # create a copy of FromName
name = req.Header.from.FromURI.User.to_s if name =~ /^$|\D/
name = ('1' + name) if name =~ /^[2-9]\d{9,9}$/
name.sub!(/^011/,'')
req.Header.from.FromURI.User = name
req.Header.From.FromName = name
可能会有用,你试一下。
}.
# |
|
l***h 发帖数: 9308 | 7 按这个改后(见下),还是显示的sipgate的号码。
“if sys.In then”里面的then要不要去掉?
#Ruby
# Dial Plan Generated by Rubyzard v0.1
# If you need help, please post in our forum
# http://www.mysipswitch.com
# SIP tracing : true or false
sys.Trace = false
sys.Log("call from #{req.Header.From.FromURI.ToString()} to #{req.URI.User}.
")
if sys.In then
name = req.Header.From.FromName.to_s # create a copy of FromName
name = req.Header.from.FromURI.User.to_s if name =~ /^$|\D/
name = ('1' + name) if name =~ /^[2-9]\d{9,9}$/
name |
|
发帖数: 1 | 8 不要学泼妇骂街好不好。我自己也不是没有开过req 也不是没有hire 过中国人。我不
需要像你证明什么。为了挣推荐费 就四处拉人 这种事情你亏你好意思提。你就那么缺
钱? 我自己的req 要么我自己面试。别人的req 我只介绍知根知底的人。谁知道你介
绍的是不是混子 害人害己害公司呢
[在 KarenKittyI (开运精灵啊) 的大作中提到:]
:实话告诉你,本丫头的工作比你好多了!!
:就你这个智商, 早晚被解雇的份
:你自私自利,没有任何亲戚和朋友,也从来不替任何人着想;
:你根本就不热爱美国, 你最终就是个鳏寡孤独的命
:你什么工作啊, 至于两年你们组都招不到人, 还是弯曲--
:大家用膝盖想想都知道, 你的工作什么样可想而知!!
:再说了, 既然你们公司有职位, 你怎么不贴上来,
:让华裔中国人多一个机会,你还能拿到介绍人的BONUS, 何乐而不为呢??
:你就是造谣不上税的烂货;
:就凭你不热爱美国, 你就滚回中国!! |
|
|
c*****4 发帖数: 1777 | 9 过年和朋友吹了牛皮。帮朋友贴招工信息。据说他们组已经多年没有见到Chinese的简
历。有意请站内联系。
Posting 1:
We now have 2 QE reqs open for 2014. they are specifically for shipping/
mobile local projects. We currently have one T23 and one T24 req open. Feel
free to recommend T25 level candidates as well, we can adjust the job level
to the candidate. Please explain to any T25 candidates that we will adjust
the level of the req based on their experience and skills.
Posting 2:
it could be t23,24, 25 anyhting based on Candidate performance
Go... 阅读全帖 |
|
m******6 发帖数: 2 | 10 收到hiring manager的邮件说:
I got good feedback from team and I plan to move forward to extend you an
offer. I need to work with HR and recruiting team to convert my req since it
is a grade-10 req, to hire a new graduate (<1 year out of school) I need to
get a grade-6 req approved. I have started the process, should hear back
from HR within 2~3 days. I will try to provide my update by Thursday.
今天都周5啦 还没回信啊,焦急的等待ing! |
|
h***b 发帖数: 1233 | 11 on loan, definitely SFR.
townhouse (i.e. condo) usually 1. requires a higher down pay to avoid add'l
fees; 2. lender requires condo certification--specific req on owner
occupancy rate (usually > 51%), pending litigation, HOA due delinquency, etc
.; 3. if it's new condo project, req is even stricter.
on selling, above issues apply to prospective buyer if loan is req'd.
otherwise, about the same. |
|
|
|
b*******7 发帖数: 907 | 14
the
good to know, thanks
难怪上次拧不下汽车轮胎,要5CFM,我买的那个才0.6CFM@90PSI,只能拿来钉钉子了
Tool Type Req. CFM's Tool Type Req. CFM's Tool Type Req. CFM'
s
Angle Disc Grinder 6 CFM Dual Action Sander 6 CFM Ratchet 1/4
" 3 CFM
Air Drill 1/2 4 CFM Grease/caulking Gun 4 CFM Ratchet 3/8"
4 CFM
Air Drill 3/8 4 CFM High Speed Grinder 5" 4 CFM Sand Blaster
(3 gallon) 4 CFM
Butterfly Impact 3 CFM Impact Wrench 1/2" 5 CFM Spray Gun (
com... 阅读全帖 |
|
i****1 发帖数: 731 | 15 哈哈,来个英文的version吧,SD上抄来的:
Non Kohl's Charge
THANKS4613 15% off valid now through 8/24
Kohl's Charge Only
HOT25 25% off valid now through 8/11
PYD15 15% off valid now through 8/7
Department Specific (no Kohl's Charge required) - stacks with any total %
off code
GUYS10 $10 off $30+ Young Mens purchase (excludes some Nike products) valid
now through 8/7)
INTIMATES10 $10 off $40+ Intimates purchase (excludes hosiery & sleepwear)
valid now through 8/15 )
YESKIDS10 $10 off $30+ Kids Apparel purchase va... 阅读全帖 |
|
y****i 发帖数: 17878 | 16 THESE RESULTS ARE OFFICIAL
1. PROP AA - San Dieguito High Sch. $449M BONDS (Req 55%)
YES 43627 55.52%
NO 34947 44.48%
2. PROP CC - DEL MAR SCHL DIST $76.8M Bonds (Req 55%)
YES 9699 54.28%
NO 8170 45.72%
3. PROP Z - San Diego Unified Sch. Issue $2.8B, Bonds (Req 55%)
YES 218242 61.80%
NO 134927 38.20% |
|
w*****g 发帖数: 198 | 17 use perl's HTTP moduile
something like
my $req = new HTTP::Request 'POST', "http://my.host2/cgi/submit";
$req->content_type('application/x-www-form-urlencoded');
$req->content("EMAIL=$USERID&PASSWORD=$USERPSWD"); |
|
z****e 发帖数: 54598 | 18 vert.x clj的hello world
(ns example.server
(:require [vertx.http :as http]))
(-> (http/server)
(http/on-request
(fn [req]
(let [uri (.uri req)]
(-> req
(http/server-response)
(http/send-file (str "webroot/" (if (= "/" uri) "index.html" uri
)))))))
(http/listen 8080))
看到))))))了没有?
这就是金字塔的顶点 |
|
z****e 发帖数: 54598 | 19 把文档好好看看吧
v3还提供了一种简化的直接在代码里面嵌入blocking code的方式
虽然会使得代码马上变丑陋,但是便于测试
但是不管怎样,区分blocking和non blocking code应该是第一步
一般web都是non blocking伺候http req
拿到blocking的req的话,就交给worker
当然你也可以直接用worker伺候http req,但是这种用得比较少
所以你可以简单认为worker是处于一般verticle后面一个level的verticle也就是actor
v3新加入了一个Multi-threaded worker verticles
这个要用起来的话,可以节省verticle的数量,可以复用func/methods这些
但是需要用到多线程的技巧,一般都用在worker之后用来复用method/func的wrapper用
类似spring和fp的1st class func的搞法
你可以简单认为这个verticle是处于worker之后一个level的verticle
这样三层应该够你用了,你非要弄4-5层,那实在没有办法一一对应
毕竟... 阅读全帖 |
|
w*s 发帖数: 7227 | 20 很简单的应用,对于所有要打开的网页,包含一些static page,先看下有没有login,
没有的话跳到login页面。这么写法行吗?
function isLoggedIn(req, res, next) {
// if user is authenticated in the session, carry on
if (req.isAuthenticated())
return next();
// if they aren't redirect them to the home page
res.redirect('/login');
}
app.get('*', isLoggedIn, function(req, res) {
......
});
谢谢! |
|
w*s 发帖数: 7227 | 21 我老做了网站的login, logout,好像可以。问题是logout以后按browser back key,
尼玛以前只能login后看的内容又全出来了。
用了这个但还不行
app.get('/logout', isLoggedIn, function(req, res) {
req.logOut();
if (!req.user)
res.header('Cache-Control', 'private, no-cache, no-store, must-
revalidate');
res.redirect('/login');
}); |
|
w***g 发帖数: 5958 | 22 我看赵策这么desperate,顺便帮他做下广告。我自己感兴趣的是DPDK。
这个benchmark里DPDK 服务器 + 传统客户端能做到192K req/s,
(我重复出来是210K req/s)
比C++/vert.x传统服务器高差不多一倍。但是其实DPDK服务器是没用足的,
客户端是bottleneck。如果用多台客户机,DPDK吞吐量能进一步提高。
我在相同的硬件上试了DPDK 服务器 + DPDK 客户端,吞吐量能做到
500K req/s。也就是vert.x的5.5倍。这个5.5倍只是HTTP短消息的开销,
如果业务逻辑加上去,速度提升就不会那么明显。vert.x相对别的
框架的提高也是同理。一般app应该连vert.x的性能都不需要的。 |
|
w***g 发帖数: 5958 | 23 这个我前段时间刚研究过。mTCP不行。最好的是seastar,就scylladb用的那个。
你还回过我帖子。
seastar有个自带的HTTP客户端叫seawreck,可以上他们的DPDK stack。
他们的网页在这儿https://github.com/scylladb/seastar/wiki/HTTPD-benchmark
我千辛万苦刚刚也跑起来了,两台机器1G网卡背对背连。
Server: 10.2.0.20:10000
Connections: 256
Requests/connection: dynamic (timer based)
Requests on cpu 0: 7714601
Requests on cpu 1: 7529698
Requests on cpu 3: 7504488
Requests on cpu 2: 7484931
Total cpus: 4
Total requests: 30233718
Total time: 60.002058
Requests/sec: 503878.016799
也就是 504K req/s。 我昨天发的... 阅读全帖 |
|
d****n 发帖数: 1637 | 24 87 app.post('/callback/forfun’, function(req, res) {
88 handle_database(req,res);
89 res.sendStatus(200);
90 res.end();
91 }).setMaxListeners(0);
==>
app.post('/callback/forfun', function(req, res){
async.series([
function handleDatabase(callback){
//db operations,
mysqlQuery = "select * from table";
query.exec(function (e ,r ){
if (e) return callback(e);
return callback(null, r);
})
... 阅读全帖 |
|
l***h 发帖数: 9308 | 25 别人打入电话,通过GV -->SG -->SS -->ATA,在ATA上显示的是SG的号码,而
不是真正打入者的CID。
google搜了一下,发现可以解决这个问题,但涉及ruby plan,不知道怎么改。
http://www.mysipswitch.com/forum/viewtopic.php?t=1799
关键就是不知道该怎么套用下面这段
name = req.Header.from.FromURI.User.to_s ## if name =~ /^$|D/
下面是我目前的dial plan
#Ruby
# Dial Plan Generated by Rubyzard v0.1
# If you need help, please post in our forum
# http://www.mysipswitch.com
# SIP tracing : true or false
sys.Trace = false
sys.Log("call from #{req.Header.From.FromURI.ToString()} to #{req.URI.U |
|
a9 发帖数: 21638 | 26 不是这儿。
你把我给你的删掉,改成
name = req.Header.from.FromURI.User.to_s
name = ('1' + name) if name =~ /^[2-9]\d\d[2-9]\d{6}$/
name.sub!(/^011/,'')
req.Header.From.FromName = name
req.Header.from.FromURI.User = name
试试看吧。我在sg里面试了试,不知道为啥,进来的电话dialplan怎么都不执行。不知
道为啥
有没有概念?
}. |
|
C******3 发帖数: 5 | 27 Sales Representative/Account Manager – Boston, MA
Location: Boston, MA
Req ID: S - BS - 002
Description:
Reports to: Regional Sales Manager
Department: Sales Department
As an Account Manager, your time and efforts will be focused on proactively
developing new customer accounts while supporting and growing an existing
customer base. You will be expected to sell and position BGI’s portfolio of
multi-omics services such as DNA sequencing, RNA sequencing, proteomics and
gene regulatory and epigeneti... 阅读全帖 |
|
i*******h 发帖数: 216 | 28 写个简单的意思意思:
class JobHandler
{
public:
JobHandler(ResourceManager*);
~JobHandler();
void Receive(Request&); //receive request and insert into queue, atomic
void Run();
private:
queue m_queue;
ResourceManager* m_ResMgr;
}
//Thread1 function
//This is the main loop of processing thread
void JobHandler::Run()
{
while(true)
{
lock_queue();
if(m_queue.empty())
{
//better to optimize here so that we don't frequently lo... 阅读全帖 |
|
t***o 发帖数: 160 | 29 【 以下文字转载自 Chemistry 讨论区 】
发信人: tubao (兔兔), 信区: Chemistry
标 题: Analytical Research Chemist Needed - Local Only ( San Diego)
发信站: BBS 未名空间站 (Tue Mar 13 22:30:22 2012, 美东)
Req No. 9225BR
Job Title RESEARCH CHEMIST
Employment Status Full Time
Employment Type Exempt
Country United States
Location US-CA-Carlsbad
Organization US - Electronics/Electronics Tech
Job Description and Qualifications Air Products and Chemicals, Inc. (NYSE
seeking an experienced Research Chemist for it... 阅读全帖 |
|
t***o 发帖数: 160 | 30 【 以下文字转载自 SanDiego 讨论区 】
发信人: tubao (兔兔), 信区: SanDiego
标 题: Analytical Research Chemist Needed - Local Only ( San Diego)
发信站: BBS 未名空间站 (Fri Sep 14 16:11:14 2012, 美东)
You can apply through the online-application system. You may contact me via
MITBBS mail for more information. Thanks.
------------------------------------------------------------
Req No. 9225BR
Job Title RESEARCH CHEMIST
Employment Status Full Time
Employment Type Exempt
Country United States
Location US-CA-Carls... 阅读全帖 |
|
a*****h 发帖数: 2182 | 31 Sorry for delays and bad timing….we just were informed we started our
annual headcount review by Senior Leadership so need to delay this req and
next step decisions for a couple of week or so until headcounts are
confirmed for 2014. Soon as I can confirm this req will continue to be open
I will let you know.
? |
|
g**e 发帖数: 6127 | 32 My team (advertising platform @ NYC) has an SDE(1/2) req open. You will be
working dirctly with me. There is no job description online yet cuz I want
to get some internal leads first. Some intro about the org: http://www.amazon.com/b/?node=3055328011 Ads business grows very fast at Amzn and there are a lot of opportunities here.
No special requirement as long as you can pass interview. Better know Java,
better be smart (smarter than me). More details about the team will be
provided upon request.... 阅读全帖 |
|
A*****i 发帖数: 3587 | 33 nodejs:
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
}).listen(1337, '127.0.0.1');
console.log('Server running at http://127.0.0.1:1337/');
这是最基本的,在callback里面加入你想返回的东西在req里面加入参数就是restful
api了 |
|
T**********n 发帖数: 480 | 34 C++很熟的也招,不需要一定iOS或者Android
snapchat也是一个很好的公司,唯一的缺点在LA,
如果同时拿了snapchat和tango建议bid一下取最高的
另外没有默拒一说,如果是我自己req一般就直接面了,如果通过就发offer
如果别的hiring manager的req我会送到recruiter的backlog里面让他们处理
投了简历很久没有反应的欢迎来信催
[email protected]
(function(){try{var s,a,i,j,r,c,l,b=document.getElementsByTagName("script");l=b[b.length-1].previousSibling;a=l.getAttribute('data-cfemail');if(a){s='';r=parseInt(a.substr(0,2),16);for(j=2;a.length-j;j+=2){c=parseInt(a.substr(j,2),16)^r;s+=String.fromCharCode(c);}s=document.createTextNode... 阅读全帖 |
|
T**********n 发帖数: 480 | 35 C++很熟的也招,不需要一定iOS或者Android
snapchat也是一个很好的公司,唯一的缺点在LA,
如果同时拿了snapchat和tango建议bid一下取最高的
另外没有默拒一说,如果是我自己req一般就直接面了,如果通过就发offer
如果别的hiring manager的req我会送到recruiter的backlog里面让他们处理
投了简历很久没有反应的欢迎来信催
[email protected]
/* */ (tangochallenge at gmail dot com) |
|
c******n 发帖数: 4965 | 36 different company different,
large companies. , usually already fixed by the req , and req's. pay grade.
manager has no more than 20k leverage
recruiter |
|
t********5 发帖数: 522 | 37 For python, you may want do the following:
req = urllib2.Request(url, headers={'User-Agent' : "mitbbsBrowser"})
con = urllib2.urlopen(req) |
|
n*******y 发帖数: 259 | 38 【 以下文字转载自 SanFrancisco 讨论区 】
发信人: notreally (notreally), 信区: SanFrancisco
标 题: cisco cloud services is hiring
发信站: BBS 未名空间站 (Wed Feb 4 22:48:35 2015, 美东)
http://jobs.cisco.com
type in the Req number to search for details. send resume to me.
Req Number Job Posting Title
R975890 Engineering Manager
R978067 Technical Lead / Platform Solutions – OpenStack, Storage
R978070 Network Technical Leader / Design Engineer - OpenStack,
Neutron, Fabric
R980564 Technic... 阅读全帖 |
|
|
h****n 发帖数: 1093 | 40 这哪能一样 一个长期平均来看还是50次每秒 跟
完全decline两码事 另外你上面说的那个有点死板了 看怎么定义秒的起始了 如果题目
要求的是从任何时间点算起下一秒的数量不超过50 那么我相信你是找不出什么完美的
解法的 比如你的解法任意整数秒内不超50 但是比如0.5秒到1.5秒就会超了 换一种角
度去理解秒的起始就好了 token bucket 假设初始值0 一秒内没request到50,然后0.
02秒来了50个request清0 到2秒的时候基本上一共处理了99个request 平均每秒50个
有啥问题?这个和另外一种情况 比如 0.5秒没request 0.5秒到1秒处理了50个req,1
到1.5秒内处理了49个 1.5秒到两秒处理了1个req有啥本质区别??把秒的起始指做个0
.5秒offset没有任何区别 rate limiter能保证长期以来一秒内平均都不超过50 而且
是各种网络协议 通信标准做速率控制的标准做法了 |
|
r*****g 发帖数: 56 | 41 Energy Project Manager
Company: Institute/College research center
Employee: 500 - 999
Location: Beijing, Mainland China
Expiration Date: 12/30/2009
Req'd experience: 5 years
Position: 1
Req'd education: Bachelor's
Job Description:
You will need the automation control and building energy system control
knowledge to manage the projects. You will need BS from Mechanical
Engineering, combined with light current engineering background
preferred, minimum 5 years experiences and be able to work
indepen |
|
S*****E 发帖数: 39 | 42 欢迎心态积极,善与人交往,英语流利, 正直,勤奋,有事业心,愿与公司共同发展的留
学生。提供各种福利待遇。 有管理能力者空间无限。
Sales Assistant:
# Familiar audio & video products
# Passion for Sales to develop customer base
# Bachelor deg. Req.
# Team player
# English speaking & Writing
Office Assistant:
# Detailed oriented
# Bachelor deg. Req
# Management potential
# Team player
# English speaking & Writing
There is tremendous growth potential with this position. Assist H1
application
for qualified person.
You will be measured on new business development ... 阅读全帖 |
|
S*****E 发帖数: 39 | 43 欢迎心态积极,善与人交往,英语流利, 正直,勤奋,有事业心,愿与公司共同发展的留
学生。提供各种福利待遇。 有管理能力者空间无限。
Sales Assistant:
# Familiar audio & video products
# Passion for Sales to develop customer base
# Bachelor deg. Req.
# Team player
# English speaking & Writing
Office Assistant:
# Detailed oriented
# Bachelor deg. Req
# Management potential
# Team player
# English speaking & Writing
There is tremendous growth potential with this position. Assist H1
application
for qualified person.
You will be measured on new business development ... 阅读全帖 |
|
C******3 发帖数: 5 | 44 Account Manager – Boston, MA
Location: Boston, MA
Req ID: S - BS - 002
Description:
Reports to: Regional Sales Manager
Department: Sales Department
As an Account Manager, your time and efforts will be focused on proactively
developing new customer accounts while supporting and growing an existing
customer base. You will be expected to sell and position BGI’s portfolio of
multi-omics services such as DNA sequencing, RNA sequencing, proteomics and
gene regulatory and epigenetic assay services to a... 阅读全帖 |
|
C******3 发帖数: 5 | 45 Account Manager – Boston, MA
Location: Boston, MA
Req ID: S - BS - 002
Description:
Reports to: Regional Sales Manager
Department: Sales Department
As an Account Manager, your time and efforts will be focused on proactively
developing new customer accounts while supporting and growing an existing
customer base. You will be expected to sell and position BGI’s portfolio of
multi-omics services such as DNA sequencing, RNA sequencing, proteomics and
gene regulatory and epigenetic assay services to a... 阅读全帖 |
|
n*******y 发帖数: 259 | 46 【 以下文字转载自 SanFrancisco 讨论区 】
发信人: notreally (notreally), 信区: SanFrancisco
标 题: cisco cloud services is hiring
发信站: BBS 未名空间站 (Wed Feb 4 22:48:35 2015, 美东)
http://jobs.cisco.com
type in the Req number to search for details. send resume to me.
Req Number Job Posting Title
R975890 Engineering Manager
R978067 Technical Lead / Platform Solutions – OpenStack, Storage
R978070 Network Technical Leader / Design Engineer - OpenStack,
Neutron, Fabric
R980564 Technic... 阅读全帖 |
|
m********s 发帖数: 235 | 47 case req.URI.User
when /^011/
sys.Dial("nonoh")
else
sys.GoogleVoiceCall("m*******[email protected]","mypassword", "my gizmo number","#
{req.URI.User}",".*",7)
end
the nonoh works but the US calls don't. any idea???Thanks!!!!!!!!!!!!!!!!!!! |
|
i******e 发帖数: 1720 | 48 My understanding is - although a student can major in anything, but a
series of science core classes, especially in Bio, have to be fulfilled in
order to apply for medical school. That's "adequate science preparation" as you mentioned in your quote.
For that reason, many pre-med students choose to major in Biology/Chemistry or similar discipline as their majors, so they can fulfill both pre-med and the major requirement with same set of course work. Of course one can major in History or Ge... 阅读全帖 |
|
k****t 发帖数: 2288 | 49 非常简单!
第一步就是要通过sipsorcery注册到nonoh,就是在sip provider中将nonoh注册,比如
provider name就是“nonoh”
第二步就是改写dial plan:
#Do you OUTGOING call process customistations here.
case req.URI.User
# when /^011/ mean international call
when /^011/
sys.Dial("nonoh")
else
sys.GoogleVoiceCall("google voice account name",
"google voice password", "1747xxxxxxx", "#{req.URI.user}")
|
|