<?php
function getweather($city){
$url="http://www.weather.com.cn/weather1d/".$city.".shtml";
$result=file_get_contents($url);
$arr=explode("",$result);
$arr1=explode("",$arr[1]);
$wt= mb...
分类:
Web程序 时间:
2014-08-19 09:26:13
阅读次数:
165
相当于VC6里的.dsw和.dsp.Net解决方案下 .sln文件和.suo文件的解释:When a Web site is created, a solution file (.sln) and a hidden solution user options file (.suo) are crea...
分类:
其他好文 时间:
2014-08-19 09:21:33
阅读次数:
170
/********************************************************************@file Main_practise.cpp@date 2014-8-19@author Tiger@brief 範例:複製字串@de...
分类:
其他好文 时间:
2014-08-19 09:18:23
阅读次数:
191
./emulator: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory你用的是64位的系统吧?应该是缺少 lib32stdc...
分类:
移动开发 时间:
2014-08-19 07:07:23
阅读次数:
296
deb是debian linus的安装格式,跟red hat的rpm非常相似,最基本的安装命令是:dpkg -i file.debdpkg 是Debian Package的简写,是为Debian 专门开发的套件管理系统,方便软件的安装、更新及移除。所有源自Debian的Linux发行版都使用dpkg...
分类:
其他好文 时间:
2014-08-19 00:58:33
阅读次数:
281
在cocos2d-x中集成百度语音识别的时候,运行build_native.py会把libs/armeabi目录清空。 以下是解决办法,把so文件放在jni/prebuilt里面。 修改Android.mk文件,主要有两行`include $(CLEAR_VARS)` ``` LOCAL_PAT...
分类:
移动开发 时间:
2014-08-18 23:42:43
阅读次数:
488
下载地址:http://plugins.jquery.com/blueimp-file-upload/文档地址:https://github.com/blueimp/jQuery-File-Upload/wiki本文只是一个demo,实现功能也很简单:点击一个上传按钮,用户选择图片,图片Ajax上传...
分类:
Web程序 时间:
2014-08-18 23:27:43
阅读次数:
424
D:\BaiDuYun\Plist>python unpack_plist.py lobbyRelieveTraceback (most recent call last): File "unpack_plist.py", line 70, in gen_png_from_plist( p...
分类:
编程语言 时间:
2014-08-18 23:21:13
阅读次数:
720
删除操作: 删除光标所在的字符删除光标所在的单词删除光标至行尾所有字符删除光标至行尾所有字符删除当前行改变与替换操作:替换光标所在字符替换字符序列替换一个单词替换一个单词替换光标所在的前一个字符/替换自光标位置至行尾的所有字符替换当前行查询:向后(下)查询abc向前(上)查询abc向后(下)继...
分类:
其他好文 时间:
2014-08-18 21:53:22
阅读次数:
246
{ "cmd" :["C:/Lua/Lua.exe","$file"], "file_regex" :"^(?:lua:)?[\t](...*?):([0-9]*):?([0-9]*)", "selector" :"source.lua"}{ "cmd" :["node","$file"], "fi...
分类:
编程语言 时间:
2014-08-18 20:27:52
阅读次数:
186