1、错误描述
freemarker.core.ParseException: Token manager error: freemarker.core.TokenMgrError: Unknown directive: #list on line: 17, column: 61, in template: map.ftl in map.ftl
at freemarker.template.Te...
分类:
其他好文 时间:
2014-06-20 13:21:25
阅读次数:
251
在一个经过旋转后的有序数组中查找一个目标元素。
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4
5 6 7 0 1 2).
You are given a target value to search...
分类:
其他好文 时间:
2014-06-20 13:06:31
阅读次数:
261
找到对应的网卡名称
使用命令:ipconfig
ipconfig/all
Windows IP Configuration
Host Name . . . . . . . . . . . . : D501-4-3
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . ....
在C/C++写网络程序的时候,往往会遇到字节的网络顺序和主机顺序的问题。这时就可能用到htons(), ntohl(),
ntohs(),htons()这4个网络字节顺序与本地字节顺序之间的转换函数:htonl()--"Host to Network Long int"
32Bytesntohl.....
分类:
其他好文 时间:
2014-06-11 09:58:25
阅读次数:
328
脚本 d:\dot.ps1 内容如下:$hostwrite-host
"hh"$m="pp"$a ="cc"通过 . 方式运行脚本 dot.sp1,如下:. d:\dot.ps1之后,脚本 dot.ps1中的变量
$m,$a都可以继续使用
分类:
其他好文 时间:
2014-06-11 08:55:38
阅读次数:
241
ASP.NET MVC 6.0,又称ASP.NET
vNext,比之从前的版本有了大规模的更新,几乎所有类库全部重写,本文基于Visual Studo 2014 CTP1创建ASP.NET
vNext,记录基本创建、self-host、IIS运行时遇到的问题。
分类:
Web程序 时间:
2014-06-11 08:44:50
阅读次数:
309
Suppose a sorted array is rotated at some pivot
unknown to you beforehand.(i.e.,0 1 2 4 5 6 7might become4 5 6 7 0 1 2).You are
given a target value t...
分类:
其他好文 时间:
2014-06-08 02:05:43
阅读次数:
311
# -*- coding: utf-8 -*- import socket import
sys port = 80 host = sys.argv[1] filename = sys.argv[2] soc =
socket.socket(socket.AF_INET, socket....
分类:
编程语言 时间:
2014-06-07 23:43:22
阅读次数:
320
一、替代arp, ifconfig, route等命令 显示网卡和IP地址
root@openstack:~# ip link list1: lo: mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 0...
分类:
其他好文 时间:
2014-06-07 20:32:00
阅读次数:
325
前言:cacti监控mysql服务器的大概50张graphs都弄出来了,也出图了,其中遇到一些问题,印象比较深刻的记录如下:(一):添加io监控 点击Create Graphs for this Host 进去创建IO的图,结果报错This data query returned 0 rows, perhaps there was a problem executing this data que...
分类:
数据库 时间:
2014-06-07 12:18:41
阅读次数:
457