码迷,mamicode.com
首页 >  
搜索关键字:use    ( 28727个结果
net.sf.json.JSONException: 'object' is an array. Use JSONArray instead
list集合转换JSON出错误意思是:对象”是一个数组。使用jsonarray取代。解决方法:将JSONObject替换为JSONArray代码:JsonConfig jsonConfig = new JsonConfig();jsonConfig.setCycleDetectionStrategy ...
分类:Web程序   时间:2016-04-09 20:24:40    阅读次数:200
ERROR: While executing gem ... (Encoding::UndefinedConversionError) U+7CFB to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437,当你执行gem 命令时,提示如上信息解决方案如下。
when you use gem install package ,the result:ERROR: While executing gem ... (Encoding::UndefinedConversionError) U+7CFB to IBM437 in conversion from U ...
分类:其他好文   时间:2016-04-09 19:03:17    阅读次数:801
seaJS
1. seajs是用来进行模块化管理,将每一个功能当做是一个功能模块,在模块之间运用require进行连接,类似于java/C++/C等语言中的类。 2. 在文件html 的尾部引入入seajs的文件,调用seajs.use("main.js");main.js时文件的主功能模块的js文件部分。 d ...
分类:Web程序   时间:2016-04-09 18:47:56    阅读次数:191
PHP and laravel知识点小小积累
function () use ($x, &$y){} 自从PHP5.3开始有了closure/匿名函数的概念,在这里的use关键词的作用是允许匿名函数capture到父函数scope 内存在的$x和$y变量。其中&&y为引用方式capture,也就是说每次该匿名函数调用时,y的值如果 被修改了也反 ...
分类:Web程序   时间:2016-04-09 00:20:14    阅读次数:194
yii添加行的增删改查
效果图: 控制器: <?phpnamespace backend\controllers;use Yii;use yii\web\Controller;use backend\models\Zhan; class IndexController extends Controller{ //显示页面 ...
分类:其他好文   时间:2016-04-08 10:22:14    阅读次数:157
Sql2008事务日志已满处理
处理方式: -- 将数据库设为简单模式 alter database IGMS20150202 set recovery simple -- 查看日志 use IGMS20150202 dbcc shrinkfile('IGMS20150202_log') --恢复数据库模式 alter datab... ...
分类:数据库   时间:2016-04-08 10:15:02    阅读次数:179
msqlserver 千万级别单表数据去掉重复记录使用临时表
由于上周末小写把数据数据重复写入数据库,没办法,得去重! 最新使用的语句: use data set nocount ondelete DoRecordProperty from( select TID,SN,COUNT(0) as num,Max(id) as maxid from DoRecor ...
分类:数据库   时间:2016-04-08 08:57:18    阅读次数:194
azure blobs
https://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-how-to-use-blobs/ ...
分类:其他好文   时间:2016-04-08 00:54:11    阅读次数:156
Nyoj Arbitrage(Floyd or spfa or Bellman-Ford)
描述Arbitrage is the use of discrepancies in currency exchange rates to transform one unit of a currency into more than one unit of the same currency. F ...
分类:其他好文   时间:2016-04-08 00:38:29    阅读次数:211
CoAP协议笔记[RFC7252]
1. What is CoAP “The Constrained Application Protocol (CoAP) is a specialized web transfer protocol for use with constrained nodes and constrained net ...
分类:其他好文   时间:2016-04-07 20:50:37    阅读次数:1293
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!