- 浏览: 13333 次
- 性别:
- 来自: 杭州
最新评论
文章列表
phpStorm使用技巧总结
- 博客分类:
- php
1,从版本控制系统创建项目:
CVS -> Checkout from Version Control
2, 关联DOC文档:
右键External Librariese -> Configure PHP include paths
3, 去掉波浪线:
settings -> Editor -> Colors & Fonts -> General -> TYPO->Effects
4, 显示行号:
settings -> Editor->Appearance->Show line numbers ...
1、判断apache首先执行命令找到httpd路径ps aux | grep httpd如httpd路径为 /usr/local/apache/bin/httpd然后执行以下命令/usr/local/apache/bin/httpd -V | grep “SERVER_CONFIG_FILE”即可找到编译时加载的配置文件路径 httpd.conf-V 参数可以看到编译时配置的参数
2、判断
Configured following lines in web.xml for servlet:
<init-param>
<param-name>detectAllHandlerExceptionResolvers</param-name>
<param-value>false</param-value>
</init-param>
===================================explain for the ex ...
How to install memcached on CentOS with memcached PHP extension on CentOS
Published: Wed, 08/29/2012 - 8:46am
Updated: Wed, 06/19/2013 - 12:22am
We'll need the following:
memcached ( http://memcached.org/ ) Current Version at time of writing: memcached v1.4.15 date: 2012-9-3
l ...
现在做的网站需要保存用户上传的图片,同时需要进行压缩和图片切割等特殊效果的处理。
一开始我们用的是JMagick+ ImageMagick处理用户上传的图片,但是存在一个非常严重的问题,Tomcat在跑了大概10天左右后会crash掉,异常内容为:
Java代码
magick.MagickException: Unable to retrieve handle
从表象看,应该是没有释放ImageMagick的句柄导致的,查找API后发现程序中没有调用
2007-09-20: The easiest way, by far, is to use "server side includes" in your HTML. Almost all web servers support this, except for free web hosting companies. This is overwhelmingly the preferred way to go. And the same exact syntax works for ASP and ASP.NET sites. For webmasters who pref ...
腾讯微信技术总监周颢:一亿用户增长背后的架构秘密
- 博客分类:
- 技术
<iframe src="http://hits.sinajs.cn/A1/weiboshare.html?url=http%3A%2F%2Fwww.csdn.net%2Farticle%2F2012-05-15%2F2805581&type=3&count=&appkey=&title=%E5%BE%AE%E4%BF%A1%E2%80%94%E2%80%94%E8%85%BE%E8%AE%AF%E6%88%98%E7%95%A5%E7%BA%A7%E4%BA%A7%E5%93%81%EF%BC%8C%E5%88% ...
function distance($lat1, $lng1, $lat2, $lng2, $miles = true)
{
$pi80 = M_PI / 180;
This month I’ve been programming quite a bit in PHP and MySQL with respect to GIS. Snooping around the net, I actually had a hard time finding some of the Geographic calculations to find the distance between two locations so I wanted to share them here.
If you remember ‘the old days’ of calculating ...
浅谈网络语音技术
当我们使用像Skype、QQ这样的工具和朋友流畅地进行语音视频聊天时,我们可曾想过其背后有哪些强大的技术在支撑?本文将对网络语音通话所使用到的技术做一些简单的介绍,算是管中窥豹吧。
一.概念模型
网络语音通话通常是双向的,就模型层面来说,这个双向是对称的。为了简单起见,我们讨论一个方向的通道就可以了。一方说话,另一方则听到声音。看似简单而迅捷,但是其背后的流程却是相当复杂的。我们将其经过的各个主要环节简化成下图所示的概念模型:
这是一个最基础的模型,由五个重要的环节构成:采集、编码、传送、解码、播放。
计算机技术总是在朝着功能更强大、使用更方便的方向发展,用户的需求永远都是技术前进的动力。ASR和TTS的出现,让人和计算机的距离更加靠近,人机接口更加自然。由于技术(识别率不够高)和人们习惯上的原因,ASR离真正的普及还有一段距离。但是,在通信领域,由于CTI的广泛应用,计算机技术不断融入通信平台,这项技术正在如火似涂的发展、普及。VoiceXML就是一个很好的例子,它的应用就是以ASR和TTS作为基础的。
ASR,英文的全称是Automated Speech Recognition,即自动语音识别技术,它是一种将人的语音转换为文本的技术。语音识别是一个多学科交叉的领域,它与声学、语音学 ...
Note that the types that you can save to and restore from a Bundle are primitive types and objects that implement the Serializable interface
When your activity is stashed, an Activity object does not exist, but the activity record object lives on in the OS.
Widgets are the building blocks you use to compose a user interface. A widget can show text or graphics, interact with the user, or arrange other widgets on the screen. Buttons, text input controls, and check boxes are all types of widgets.
The Android SDK includes many widgets that you can co ...
You can use the following command from adb:
adb shell am activity/service/broadcast -a ACTION -c CATEGORY -n NAME
for example:
adb shell am broadcast -a android.intent.action.BOOT_COMPLETED -c android.intent.category.HOME -n package_name/class_name
Note that class name and package name ...
语音引擎:
SPIRIT DSP: TeamSpir移动语音引擎
GOOGLE:gips(global ip solutions)
GIPS移动语音引擎(GIPS VoiceEngine Mobile)将支持Android手机操作系统的VoIP应用开发
开源:
speex