Objective-C determine data network type of the iOS device
分类:
移动开发 时间:
2014-07-19 19:01:26
阅读次数:
443
创建软链接即用ln-s原始文件或文件夹目标文件或文件夹说明:因为空间有限,不改变原来程序文件,再继续读取/data/ftp目录内容,只需要在/data2/上面建立软连接.例:#建立软链接mv/data/ftp/data2/ln-s/data2/ftp/data/ftp#删除软连接#当删除链接文件时,如果不小心会把原始文件删..
分类:
系统相关 时间:
2014-07-19 16:32:30
阅读次数:
275
jQuery代码经典片段1. 如何修改jQuery默认编码(例如默认UTF-8改成改GB2312): $.ajaxSetup({ajaxSettings:{ contentType:"application/x-www-form-urlencoded;chartset=GB2312"} });2. ...
分类:
Web程序 时间:
2014-07-19 13:36:32
阅读次数:
391
Sharepoint2010配置form认证方式(SQL账号)一、准备工作:1、首先我们创建我们form认证中所需要的数据库。找到aspnet_regsql.exe,一般在C:\Windows\Microsoft.NET下,根据操作系统进行选择。因为本人是win2008R2x64,所以打开目录为C:\Windows\Microsoft.NET\Framework64\v2...
分类:
数据库 时间:
2014-07-19 12:17:24
阅读次数:
407
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the valu...
分类:
其他好文 时间:
2014-07-19 12:13:13
阅读次数:
254
// Create an item within a specified group,// bound to a specified data field with the specified editorprivate LayoutControlItem CreateItemWithBoundEd...
分类:
其他好文 时间:
2014-07-19 12:05:19
阅读次数:
1815
首先内部存储路径为/data/data/youPackageName/,下面讲解的各路径都是基于你自己的应用的内部存储路径下。所有内部存储中保存的文件在用户卸载应用的时候会被删除。一、files1. Context.getFilesDir(),该方法返回/data/data/youPackageNa...
分类:
移动开发 时间:
2014-07-19 11:20:53
阅读次数:
260
1、配置:mongod --dbpath=D:\MongoDB\data mongo2、基本的增删查改 find() update()-- 整体更新,局部更新。 修改器: $inc db.person.update({"age":23},{$inc:{"salary":1000}})...
分类:
数据库 时间:
2014-07-19 11:17:44
阅读次数:
250
Grid是ExtJS中最常用的组件之一,今天在此稍作整理,主要针对一些常用的功能知识点。一、基础的Grid表格Ext.create(‘Ext.data.Store‘,{
storeId:‘simpsonsStore‘,
fields:[‘name‘,‘email‘,‘phone‘],
data:{‘items‘:[
{‘name‘:‘Lisa‘,"email":"lisa@simpsons.com","phone":"555-..
分类:
Web程序 时间:
2014-07-19 02:42:05
阅读次数:
293
国家气象局提供的天气预报接口
接口地址:
http://www.weather.com.cn/data/sk/101010100.html
http://www.weather.com.cn/data/cityinfo/101010100.html
http://m.weather.com.cn/data/101010100.html
webservice工厂接口 http://www.36wu.com
快递查询接口 http://webservice.36wu....
分类:
移动开发 时间:
2014-07-19 02:27:16
阅读次数:
309