关于手动触发router,之前看到的例子都是通过在url后面加上#xxx或者点击一个a链接方法来触发,还有一种情况是通过触发一种规则,来触发另一种规则(表述无能),比如这个例子中,我在url后面加上#manual,url的地址就转变为xxxx/route/n ,这里由于只给navigate传了一个参...
分类:
Web程序 时间:
2014-09-16 00:13:29
阅读次数:
304
创建一个package(包)声明:createorreplacepackagempay_routeis procedure or function declare;endmpay_route;实现:createorreplacepackagebodympay_routeisprocedure or ...
分类:
其他好文 时间:
2014-09-15 12:36:48
阅读次数:
171
1. #apt-get install python-pip #pip install?? flask vi?? run.py from?flask?import?Flask
app?=?Flask(__name__)
@app.route(‘/‘)
def?hello_world():
????return?‘Hello?World!‘if?__name_...
分类:
其他好文 时间:
2014-09-14 16:46:57
阅读次数:
169
原题地址:https://oj.leetcode.com/problems/gas-station/题意:There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You ha...
分类:
编程语言 时间:
2014-09-14 11:19:36
阅读次数:
221
获取当前URL获取当前URL有两种方式,URL::current()或URL::full(),区别是返不返回GET参数如Route::get('/current/url',function(){returnURL::current();});输入/current/url?foo=bar时只显示htt...
分类:
其他好文 时间:
2014-09-13 21:21:45
阅读次数:
247
有志不在年高,有证不在数量
思科Cisco认证、ADOBE认证、微软认证、印度AIIT认证、华为认证、IBM认证等……在各种“证”满天飞的时候,如何独具慧眼选择最有含金量的证书?
现在,K2认证考试来了!...
分类:
其他好文 时间:
2014-09-12 17:22:13
阅读次数:
195
关于 angular service factory provider 方面有很多,我也来写一篇加深下印象。provider 是一切方法的基础,所以功能也最强,provider 用来定义一个可以被注入的服务,其实就是一个依赖注入的模块。已ng-route 为例var ngRouteModule = ...
分类:
其他好文 时间:
2014-09-12 13:25:53
阅读次数:
220
AmazonRoute 53是一项高可用性及高可扩展性域名服务(简称DNS),其中还包括一项强大的运行状况检查服务。如今,我们利用域名注册与管理以及基于地理位置的DNS支持能力对Route
53进行了深度扩展。我们还对Route 53查询价格进行了下调!现在就让我们近距离一探这些项目的价值所在。
域名注册与管理
早在1995年,我就注册了自己的第一个域名!在那个时候,域管理与注册的方方...
分类:
其他好文 时间:
2014-09-12 12:02:43
阅读次数:
231
【题目】
There are N gas stations along a circular route, where the amount of gas at station i is gas[i].
You have a car with an unlimited gas tank and it costs cost[i] of gas
to travel from sta...
分类:
其他好文 时间:
2014-09-10 10:58:30
阅读次数:
216