// 强制不换行
div{
white-space: nowrap;
}
// 自动换行
div{
word-wrap: break-word;
word-break: normal;
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# pcap2wav | |
# Original Author: Michael Collins <msc@freeswitch.org> | |
#Standard disclaimer: batteries not included, your mileage may vary... | |
# Updated by Avi Marcus <avi@bestfone.com> | |
# | |
# Accepts arg of pcap file w/only 2 RTP streams | |
# Creates a .<codec> file and a .wav file | |
# For codecs other than PCMA and PCMU the script calls fs_cli and does a little recording to create the wav file(s) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# pcap2wav | |
# Original Author: Michael Collins <msc@freeswitch.org> | |
#Standard disclaimer: batteries not included, your mileage may vary... | |
# Updated by Avi Marcus <avi@bestfone.com> | |
# | |
# Accepts arg of pcap file w/only 2 RTP streams | |
# Creates a .<codec> file and a .wav file | |
# For codecs other than PCMA and PCMU the script calls fs_cli and does a little recording to create the wav file(s) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function formatTimestamp() { | |
var timestamp = new Date(); | |
var year = timestamp.getFullYear(); | |
var date = timestamp.getDate(); | |
var month = ('0' + (timestamp.getMonth() +1)).slice(-2); | |
var hrs = ('0' + timestamp.getHours()).slice(-2); | |
var mins = ('0' + timestamp.getMinutes()).slice(-2); | |
var secs = ('0' + timestamp.getSeconds()).slice(-2); | |
var ms = timestamp.getMilliseconds(); |
// 父页面中
// html
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
- 一行代码如果可能会出现在两个地方,那么请把它写成一个函数
解决方法安装Windows7补丁:KB3008923; 下载地址: http://www.microsoft.com/en-us/download/details.aspx?id=45134 (32位) http://www.microsoft.com/zh-CN/download/details.aspx?id=45154 (64位)
NewerOlder