l****z 发帖数: 29846 | 1 President Obama’s path to a second term may rely on states shaped by the
same social forces he embodies.
By Ronald Brownstein
Friday, January 7, 2011 | 6:05 a.m.
By any standard, white voters’ rejection of Democrats in November’s
elections was daunting and even historic.
Fully 60 percent of whites nationwide backed Republican candidates for the
House of Representatives; only 37 percent supported Democrats, according to
the National Election Poll exit poll conducted by Edison Research. Not even
i... 阅读全帖 |
|
l****z 发帖数: 29846 | 2 Jamie M. Fly — April 2012
Following the killing of American soldiers and the recent protests sparked
by the accidental burning of Korans by coalition forces, Republican
presidential candidate Newt Gingrich went so far as to suggest that the
United States should abandon Afghanistan unless the Afghans apologize,
adding that we should tell them, “figure out how to live your own miserable
life.” This is the increasingly frequent refrain of war-weary
conservatives who question President Barack Obama’... 阅读全帖 |
|
l****z 发帖数: 29846 | 3 作者:Edward Harrison 翻译:盛薇
2012-05-25 18:49:01
即使欧元区尚没有为成员国建立起一个正式的退出机制,即使大部分的欧洲选民都宁愿
保持欧元区的完整性,关于希腊退出欧元区的说法,依然会不绝于耳。其实,那些想让
希腊退出欧元区的人,自有他们的道理,因为对希腊来说,其经济和政治现状都很难长
久维系。本周五,针对希腊单方面退出欧元区可能性,我曾经发表了三张帖子,它们分
别是:《希腊单方面退出欧元区的情节展望》(Running through unilateral Greek
exit scenarios)、《希腊退出欧元区的方法和原因》(How and why Greece will
leave the euro zone)以及《希腊违约以及退出欧元区的政治经济学问题》(The
political economy of a Greek default (and euro zone exit))。现在,我还想再
补充几个要点。
如预料中一样,解决希腊问题的政治经济环境正在恶化。无论是希腊国内,还是欧元区
内,对于通过债务削减或紧急救助来帮助希腊逃过一劫... 阅读全帖 |
|
|
x*********s 发帖数: 5554 | 5 我是国内考完驾照一周来的美帝,一个月之内买车,NY用国内驾照可以开三个月,于是
我就开高速去中国店买菜了。
tomtom的GPS报地名比较有意思,高速上动不动就会来一嗓子:exit ahead,我当时又
不知道开车看路牌,以为直接听gps就行了,然后我就exit了,然后就要重新计算。7个
Miles,4个出口,然后我就悲剧了!
回来的时候,猛地想起来,以前坐人家车的时候,他们说过回来要从7号出口下,于是
我回来就对了,然后就清楚exit ahead是什么意思了
北京新司机第一年不可以走超车道(原则上,至少驾校老师讲的),所以我一直最右道
跟车,到没有什么危险,只是不停地exit ahead ......
一晃两年多,各种危险接踵而至,比如开车困了,然后就小憩了,然后就跨线被后车吵
醒。再比如拖着5尺的trailer,从辅路上高速的时候,哪怕地板油加速都缓慢,眼睁睁
的看着后面18轮一点点靠近。又比如开着开着一个事故车辆撞墙弹回与我擦肩而过。最
后比如眼前突然出现一只火鸡,我就傻了,直愣愣的撞上,然后前灯就坏了。
开车很危险,大家要谨慎。
50km/
。。
速第 |
|
g********d 发帖数: 19244 | 6 ☆─────────────────────────────────────☆
lxy52136 (sunny) 于 (Sun Nov 3 14:24:24 2013, 美东) 提到:
11月4日update:出事地点的卫星地图贴在了84楼
出事地点在INTERSTATE95 52至51这段路上(车已过52号出口准备从51下)
我家买的保险是全保,自己这边修车要掏500元
68楼我放了事故报告单,第4页67楼是我马赛克我家车牌后的3张事故后的照片
对方被撞情况,我问了一下老公,前边撞坏,侧身没看
老公前天晚上7:30左右自己一人驾车从高速开车回家,离出口还有1迈左右的距离后,
换lane到最右侧车道,当继续行使半迈左右后和一车发生碰撞,当时老公觉得车内有很
强的压迫感,自己有清醒的意识大概在出事5、6秒后,发现一车飞快的从他右侧飞奔儿
去,我老公觉得他车速度之快,可能要逃跑,下意识的开车去追,但那车在前方不远处
的紧急停车带上停下了,我老公把车停在他后面。这人下车后十分惊慌,在等警察的时
候问我老公是不... 阅读全帖 |
|
k*****n 发帖数: 9823 | 7 ☆─────────────────────────────────────☆
exit (EXIT) 于 (Tue Apr 8 21:29:31 2008) 提到:
虽然Budget还在向LD申请,有待批准:),我还是想先了解一下可能的配置。
我初步打算用500刀,包括耳机耳放。耳放我觉得现在群购的那个就不错,(如果
budget及时批准),我就打算加入群购了。请大家推荐一下性价比高的耳机/耳放的配
置。其实我对Hifi的音响也很感兴趣,不过限于现在的居住条件,先入手耳机。
我现在还在学习Hifi的过程中,很多东西不是很懂。这次是我第一次买Hifi的耳机,主
要用于听音乐,古典流行都有。对了,Hifi耳机是不是不考虑听电影的效果?
还有个问题,Hifi耳机一般都要配耳放吗?大家的音源一般是什么?电脑..电视..收音
机?hehe,一般听音乐什么音源比较好?
问题比较多,先谢谢了!我洗耳恭听。
☆─────────────────────────────────────☆
exit (EXIT) 于 (Tue Apr 8 21:34:43 2008) 提到:
对 |
|
c**********e 发帖数: 2007 | 8 这个Strategy design pattern的例子为什么人为得弄得这么复杂?
#include
#include
#include
using namespace std;
class Strategy;
class TestBed
{
public:
enum StrategyType
{
Dummy, Left, Right, Center
};
TestBed()
{
strategy_ = NULL;
}
void setStrategy(int type, int width);
void doIt();
private:
Strategy *strategy_;
};
class Strategy
{
public:
Strategy(int width): width_(width){}
void format()
{
char line[80], wo... 阅读全帖 |
|
s*********k 发帖数: 15 | 9 三十中旬, 年收入二十万, 在大公司七年抗战做上了产品经理, 一周四十个小时,
ld年收入十万, 两个人工作稳定,四口之家, 生活压力不大, 每年积蓄投资都稳定
上涨。 手上产品都是非常边缘化的东西,刚开始入行的热情已经不存在, 现在公司
的大腿被消弱不能再像以前那样提拔自己, 部门也从高速发展变成了循规蹈矩, 最近
一次洗牌后, 有了混吃等死的感觉, 白天工作开始梦游。
一直觉得自己能说能写能卖能设计能码,虽然没有一项是一流高手,作为多面手更适合
在小公司一把抓, 社会主义一块砖, 哪里需要哪里搬。 相对来说, 自己中二的性格
和情商, 在成长型公司相对来说没有那么吃亏。
得到一个机会在startup做产品经理, 收入会降到十五万, 股份另算。 这个公司不
到四十人,两年寿命, 今年刚拿下了一千多万的series A, 一水白人, 少许老中没有
阿三。 领域说来凑巧, 跟我在家自己刚开始捣鼓的一个app居然是同一个领域, 如
果把我这个hobby project拿出来, 再表现的热情洋溢一些, 拿下来的机会不小。
但工作时间,强度,压力,估计都会大很多, 钱直接砍了四分之一... 阅读全帖 |
|
s******x 发帖数: 15232 | 10 看图说话:
他们到达在G
下来后随大家一起走到INTERNATIONAL TERMINAL MAIN HALL入境,过海关,重新托运行
李给UA,然后人走那个CONNECTING FLIGHTS EXIT(如果走错了从INTERNATIONAL
ARRIVALS EXIT出来了也不要紧,往上一层就可以回到CONNECTING FLIGHTS EXIT那一侧
了)
出了CONNECTING FLIGHTS EXIT以后朝左走,去F,安检,进去,就都是UA的GATE了。 |
|
b****l 发帖数: 95 | 11 Thank you for your information.
北京出发到芝加哥5号航空楼出来有两个出口,A和B。我只去过B踩过点。不知A和B出口
之间隔多远?
Which exit does the CO 850 arrive in Terminal 5 in Chicago airport? I only
visit exit B the day when I was in Chicago airport, and unforunately the
CO850 plane from PEK to ORD was cancelled. How far is exit A and Exit B? |
|
d*****1 发帖数: 123 | 12 那个所谓的木马是批处理文件,人家的源码都给了,用EXEScript打包的。垃圾杀软就
这样。
sigh
附上源代码:
@Echo Off
COLOR 2F
Set Prog=老毛桃制作的 WinPE 专用安装工具
Set L1= ╭══════════════════╮
Set L2= ║ ║
Set L3= ╭══┤ %Prog% ├══╮
Set L4= ║ ║ ║ ║
Set L5= ║ ╰══════════════════╯ ║
Set L6= ║ ║
Set L7= ╟════════════════════════╢
Set L8= ║ 版权所有:老毛桃 仅供网友们交流 翻版不究 ║
Set L9= ╰————————————————————————╯
Title %Prog%
Set PEFile=WinPE.IS_
Set PEIni=外置程序\WinPE.INI
Set LogFile=PEIn... 阅读全帖 |
|
L****n 发帖数: 12932 | 13 a market correction during a bull trend is not a bad thing, providing you
don't sink your capital along with it:-) We long a stock believing it is in
a bull trend, any sign of deviation from the trend/formation calls for a
immediate exit. unusual selling volume, making lower low ect.
and this is why option is so difficult, for stocks you can take a small loss
and exit, but for options, the window of exit is so slim, i have yet to see
some one who can make a graceful exit after a bad turn. My Sep... 阅读全帖 |
|
c*****r 发帖数: 8227 | 14 EU Official: Greek Exit Plans Discussed
BRUSSELS—The European Commission and the European Central Bank are drawing
up plans should Greece abandon the euro, Trade Commissioner Karel De Gucht
said in an interview published Friday, the first time a senior European
Union official has acknowledged such preparations.
The ECB and the commission are "working on emergency scenarios in case
Greece doesn't make it," Mr. De Gucht said in an interview with the Flemish
newspaper De Standaard. Phone calls to M... 阅读全帖 |
|
g*****c 发帖数: 4378 | 15 Weekdays: Enter between 6 AM - 4 PM
Up to 1 hr: $10
Up to 2 hrs: $14
Up to 3 hrs: $18
Up to 10 hrs: $23
24-hour maximum charge: $28
Evening Rate: Enter between 4 PM - 6 AM AND exit by 8 AM
Pay just $12 when you enter the Garage after 4 PM and exit before 8 AM.
Weekend Rate:
Enter after 6 AM on Saturday or Sunday and exit by 8 AM the next morning...$
12
Enter after 6 AM Saturday and exit by 8 AM on Monday...$24 |
|
m********n 发帖数: 1602 | 16 This large parking lot is conveniently located near the junction of I70/
CO470/US6/93, by the Jefferson County government building. It is safe, and
empty in weekends. Address:
100 Jefferson County Parkway Golden, Colorado 80419
Direction to the parking lot:
If you come from Denver on 6th Ave, turn right at Johnson, then left into
the parking lot.
If you come from Boulder on 93/6, turn left at Johnson, then left into the
parking lot.
If you come from CO-470, take 6th East exit, go straight into ... 阅读全帖 |
|
l**i 发帖数: 22 | 17 new place: smith middle school
Route 2 East to Exit 6. At end of exit take a left onto Griswold Street. Stay on Griswold Street for a couple of miles. After a sharp curve you come to a stop sign. Take a left at the stop sign. Continue on to the next stop sign. Take a right onto Addison Road. Follow Addison Road to the four-way intersection and Smith School will be on your left.
Route 2 West to Exit 8. Take a right at the light at the end of the exit ramp. Then take an immediate right at the next |
|
A*F 发帖数: 2272 | 18 westfield milford: exit 39B off I-95
westfield trumbull: exit 48 off CT-15
premium outlet clinton: exit 63 off I-95
tanger outlet mall westbrook: exit 65 off I-95 |
|
t**********p 发帖数: 2672 | 19 周六 5/28 Cucamonga Peak
集合时间: 8:15 AM
集合地点:
http://goo.gl/maps/nCE6
GPS Coordinates: 34.13898, -117.70730
计划周六早上8:15am 在山下停车场集合,最晚等到8:30am。 集合地点是地图中的A点.
本次路线难度偏高些,全程12英里,爬高4300英尺。 但因为是原路往返,所以不用担
心体力,根据自己情况决定,能走多少算多少。
大不了就学老牛,找块大石头睡一觉,等登顶的人返回,再一起下山去吃喝腐败.
具体情况请参考下面的链接http://www.simpsoncity.com/hiking/cucamonga.html
停车需要的Forest Adventure Pass,可去Big 5, Sports Authority, REI, 或可以在
路上经过Mt baldy village的ranger station时买到,
请自备:
- 2升水和1升运动饮料
- 简单午餐, 零食, 能量棒
- 长袖,长裤, 防风外套
- 登山鞋, 登山杖
- 防晒霜, 太阳眼镜, 帽子
有对讲机的请带... 阅读全帖 |
|
s*****5 发帖数: 69 | 20 找网上驾校,版上推荐gototrafficschool.com, 找历史题目贴,安全通过。final
Exam只能考两次有点紧张,但一次就过了,现将最后考试题目回馈mitbbs.
Congratulations!
You passed the final exam!
You got 25 questions correct.
Review the Correct Answers
1. Diamond lanes, with the exception of motorcycles and certain hybrid
vehicles in California, are reserved for vehicles with:
A. children
B. the elderly
Correct C. two or more people
D. four or more people
2. ________ refers to speeding without realizing it.
A. highway hypnosis... 阅读全帖 |
|
s*******u 发帖数: 34 | 21 我来自外州,两周前经过LA租了两天车。今天刚收到租车公司通知,要我额外付 metro
express lane 违规的手续费。我还没有收到 metro express 的罚款通知。
我记得是在回机场时从110转405,最先看到的405 airport exit的标记是在最右侧, 当
时不知道是express lane, 所以急忙从最右侧向左侧并道,快到express lane时才出现
405普通道的 airport exit标记,当时已经来不急再换到最右侧,所以只好
继续在110 开,直到下个出口才拐出去。我没有上 405 Express lane exit,最多是在往
那里并道时临时开到110 express lane,但为了能在下个出口出110,我肯
定是马上换到了靠右侧的普通道上。
我第一次在LA开车,对路况很不熟, 110 转 405 airport exit 标示很误导人。我当时
来回
并线就很危险,最后宁愿错过出口也没有强行上405。
我的问题时,
1,此是否为moving ticket?
2, 我常住外州,在LA的违规如果不处理,是否会影响我本州的记录?
请有过相似经验的... 阅读全帖 |
|
p**********u 发帖数: 15479 | 22 蒂娜这样档次的上海经典款熟女,还真没有上过。她是完美的一套打法,叫蒂娜策略。
简单说,搞过最优化的人都知
道,有个叫KKT condition。简单说,不管怎么去找mr right。首先你要define what
is mr right。所以她列了蒂娜10条。KKT大概是6条。
简单说,你去遇见男人,然后如果男的不满足10条,pass。如果男的满足10条,就要求
exit。就是deal了。所以她是遇见符合10条的就劈腿逼婚。这个在数学的最优化里面=
exit。但是,你要exit,人家男的不愿意。那就move on,再找下一个。所以她claim,
4次迭代就找到了解。在数学家,KKT的贡献比张亿唐,就是数学张,牛逼的多了。
这个是大层面的。然后具体说,她搞了一个蒂娜算法。就是说,她通过高调搞活动+高
调征婚,来快速拉拢男生。然后又是在家吃饭,直接红酒一喝,blu ray电影一看就滚
床单了。所以她迭代快,高阶迭代而且是保证收敛的迭代。然后直接问exit,就是逼婚
求接盘。可惜她不擅长做局,要是类似 Houston那个女油工,直接衬衫挂床头,那才叫
精彩。问题是houston的很多女油工,... 阅读全帖 |
|
p**********u 发帖数: 15479 | 23 你要是在湾区生活过,这些地名大致就相当于坐Bart一站一站的站名。并不是类似上海
昆山苏州无锡常州丹阳镇江这样的意思。芝加哥毕竟也是900多万人口。总要有些地名
组成吧?只不过是地处三州交界。南边就算了Gary hammond是Indiana。北边就是那个
Kenosha是Wisconsin的。确实没有多算。
然后就像你说的,gdp产出和大三藩东西南北加起来700多万人一样。但是,政治资源消
耗要小太多太多了!没有亚裔细分。没有上厕所。没有gay marriage。黑人也没有杀过
exit 53。杀到northwestern university。全部的媒体,都集中在三藩的赵美心,
perosi,都集中在三藩庇护的非法移民,lgbt。
GDP没贡献多少,国家快要被拆了!
: 兄弟,一看你就是没在芝加哥工作生活过。wiki的list,大致就是芝加哥最南边
的地方
: Dan Ryan expressway起点在Gary。Gary是出过Michael Jackson。但是那是最穷
困的纯
: 黑人区。跟非洲的黑人组成%差不多。这样沿着Dan Ryan expres... 阅读全帖 |
|
d******n 发帖数: 12850 | 24 晚上5-7点从北往南方向 exit 13开始堵到exit 5,尤其是exit 9到5之间那是一片猪红
色的堵,天天回家287从北往南堵着走的黯然飘过,幸好我才堵几个exit就出来了。 |
|
H********k 发帖数: 3950 | 25 for you, you should take PP.
I take back roads, 9W saves a lot of gas-miles.
GS is way too far. forget it.
Even PP takes a big chunk of wasted real estate, but since you are not
familiar with the area. DO take exit 13, PP South.
The next trick, is at the very end of PP.
Stay on PP after exit 1, when the next big fork comes up, take the LEFT.
(the right branch is to GW bridge, BAD idea)
then you end up on local for 3 lights. go straight, fear not.
after the third light, stay right, take 46.
46 w... 阅读全帖 |
|
H********k 发帖数: 3950 | 26 我再重复一遍。。。
for you, you should take PP.
I take back roads, 9W saves a lot of gas-miles.
GS is way too far. forget it.
Even PP takes a big chunk of wasted real estate, but since you are not
familiar with the area. DO take exit 13, PP South.
The next trick, is at the very end of PP.
Stay on PP after exit 1, when the next big fork comes up, take the LEFT.
(the right branch is to GW bridge, BAD idea)
then you end up on local for 3 lights. go straight, fear not.
after the third light, stay right, tak... 阅读全帖 |
|
s****b 发帖数: 21 | 27 Shoppers will find a unique opportunity in outlet shopping. Both centers are
located in Jeffersonville, Fayette County, approximately 45 miles between
Columbus and Cincinnati, just off I-71. Ohio Factory Shops is at Exit 65 and
Jeffersonville Outlet Center is at Exit 69. While only four exits separate the
outlet malls, the stores are different at each.
I think the one at Exit 69 is better. |
|
E**********y 发帖数: 991 | 28 做了下research,发现本堡的park n ride还是很多很方便的,贴出来供大家参考。
Allegheny County Park-n-Ride Facilities
Allegheny County Airport-Lebanon Church Rd-West Mifflin
Alpine Village-Rt 286 near Rt 22-Monroeville
Ardmore Blvd at Avenue B-Forest Hills
Bethel Park LRT Sta-Brightwood Rd at Lytle Rd-Bethel Park
Beulah Presbyterian-McCrady Rd at BeuIah Rd-Churchill
Blade Runners Ice Complex-Marshall Dr-Warrendale
Castle Shannon LRT Sta-Castle Shannon Blvd-Castle Shannon
Castle Shannon Memorial Hall-Rt 88-Castle Shannon
Centu... 阅读全帖 |
|
w********2 发帖数: 6204 | 29 大家最近被229的断桥困扰
我经常路过那里,比较熟悉,把我平时走的路和大家分享一下,觉得有用的赏俩包子吧!
第一种走法,就是跟着指示的detour走,耗时从30分钟至90分钟不等
1. Head north on I-5 N
1.0 mi
2. Take exit 227 for WA-538 E/College Way
0.2 mi
3. Turn right onto WA-538 E/E College Way
0.2 mi
4. Take the 2nd left onto Riverside Dr
0.6 mi
5. Continue onto S Burlington Blvd
0.5 mi
6. Turn left onto George Hopper Rd
0.2 mi
7. Turn right to merge onto I-5 N toward Vancouver B.C.
第二种走法,比较保险,但是有时候第一条线路压力大的时候,巡逻的州警会把流量疏
通到这里。
1. ... 阅读全帖 |
|
d****0 发帖数: 263 | 30
Tysons Corner, VA
1.
Head northwest on Leesburg Pike toward Pinnacle Dr
About 1 min
go 0.4 mi
total 0.4 mi
2.
Turn right onto Westpark Dr
About 1 min
go 0.4 mi
total 0.8 mi
3.
Turn left onto VA-684 N/International Dr
Continue to follow VA-684 N
About 1 min
go 0.4 mi
total 1.2 mi
4.
Take the ramp to VA-267 E
Toll road
go 331 ft
total 1.3 mi
5.
Keep left at the fork and merge onto VA-267 E
Partial toll road
About 1 min
go 0.8 mi
total 2.1 mi
6.
Take the Interstat... 阅读全帖 |
|
s*****p 发帖数: 5342 | 31 据称Exit 15哪个最好.Exit 9 and 11 也各有一个. Exit 9是元老,较比脏. Exit 11最
新,而且可以把车推出来.所以买米,买西瓜之类的,一个人的话,最好去哪.贵点就贵点吧. |
|
s****r 发帖数: 31686 | 32 By wiki, I believe it is very important.Also when it is much easier to see
on low mag than higher mag, at the two situations, only exit pupil are
drastically different
QUota from wiki:
To use an optical instrument, the entrance pupil of the viewer's eye must be
aligned with and be of similar size to the instrument's exit pupil. This
properly couples the optical system to the eye and avoids vignetting. (The
entrance pupil of the eye is the image of the anatomical pupil as seen
through the cornea... 阅读全帖 |
|
i**r 发帖数: 998 | 33 1). Why the delay in reporting Tressel's violations?
It was crystal clear on Jan. 13 that Tressel had knowingly played ineligible
players throughout the 2010 season, but Enforcement wasn't notified for
nearly three weeks, until Feb. 3, the day after National Signing Day.
2). Do you want to be affiliated with someone like Tressel?
Ohio State makes the case in its response to the NCAA Notice of Allegations
that it suffered a serious penalty by taking "decisive action against a very
successful coac... 阅读全帖 |
|
f*****o 发帖数: 2526 | 34 大母体,你告诉我,5号路上,从SF到LA,只有两条lane,你前面两辆车,车速只有40
,你往哪儿躲?
按你的智力水平,就是找个exit下去,是吧?
你好好研究研究5号路的地形,你好好看看,有几个exits是你只要一下去,就能成功脱
身的。
你能提前知道哪个exit会有人,哪个exit下去了其实人更少????? |
|
c**2 发帖数: 8496 | 35 3-hour is enough.
1. If they are admitted and then transfer in IAD, then they will recheck
baggage after customs and then get into terminal C directly. You can meet
in terminal C (so you don't leave the secured area after getting off your
plane, and assume you don't need to pick up checked bags).
2. If IAD is their final stop, they will exit at the main terminal
international arrival and you can meet them at the exit, so you exit the
secured area and meet them at the international arrival exi... 阅读全帖 |
|
t****g 发帖数: 35582 | 36 做不到partner的exit option一般般。到5-6年的associate的时候你得billing rate太
高,firm里的partner一般不愿意用你(除非是做litigation的),procecution那边反正
就是写patent,说白了一个新人和一个老人区别不甚大(关键问题还是procecution的业
务门槛太低)。
退路无非就是被逼退做consultant或者去大公司去做in house。前者基本上就是不干活
不拿钱的内退,后者现在越来越不好找了,有财力搞得起in house的high tech公司没
几个,尤其是如果搞生物方面的patent law的话,pharm公司现在日子就不好过了,未
来十年难说有什么起色。
还有就是看事情不能用今天的人的exit option来设想你将来的exit option。今天就在
exit的人都是十年前甚至更早就入行的,那时候的竞争少的多。今天你再跑进去,进去
的时候竞争激烈,出来的时候竞争一样激烈。 |
|
u****s 发帖数: 2186 | 37 一般来说
上高速是这个exit
下高速是下个exit
上高速都是one way,不能上不来再下去
下高速可以下不去,到下一个exit再出去
建议lz画个示意图,或告诉一下是哪条高速,哪个exit |
|
A******u 发帖数: 1279 | 38 这个算编程吗?
#!/bin/bash
# Author: Amorphou
# Oct 2010
# grepfwd $pattern $infile $linenumber1 $linenumber2 $outfile
# for each occurence of a pattern, grep forward by $linenumbers
# Without a 5th arg, save to files fwdgrep.$int by default
# defaults
((linenumber1=0))
((linenumber2=0))
FILES="fwdgrep"
SED=/bin/sed
if [ "$#" -lt "2" -o "$#" -gt "5" ]
then
echo "USAGE: $0 pattern infile linenumber1 linenumber2 [optional]outfile"
exit 0
fi
if [ "$#" -ge "3" ]
then
if echo "$3" | grep "^[0-9]*$"... 阅读全帖 |
|
Z***e 发帖数: 3693 | 39 新手单独上高速,没人指路,认路会是个问题。
这里给个Tip
事先查好路线(可到http://www.mapquest.com )。
然后把在哪儿换路写到Post Sticker上。一个路口
用一张Sticker。
例如:
1. 81N Exit 6 to 70E
2. 70E Exit 128-A to 35N
以上两条写在两张Sticker上。字写大些,容易辨认。
把所有的Sticker按顺序排好。上路时,把Sticker
贴在方向盘中间。过一个路口,揭掉一张Sticker。
另外快到你的出口时,注意出口是在左边还是右边。
提前换道,做好准备。
_________
| EXIT 6 |
|-----------------
| SOMEWHERE |
| |
出口在左边。
_________
| EXIT 6 |
-----------------|
| SOMEWHERE |
| |
出口在右边。
祝你旅途顺利 |
|
b******e 发帖数: 432 | 40 # For this function, I think the original one is semantically wrong.
# Based on the description, I think it always needs to print to STDERR.
# However, when the option is not STDERR, it needs to print to STDOUT as
well.
#
# Besides, I may improve it by add some the restrict to input or add more
match pattern to the option, Ex:
# 1. I may trim the $option before compare.
# 1. The input option might be 'stderr', I may modify it to .
# 2. There might no input option, or no input message.
s... 阅读全帖 |
|
a*o 发帖数: 19981 | 41 根本不需要什么telnet,直接enable SSH就行,scp这两个文件上去/tmp:
mtd-write
new_cfe.bin
然后跑哥这个script:
#!/bin/sh
nvram get bl_version
cat /dev/mtd0 > ./old_cfe.bin
echo
echo Old CFE content:
strings old_cfe.bin | grep -e mac -e secret
echo
# Sanity checks
[ "`strings old_cfe.bin -o | grep t0mac | awk '{print $1}'`" != "2306" ] &&
(echo unsupported cfe rev;exit)
[ "`strings old_cfe.bin -o | grep 0:mac | awk '{print $1}'`" != "3132" ] &&
(echo unsupported cfe rev;exit)
[ "`strings old_cfe.bin -o | grep 1:mac | awk '{pr... 阅读全帖 |
|
r*****l 发帖数: 2859 | 42 1, 下面的code运行结果会怎么样? Assume you don't have java in handy to test
run it.
2, 如果面试被问到,怎么回答呢?
try {
char[] cs = {'a', 'b'};
String s = null;
s = s.copyValueOf(cs);
System.out.print(s);
} catch (NullPointerException e) {
System.exit(1);
} catch (Throwable e) {
System.exit(2);
}
Note: "copyValueOf" is a static method of String class.
1, prints out "ab"
2, exit with "1"
3, exit with "2" |
|
b***i 发帖数: 3043 | 43 System.exit(0); 在main里面呼叫还是在UI线程里面呼叫?
现在程序开始后,我是应该用一个semaphore锁定main,不继续执行,等待用户进行UI
操作,直到用户决定退出,点击退出按钮,我这个时候释放semaphore,回到main执行
System.exit(0)呢?还是main里面直接结束, 没有System.exit(0),但是在UI线程里
面呼叫 System.exit(0)好呢? |
|
c*******t 发帖数: 13 | 44 $ man 1 grep
EXIT STATUS
Normally, the exit status is 0 if selected lines are found and
1
otherwise. But the exit status is 2 if an error occurred, unless
the
-q or --quiet or --silent option is used and a selected line is
found.
Note, however, that POSIX only mandates, for programs such as
grep,
cmp, and diff, that the exit status in case of error be greater than
1;
it is therefore advisable, for the sake of portability, to use
logic
|
|
|
r*****8 发帖数: 2697 | 46 simple tutorial:
You start the screen program by typing "screen" at the command prompt.
Screen first creates an initial window and places you inside of it.
To create a new window, and be placed inside of it, type "CTRL-a c". (Hold
down the control key and typing a, then type c for "create.") Now you have
two virutal windows, and you are in the second one you created.
To navigate back to the first window, type "CTRL-a spacebar." Type it again,
and you return to the second window. CTRL-a spacebar ... 阅读全帖 |
|