#常用命令ip link show #显示链路ip addr show #显示地址(或ifconfig)ip route show #...
分类:
其他好文 时间:
2015-06-29 23:55:56
阅读次数:
248
hbase遇到问题及解决方法1.zookeeper启动报错错误日志启动zookeeper报错信息如下:java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSo...
分类:
其他好文 时间:
2015-06-29 17:51:27
阅读次数:
162
安装的说明请看文档, laravel 安装 #基本路由 你将在 app/Http/routes.php 文件定义大部分路由, 这些路由将被App\Providers\RouteServiceProvider 类所装载. 最基本的laravel路由仅仅包含一个URI和 闭包。 Route::get('...
分类:
其他好文 时间:
2015-06-28 21:30:26
阅读次数:
228
Yesod获取静态文件和带参数的Route渲染...
分类:
其他好文 时间:
2015-06-27 10:08:05
阅读次数:
129
用于SSH登陆这个设备bridge irbbridge 1 route ip 开启路由功能interface BVI1ip address 10.15.106.44 255.255.255.0 自己的地址!ip default-gateway 10.15.106.1 网关ip forward-pro...
分类:
系统相关 时间:
2015-06-25 17:04:21
阅读次数:
392
Gas Station
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 f...
分类:
其他好文 时间:
2015-06-22 11:09:12
阅读次数:
95
from flask import Flask, render_template, gapp = Flask(__name__)@app.route("/")def index(): return render_template("index.html")# run in under twis...
分类:
其他好文 时间:
2015-06-21 23:42:16
阅读次数:
244
下载文件Bottle文件下载还是使用static_file这个模块,只是多加了一个参数:download=True,还是看例子吧![root@jubottle]#catdownload.py
#!/usr/bin/envpython
#coding=utf-8
frombottleimportroute,run,view,static_file
@route(‘/download/<filename:path>‘)
defdo..
分类:
Web程序 时间:
2015-06-21 15:58:27
阅读次数:
589
HTTP请求方法HTTP协议有很多种请求方法。route默认使用GET方法,只响应GET请求。method参数可以给route()函数指定使用哪种方法。或用get(),post(),put()或delete()等函数来代替route()函数。POST方法一般用于HTML表单的提交。下面是一个使用POST来实现用户登录的例子:[root@j..
分类:
Web程序 时间:
2015-06-20 22:17:44
阅读次数:
980
Linux系统的route 命令用于显示和操作IP路由表(show/manipulatetheIProutingtable)。要实现两个不同的子网之间的通信,需 要一台连接两个网络的路由器,或者同时位于两个网络的网关来实现。在Linux系统中,设置路由通常是为了解决以下问题:该Linux系统在一.....
分类:
系统相关 时间:
2015-06-19 14:54:24
阅读次数:
164